{"$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":"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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"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":"ClawdbotAgentService.startCodexAppServer (cyclomatic 140): ClawdbotAgentService.startCodexAppServer has cyclomatic complexity 140 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 103 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5554}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea36d2f73e3b67ca550fffdc2e9d6d67dcd43bdbc5db0af26324d65719bc70"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.startReservedAgent (cyclomatic 128): ClawdbotAgentService.startReservedAgent has cyclomatic complexity 128 (threshold 15). Of this number, 125 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/clawdbot-agent-service.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60e148339e97987b93f32498ebbba22453e83f6cefe913d30aec031508823c2"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskCard.TaskCard (cyclomatic 125): TaskCard.TaskCard has cyclomatic complexity 125 (threshold 15). Of this number, 94 points are the body\u0027s own statements and 31 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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ee6750911d034415ab4dea15ba69fdf2ef08a7c4d5dde2ee61fc1c2bdc6c84"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPanel.AgentPanel (cyclomatic 121): AgentPanel.AgentPanel has cyclomatic complexity 121 (threshold 15). Of this number, 84 points are the body\u0027s own statements and 37 belong to 16 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"00beb579ef346ffad7dae7ea52b32036d03ef7d4afae0ed2ba371c2e09354018"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.registerAgentCommands (cyclomatic 119): agents.registerAgentCommands has cyclomatic complexity 119 (threshold 15). Most of this is not in the body itself: 1 of the 119 points is its own statement and the rest belongs to 23 function literals inside it that branch (lines 904, 814, 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":"cli/src/commands/agents.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"118c7fd238ab5da34276408a113c282768e8dc5a6d5981346067e8531490e77b"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskWorkView.TaskWorkView (cyclomatic 108): TaskWorkView.TaskWorkView has cyclomatic complexity 108 (threshold 15). Of this number, 87 points are the body\u0027s own statements and 21 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c766ada3d49f5405ef5fc783697def34e02ba65d145530ccf3cdc18bbfc4b1b8"}},{"ruleId":"D1","level":"warning","message":{"text":"RunLaunchCompiler.compile (cyclomatic 105): RunLaunchCompiler.compile has cyclomatic complexity 105 (threshold 15). Of this number, 101 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/run-launch-compiler.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a3613ead03e3477fb8d5336c7f374de579d0f238e28bd3918a5c904763021a"}},{"ruleId":"D1","level":"warning","message":{"text":"NeedsAttentionQueue.buildNeedsAttentionItems (cyclomatic 95): NeedsAttentionQueue.buildNeedsAttentionItems 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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b860f0a2a6cb97200d8f3bb78405430e2c7bc2c0c28acba55c499cf851d4727"}},{"ruleId":"D1","level":"warning","message":{"text":"Header.Header (cyclomatic 94): Header.Header has cyclomatic complexity 94 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 49 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":"web/src/components/layout/Header.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b95b610318384791abcaa590d23db4170c2fb44661f989b7e53d7ce44f67a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskService.updateTaskMutation (cyclomatic 91): TaskService.updateTaskMutation has cyclomatic complexity 91 (threshold 15). Most of this is not in the body itself: 6 of the 91 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 908, runMutation, a function literal at line 1093, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/task-service.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b61a0454b73dc00d9ab69eeba5d0cab1be10f1f0045d61db045bebca3722f46"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanBoard.KanbanBoard (cyclomatic 91): KanbanBoard.KanbanBoard has cyclomatic complexity 91 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 55 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":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"be51eade6978f133b93a911a15a3db9aa0fb340602c3c0aafc29db2bc7781678"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunTimelinePanel.AgentRunTimelinePanel (cyclomatic 88): AgentRunTimelinePanel.AgentRunTimelinePanel has cyclomatic complexity 88 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 28 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d7ec1bd16ff8f34c5a55537a11015fcd329168fa76ed170779a5c7262e3f88"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiUserTab.MultiUserTab (cyclomatic 85): MultiUserTab.MultiUserTab has cyclomatic complexity 85 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 61 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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dc638d7d7ddc8c9cd53cdad36e9b0a1e96ccd7e98eb7fded9215171c37abb9"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskCard.areTaskCardPropsEqual (cyclomatic 82): TaskCard.areTaskCardPropsEqual 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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"920184a1935699c54280f477a94ee1c10e26e5537473dce425feae1cfc797b33"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunTimelinePanel.buildAgentRunTimelineEvents (cyclomatic 79): AgentRunTimelinePanel.buildAgentRunTimelineEvents has cyclomatic complexity 79 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"de30e8424761c0439390d77b1d44b9f143596a7f4e3fc4e89c155ef3eb858fa1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.startClaudeCode (cyclomatic 77): ClawdbotAgentService.startClaudeCode has cyclomatic complexity 77 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 48 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6479}}}],"partialFingerprints":{"codehealthFindingId/v1":"af23869c281f37e23b672d49c1892db8d4c4d75d263ae63f84b4613272a9a81e"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoringProfiles.ScoringProfiles (cyclomatic 74): ScoringProfiles.ScoringProfiles has cyclomatic complexity 74 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 53 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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80f4f5ca3c1d3029302cca7167bc85d25797cb6786668b07cfe08df36bfb028"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskDetailPanel.TaskDetailPanel (cyclomatic 74): TaskDetailPanel.TaskDetailPanel has cyclomatic complexity 74 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 28 belong to 18 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56358bdc81285e06b8c7de091873dc732d0b9bc05c2cbaad51539493b239356"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateTaskDialog.CreateTaskDialog (cyclomatic 73): CreateTaskDialog.CreateTaskDialog has cyclomatic complexity 73 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 40 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":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce6eccdba086a31c2b486fa68f27551e304304c0fa6ea39a60c0ef97e2db7be"}},{"ruleId":"D1","level":"warning","message":{"text":"RunSessionSharesSection.RunSessionShareView (cyclomatic 72): RunSessionSharesSection.RunSessionShareView has cyclomatic complexity 72 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 22 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a697bdcd29149c0a5cd1cb5c55cf6b8602da98157b2dea106a9663abb9b5cb"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionControlService.admitInternal (cyclomatic 71): AdmissionControlService.admitInternal has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ad01f7f7c477e90d4203af9e5ecf5a10d668690f3f2ef255fb1e83160be4e4"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStatusIndicator.AgentStatusIndicator (cyclomatic 68): AgentStatusIndicator.AgentStatusIndicator has cyclomatic complexity 68 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 33 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":"web/src/components/shared/AgentStatusIndicator.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50ecf0af78a9e8b47558d1830170418854d97fe79361bbe77b0208610b70ea5"}},{"ruleId":"D1","level":"warning","message":{"text":"server.wss.on(\u0022connection\u0022) (cyclomatic 65): server.wss.on(\u0022connection\u0022) has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 5 of the 65 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 898, sendRunEvent, a function literal at line 1176, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/server.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"027b3ec33482e629fdb3d1a12e060d0308b9310d030a0b0b907623295bec50af"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.rewindLocked (cyclomatic 61): FileWorkspaceCheckpointRepository.rewindLocked 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f54d78eab0f0335913d99f1f86980f969d491f33e930e44aab4cf3bfe07c74"}},{"ruleId":"D1","level":"warning","message":{"text":"ConflictResolver.ConflictResolver (cyclomatic 61): ConflictResolver.ConflictResolver has cyclomatic complexity 61 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 28 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eed6ec2578a5c6321e95c2578cbbd4a12ed9591a77156706ded90d5bd1516a2"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeStatus.WorktreeStatus (cyclomatic 61): WorktreeStatus.WorktreeStatus has cyclomatic complexity 61 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47d458982e48176f1fa5c0396c509d06757ba1446caf0056cf1e439b460f126"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationActivationService.claimRun (cyclomatic 55): AutomationActivationService.claimRun has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 3 of the 55 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 497, 519, 662). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"069c7fd8a147e672d8243c7b2525ac3a325d6e061147053a0c2ecfb05f685b64"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 55): CommandPalette.CommandPalette has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 12 of the 55 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 402, a function literal at line 140, handleKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1638949be5c114ebd310242723f1149d41bc37b9e0771c37b2fc7a384d9d09"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchivePage.ArchivePage (cyclomatic 54): ArchivePage.ArchivePage has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 12 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 295, a function literal at line 111, handleBulkRestore, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f3f42200037eeabb2a47ea345da17260190b441c7b618ca415545ee77d7106"}},{"ruleId":"D1","level":"warning","message":{"text":"run-launch-manifest-schemas.RunLaunchManifestSchema (cyclomatic 52): run-launch-manifest-schemas.RunLaunchManifestSchema 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/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deda831b54d52506b798a3af3ba9630fc0abdf94868c5b96260fd9787adc215"}},{"ruleId":"D1","level":"warning","message":{"text":"RunAccessSummaryService.project (cyclomatic 52): RunAccessSummaryService.project has cyclomatic complexity 52 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move 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-access-summary-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe860a00de1f8d4cfc220baa779555611ba3660d11489aaa48028db9988e89e"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewPanel.PreviewPanel (cyclomatic 52): PreviewPanel.PreviewPanel has cyclomatic complexity 52 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/PreviewPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"923948cf706d215d70c61c1d57d4f950646cc00ff64a4defa4aa09252e6d9a75"}},{"ruleId":"D1","level":"warning","message":{"text":"SquadChatPanel.SquadChatPanel (cyclomatic 51): SquadChatPanel.SquadChatPanel has cyclomatic complexity 51 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 27 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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"60209fd1dab76187288dda51a6fe50c2ceefa78f80993c92888084cab7cc0501"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkProductsSection.WorkProductsSection (cyclomatic 51): WorkProductsSection.WorkProductsSection has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 10 of the 51 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 329, saveEdit, downloadArtifact, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15c6bfb6a665fe6efa4b6995972570043e7199bd5099f3404ee6555fb10af4e"}},{"ruleId":"D1","level":"warning","message":{"text":"useKeyboard.KeyboardProvider (cyclomatic 50): useKeyboard.KeyboardProvider 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 3 function literals inside it that branch (lines 119, 61, 142). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useKeyboard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97439246904bd958ab3cd2bdfe042b6b62610e6e5bfc3a582013c465edaac6d"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopShellContext.DesktopShellProvider (cyclomatic 49): DesktopShellContext.DesktopShellProvider 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 literals inside it that branch (lines 227, 155, 327, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"443d4708e547d8a329a16daefc651034efb60b621d9ea9252b69e7200e1ec6c8"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsTab.SandboxPoliciesSection (cyclomatic 48): AgentsTab.SandboxPoliciesSection has cyclomatic complexity 48 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 22 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ee7ed15712d1e663d034319b496858d421e15a3ee11690eae95d233dcea8d"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterBar.FilterBar (cyclomatic 48): FilterBar.FilterBar has cyclomatic complexity 48 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 18 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cad39d89ffab79298a1b93959dae149928b3d0aa4d59e35ae71c7a9c2aa9d1"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowAuthoringService.lintDefinition (cyclomatic 47): WorkflowAuthoringService.lintDefinition 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/workflow-authoring-service.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"3632c6c0bfc13e0b313b62b04ed23f0e9ad89fcc7e4931e40d6a9340c383b2f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPanel.ChatPanel (cyclomatic 47): ChatPanel.ChatPanel has cyclomatic complexity 47 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 27 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"676df5dba83d8ea48d3b1828542e284e8947d59e70f2661843cba0222c674a48"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowAuthoringPanel.WorkflowAuthoringPanel (cyclomatic 46): WorkflowAuthoringPanel.WorkflowAuthoringPanel has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 15 of the 46 points are its own statements and the rest belongs to 16 function items inside it that branch (saveWorkflow, materializeRecipe, runBuilderDryRun, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc857c73ce28ea36503110a817ed8a29a74b3d6321bb4e4211ab0af25f8acf4c"}},{"ruleId":"D1","level":"warning","message":{"text":"useTaskMetrics.aggregateMetrics (cyclomatic 46): useTaskMetrics.aggregateMetrics 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":"web/src/hooks/useTaskMetrics.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"489923cc49d7ce3dcb71e746c6a21e8ccd383451f0b414ee4bd95f3bafa68354"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-app-server-adapter.classifyCodexAppServerServerRequest (cyclomatic 45): codex-app-server-adapter.classifyCodexAppServerServerRequest 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/codex-app-server-adapter.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"14859d448aaece3040c68ccc561ca116ad3059706a654ab772df614d6a6caaa0"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.handleStepFailure (cyclomatic 44): WorkflowRunService.handleStepFailure 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/workflow-run-service.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92f8ca3af062be7751f838572463e1875a0c430b96259671b7e79b8646b731a"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerTab.SchedulerTab (cyclomatic 44): SchedulerTab.SchedulerTab has cyclomatic complexity 44 (threshold 15). Of this number, 18 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":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aaefb0f7bc64acba0423add2eae968a139d83107b4b8b721b0c078a586df45"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard.Dashboard (cyclomatic 44): Dashboard.Dashboard has cyclomatic complexity 44 (threshold 15). Of this number, 39 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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72562951daa6a4136f967a45d2d2f4b649117d3bacd94d7913d5cb13b3bb7b6"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.registerAdmissionCommands (cyclomatic 42): admission.registerAdmissionCommands 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 8 function literals inside it that branch (lines 163, 47, 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":"cli/src/commands/admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd9f1eb66d5e1a36e64efd7838fe6cdf4d7bbfa0f30f65a47e1fe5854784e94"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.capture (cyclomatic 42): FileWorkspaceCheckpointRepository.capture has cyclomatic complexity 42 (threshold 15). Of this number, 40 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbe615fdb4b715e8d07d0dc2874168da069822ae6427311ce8d063066af40ac"}},{"ruleId":"D1","level":"warning","message":{"text":"scheduler.registerSchedulerCommands (cyclomatic 41): scheduler.registerSchedulerCommands has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 6 of the 41 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 173, 300, 43, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/scheduler.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f371181fc5fd3bc9b9d615eafc3a0a9dd287e1540e86b0452cb95d05fcebf472"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeService.mergeWorktree (cyclomatic 41): WorktreeService.mergeWorktree 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 one function literal inside it that branches (line 799). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90299447510f398b8be0b1e0db87c953a088f0df80faf0ac785960973923fee"}},{"ruleId":"D1","level":"warning","message":{"text":"NeedsAttentionQueue.NeedsAttentionQueue (cyclomatic 41): NeedsAttentionQueue.NeedsAttentionQueue has cyclomatic complexity 41 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 24 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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cd18758cb243cd2fc9ba851ff8d32513cb50b0f2b67c2c6107f2de881da0d7"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyManager.PolicyManager (cyclomatic 41): PolicyManager.PolicyManager has cyclomatic complexity 41 (threshold 15). Of this number, 16 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":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1d9417d68efd711b2a0eff18ed79e1fbafaa2b2ae8b0881339e6cb6777cb41"}},{"ruleId":"D1","level":"warning","message":{"text":"harness-support-service.evaluateHarnessSupportStatus (cyclomatic 40): harness-support-service.evaluateHarnessSupportStatus 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/harness-support-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36aebc227fcf1255044dccabd2928b531d675d4059604cc7c969b1a2141d179"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchDialog.SearchDialog (cyclomatic 40): SearchDialog.SearchDialog 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 9 function items inside it that branch (executeTarget, a function literal at line 388, a function literal at line 193, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f9848ee1c8056fe7612d9dd092060e5e4e114def67dac3afb3b21e6cec95ba"}},{"ruleId":"D1","level":"warning","message":{"text":"tasks.registerTaskCommands (cyclomatic 39): tasks.registerTaskCommands 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 6 function literals inside it that branch (lines 148, 21, 59, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/tasks.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ee17a46917a0f1fc29d48803ffc6209bdb7eb769ecd1ef1aaab1c415066035"}},{"ruleId":"D1","level":"warning","message":{"text":"harness-support-profile-registry.normalizeHarnessSupportProfile (cyclomatic 39): harness-support-profile-registry.normalizeHarnessSupportProfile 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/harness-support-profile-registry.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d4a2e7e317fb0c4cbf7044607c013942d47eeca50d28e75adff2054455fbe0"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-run-event-mappers.itemKind (cyclomatic 39): provider-run-event-mappers.itemKind 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/provider-run-event-mappers.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c48fe0be24fdc98246722425cb0f101b7eb060c1ad872f1a4a83a53eddc65b"}},{"ruleId":"D1","level":"warning","message":{"text":"gateway-chat-client.sendGatewayChat (cyclomatic 39): gateway-chat-client.sendGatewayChat 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 6 function literals inside it that branch (lines 100, 61, 71, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/gateway-chat-client.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"816d39c08605aa611611499621746bfcbf9ac527b740ce5f7c73b2fcdea028fb"}},{"ruleId":"D1","level":"warning","message":{"text":"task-readiness.buildDefaultChecks (cyclomatic 39): task-readiness.buildDefaultChecks 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":"shared/src/utils/task-readiness.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0653580c49d6a6f5eb83d6458627e49861d3dab55329fd7624dda135e44edfe4"}},{"ruleId":"D1","level":"warning","message":{"text":"credential-broker-service.containsCredentialMaterial::visit (cyclomatic 38): credential-broker-service.containsCredentialMaterial::visit 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/credential-broker-service.ts"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b57ada32ac74ebae5b2b7a5dc781be30bba5c012f9c4260ac3d053ce4cf04"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolControlPlaneService.invoke (cyclomatic 38): ToolControlPlaneService.invoke has cyclomatic complexity 38 (threshold 15). Of this number, 33 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/tool-control-plane-service.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a204ffd3b1890a850315b34f508fcbce3272453407356323ae0a264e9c0eace4"}},{"ruleId":"D1","level":"warning","message":{"text":"DigestService.generateOperationsDigest (cyclomatic 38): DigestService.generateOperationsDigest has cyclomatic complexity 38 (threshold 15). Of this number, 30 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/services/digest-service.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf908e3e61b75aa109c87a132f7177db51e3cd3d10f48c195b1a634ef0f55ab1"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationsTab.NotificationsTab (cyclomatic 38): NotificationsTab.NotificationsTab has cyclomatic complexity 38 (threshold 15). Of this number, 35 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":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5316ba646c808be66451012749a45a8f12da30209d3674c925dacbde90b4b930"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationsDigestPage.OperationsDigestPage (cyclomatic 38): OperationsDigestPage.OperationsDigestPage has cyclomatic complexity 38 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ad3ee2852613780e1c1c6d6139e5f301963c0572771650c6d1b05770789eb7"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewPanel.ReviewPanel (cyclomatic 38): ReviewPanel.ReviewPanel has cyclomatic complexity 38 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcebbb220c3c9ff39edef6ec7d358ca6104a14394f154b9495c7558f5ab2605"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplateEditorDialog.TemplateEditorDialog (cyclomatic 38): TemplateEditorDialog.TemplateEditorDialog has cyclomatic complexity 38 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 22 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":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94b8d547d0fe62e1ebeae79a74147ccef39653ff2f48f76c2077a9c00f3d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"phase-capability-service.compilePhaseCapabilityAuthority (cyclomatic 37): phase-capability-service.compilePhaseCapabilityAuthority 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/phase-capability-service.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"890754b21cf46aa473a94f225da01eb2290736ca7b6f95ed28c3b75184a4ae14"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.startCodexCli (cyclomatic 37): ClawdbotAgentService.startCodexCli has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 9 of the 37 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 7327, 7262, 7248, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa78381df1e5d51f8da4a36c180ba6429b01954cf2aef65a03bc9dab7603728a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsTab.RoutingRuleForm (cyclomatic 37): AgentsTab.RoutingRuleForm has cyclomatic complexity 37 (threshold 15). Of this number, 26 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e35a22383f3452315cf2794cd445a1df403bdd85eb126034878546cec353f1"}},{"ruleId":"D1","level":"warning","message":{"text":"transition-hooks-service.checkGate (cyclomatic 36): transition-hooks-service.checkGate 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/transition-hooks-service.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ee15391c3a8b8feb1c76acf978a0c1427764691fb9b8683e28fb6c1d614eae"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolControlPlaneService.prepareRunCatalog (cyclomatic 36): ToolControlPlaneService.prepareRunCatalog has cyclomatic complexity 36 (threshold 15). Of this number, 21 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/tool-control-plane-service.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4300a71f8f25449d029eeac31c1ec961d8d05754ad4e6a27d2bf8aaef6896784"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.executeRun (cyclomatic 36): WorkflowRunService.executeRun 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/workflow-run-service.ts"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3df0d4b26fd81106630f123b49dd781a7284aad8a4721cb5a640013b1cd3237"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopOnboarding.DesktopOnboardingPanel (cyclomatic 36): DesktopOnboarding.DesktopOnboardingPanel has cyclomatic complexity 36 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 13 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":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf338292ad675856f056d2ac997ecd9932d9108fd5d45f36f6b442ef4ac3272"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzConnectionPanel.BuzzConnectionPanel (cyclomatic 36): BuzzConnectionPanel.BuzzConnectionPanel has cyclomatic complexity 36 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"34323b23f99a71f87bd79cf9a33cb0059e02c43d0eaf9f170d07beb30542dc40"}},{"ruleId":"D1","level":"warning","message":{"text":"BulkActionsBar.BulkActionsBar (cyclomatic 36): BulkActionsBar.BulkActionsBar has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 10 of the 36 points are its own statements and the rest belongs to 8 function items inside it that branch (handleMoveToStatus, handleArchiveSelected, handleMoveToBacklog, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BulkActionsBar.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ee3ab76481ca7c3dd4b54caf366191832089c6e5fecb5c812124200d2eeae6"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskMetadataSection.TaskMetadataSection (cyclomatic 36): TaskMetadataSection.TaskMetadataSection has cyclomatic complexity 36 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 16 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":"web/src/components/task/detail/TaskMetadataSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"633010c8d66f1e4aa2958defc23d93f09b440aa277bed0a42f1872bde9a56604"}},{"ruleId":"D1","level":"warning","message":{"text":"admission-control-schemas.AdmissionQueueEntrySchema (cyclomatic 35): admission-control-schemas.AdmissionQueueEntrySchema 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/schemas/admission-control-schemas.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2135c4561c372e0a375ea61d7f3cc383fd4f79da70debfc3a6acbed9dddb0ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceCheckpointRewindPreviewService.preview (cyclomatic 35): WorkspaceCheckpointRewindPreviewService.preview has cyclomatic complexity 35 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-checkpoint-rewind-preview-service.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d758d71558b263974f654990d382148856807673d9e96006c9d2f74abec85ff"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge-collection-repository.assertKnowledgeProposalTransition (cyclomatic 35): knowledge-collection-repository.assertKnowledgeProposalTransition 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"072cc410ae282d70fa15f496047ec8d8b69ff3823260d0daf4175890dc9f0a68"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardSidebar.AgentStatusPanel (cyclomatic 35): BoardSidebar.AgentStatusPanel has cyclomatic complexity 35 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 12 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":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c555b1c6f2c4467c574c497fa11ebf0dbb77164d6cd04a5ec1079ccb2934ae"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionExplorer.DecisionExplorer (cyclomatic 35): DecisionExplorer.DecisionExplorer has cyclomatic complexity 35 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 17 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3f06bc4fee750ed11e3a4f43778d406a4359605ed8b7c9abc27e7327bdfb50"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSection.WorkflowSection (cyclomatic 35): WorkflowSection.WorkflowSection 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 9 function items inside it that branch (a function literal at line 201, a function literal at line 161, handleStartWorkflow, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0094fa3a61d3357bf996734db01168acc767a5d4ec690a554b8d7a985ac064b1"}},{"ruleId":"D1","level":"warning","message":{"text":"openclaw-gateway-rpc.waitForOpenClawRun (cyclomatic 34): openclaw-gateway-rpc.waitForOpenClawRun has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 91, a function literal at line 73, lookup). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/utils/openclaw-gateway-rpc.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0066ad6d3ace982bce4eb3974de4f80c61de90c81ff8e1073dac21e0442fa0bb"}},{"ruleId":"D1","level":"warning","message":{"text":"run-launch-manifest-service.collectBlockers (cyclomatic 34): run-launch-manifest-service.collectBlockers 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move 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-launch-manifest-service.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ebaa9a25704917bf5ced280c7a3bf3098bcbe1adf05e462a657325eb5a56c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowService.validateWorkflow (cyclomatic 34): WorkflowService.validateWorkflow 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/workflow-service.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e53cdfb1567f9e93dc6e1a1b25b4d51b0e8ddad601c89ec29647abd74d0e687"}},{"ruleId":"D1","level":"warning","message":{"text":"dashboard-metrics.computeAllMetrics (cyclomatic 34): dashboard-metrics.computeAllMetrics has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 100, 293). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67a45050e12576f2e93cd939af0ce4fdfc0c23cd5865429c31c36960443c0f4"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzDefinitionImportService.importPersona (cyclomatic 34): BuzzDefinitionImportService.importPersona 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 3 function literals inside it that branch (lines 1221, 1248, 1296). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b20c026eb4dbe4000ddb0bdd63fcd845e779bca6831e96611c61aad2342be71"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginScreen.LoginScreen (cyclomatic 34): LoginScreen.LoginScreen has cyclomatic complexity 34 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 14 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":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b75a288235a4d309c3557ad28e8fb372162a9ccfe8d29d53363d72d68ed26"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsTab.AgentForm (cyclomatic 34): AgentsTab.AgentForm 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bb14689c0fd1df5577956f490a82017c5fea4db279bc82151d6f1a307779a5"}},{"ruleId":"D1","level":"warning","message":{"text":"RunModeGateSection.RunModeGateSection (cyclomatic 34): RunModeGateSection.RunModeGateSection 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 (handleQaRequiredToggle, handleQaPassToggle, handleRunModeChange, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c4dce9d0d79080286bead3fff1d83cc3d92c046e3cdba0b78278dd3123a7ed"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowAuthoringService.lintPipeline (cyclomatic 33): WorkflowAuthoringService.lintPipeline has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1c2a7f000e11d8c0af89113dc2b81668fc46ba185b96ba70f76b1bb2f800ea"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactPreviewModal.ArtifactPreviewModal (cyclomatic 33): ArtifactPreviewModal.ArtifactPreviewModal 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 6 function items inside it that branch (a function literal at line 55, download, openCausalEvent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a531c270a2754e622765ab8f44350bea6b77be84ba06a33c0b7c60b5a11b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"doctor.runDoctorChecks (cyclomatic 32): doctor.runDoctorChecks 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":"cli/src/commands/doctor.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e16fc102526fb0d07ac226c532e599de4479f357aaf7fc37982bcdf28f38b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"sprints.registerSprintCommands (cyclomatic 32): sprints.registerSprintCommands has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 106, 142, 37, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/sprints.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ed9e47124fb907c81d094289be3cff8adeec69bdb0a22bb9f5e4ccdeeb30d3"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionControlService.executionTreeBreakerEvidence (cyclomatic 32): AdmissionControlService.executionTreeBreakerEvidence 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f3954cf3da37ee0d716088e1f49eb2c30c99539072dc1f190a4b7e9bc4596"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.executeRunTerminal (cyclomatic 32): ClawdbotAgentService.executeRunTerminal has cyclomatic complexity 32 (threshold 15). Of this number, 25 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d333ae88fdff430762351a53f7102eefed7cf8696fac140786f69002778cd1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunicationAdapterService.reconcileBuzzDeliveries (cyclomatic 32): CommunicationAdapterService.reconcileBuzzDeliveries has cyclomatic complexity 32 (threshold 15). Of this number, 27 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/communication-adapter-service.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dd157203a0010bda8f3c5891655728e1ff02d28c67887ec4401af6f57289f6"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge-collection-schemas.KnowledgeIngestionProposalSchema (cyclomatic 32): knowledge-collection-schemas.KnowledgeIngestionProposalSchema 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/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e260ad122460e40fba3cdd53a19c7cde76987701223d273d810d93e7593e89c"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackersTab.TrackersTab (cyclomatic 32): TrackersTab.TrackersTab 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 14 function literals inside it that branch (lines 364, 215, 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":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95e84bfa4594dfcca7fb61da48039ac1b0c8d90ecf59e3f812870ebe11a82cf"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionQueuePanel.AdmissionQueuePanel (cyclomatic 32): AdmissionQueuePanel.AdmissionQueuePanel has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4a02e2a809f9551d2773552c7d77b08d7d97a245f467f26a665ad52fd8c519"}},{"ruleId":"D1","level":"warning","message":{"text":"RunAccessPanel.RunAccessPanel (cyclomatic 32): RunAccessPanel.RunAccessPanel has cyclomatic complexity 32 (threshold 15). Of this number, 23 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":"web/src/components/task/RunAccessPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ffba414a9150df777cd74dff4b6b34fffcd11fdd5ba45448e29390aafd8ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionControlService.projectQueueInspection (cyclomatic 31): AdmissionControlService.projectQueueInspection 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/admission-control-service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4b0ee4e57d4e5afeb8dfb09171a81a9dd33e9756f273398715f6d919a8f5c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationLifecycleService.assertCompatible (cyclomatic 31): ConversationLifecycleService.assertCompatible 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/conversation-lifecycle-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90b53747c30b08b45e52e05171c937ece1198bdb4290990c016d2af6727bb94"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupScreen.SetupScreen (cyclomatic 31): SetupScreen.SetupScreen has cyclomatic complexity 31 (threshold 15). Of this number, 21 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":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6c3ef84567a82a20eb017ce7f8657e331fb2d4dfd595736ed97b0c20b0e740"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunTimelinePanel.EventRow (cyclomatic 31): AgentRunTimelinePanel.EventRow 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bc391cd6a1abe4fe75480ab688d68acc77d6fcbe315f0b1a8ce75edff4adc3"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunView.WorkflowRunView (cyclomatic 31): WorkflowRunView.WorkflowRunView has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 203, handleDistillTemplate, 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":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd422026dc64552330b88b3663a45368d4454a43601781e14f13613f9829ddf"}},{"ruleId":"D1","level":"warning","message":{"text":"goals.registerGoalCommands (cyclomatic 30): goals.registerGoalCommands has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 102, 48, 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":"cli/src/commands/goals.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5969bcbdd603a323bb0fbf3d5990f79284e89d7114564e4ae24296f96b5e56b9"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteJournalMaintenanceService.executeScheduledOperation (cyclomatic 30): SqliteJournalMaintenanceService.executeScheduledOperation 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed28dd21f0cb4a06d4305047177563f7fb0a6a4460481e0fabe0b780ca74d40"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeService.buildCleanupPreview (cyclomatic 30): WorktreeService.buildCleanupPreview 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e7dc99cdcaec815d6ecb20a5590eb07117f9db15b1b9f4bc8ba90e6ac66114"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowStepExecutor.executeCodexAgentStep (cyclomatic 30): WorkflowStepExecutor.executeCodexAgentStep 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":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"222e14b7e60dec482c290591a66c2e898aaf8f0bbf18ad5e7160a503cc037569"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowStepExecutor.executeLoopStep (cyclomatic 30): WorkflowStepExecutor.executeLoopStep 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/workflow-step-executor.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132c57e13f964b85d71147491fd363c7c8ba6dc6e390af986ffea91d71dac99"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.completePendingAgent (cyclomatic 30): ClawdbotAgentService.completePendingAgent has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 11 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/clawdbot-agent-service.ts"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"05763bd68568efbd5ee36aff8300e563f30d8b437568d59b477035f7bd79886f"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzSubscriptionWorker.handleMessage (cyclomatic 30): BuzzSubscriptionWorker.handleMessage 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/buzz-subscription-worker.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b8f5a074fad800e35960d8c2f1d7f8680088fdc5f6346868407f7798b0ee9e"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlitePortabilityService.migrateFilesToSqlite (cyclomatic 30): SqlitePortabilityService.migrateFilesToSqlite 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/sqlite-portability-service.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b64efd4f0383f0f91371457e3f2100d40519f914d4a559389077f81a89470b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ManageTab.ManageTab (cyclomatic 30): ManageTab.ManageTab has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (handleFileSelect, handleExportTemplates, a function literal at line 206, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa4ec8200e8d26adabf0a5311425229d2353dd56d9406665397bd18262c4a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"BudgetCard.BudgetCard (cyclomatic 30): BudgetCard.BudgetCard 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":"web/src/components/dashboard/BudgetCard.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0fb8d25d3f6d03ebc7fa458e7db6ca9348a64729aaf3c61930381bd5d17c04"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeTrackingSection.TimeTrackingSection (cyclomatic 30): TimeTrackingSection.TimeTrackingSection has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (handleStartStop, handleAddEntry, a function literal at line 322, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"099df2db4502daebf6565509536dae5934639f290ddb9ba25aae5c40f0045126"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskMetricsPanel.TaskMetricsPanel (cyclomatic 30): TaskMetricsPanel.TaskMetricsPanel has cyclomatic complexity 30 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"122d35bee69cfe71a929e6ad682b282f73f9be4862808a8ce28c92174ba6f055"}},{"ruleId":"D1","level":"warning","message":{"text":"EgressPolicyService.evaluate (cyclomatic 29): EgressPolicyService.evaluate 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/egress-policy-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"37119ffd6b5262f3a28685e3b5125c22670d46d19ded040ac690a6d5f1d37d38"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentHostService.buildHosts (cyclomatic 29): AgentHostService.buildHosts has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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/agent-host-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"659fe013b339be35bbcb64f5067e4e64a2342be85d1649df0a9ea4e366cd5a90"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.startHermesCli (cyclomatic 29): ClawdbotAgentService.startHermesCli has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 7134, 7074, 7050, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6990}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7e1ab5f8bad199cc0b9a1fd2ec80f5e3ab736bf1a7317e228926a5e7a844ff"}},{"ruleId":"D1","level":"warning","message":{"text":"run-access-summary-service.projectIntegrations (cyclomatic 29): run-access-summary-service.projectIntegrations 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 2 function literals inside it that branch (lines 625, 633). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the 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-access-summary-service.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7aa09c3b62084bd362e29b37fac39eca0b4493e74e35882e61e583ed752e41"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentHealthClassifierService.classifyAgent (cyclomatic 29): AgentHealthClassifierService.classifyAgent 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, name the conditions: bind each compound test to a well-named local or a small predicate 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-health-classifier-service.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5f4b973e541bd7c39b7cfe814cbb7ceeb75e3c4831d5508447b3955af0346b"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunicationAdapterService.ingestBuzzEvent (cyclomatic 29): CommunicationAdapterService.ingestBuzzEvent 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/communication-adapter-service.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9e71dbd32d5aaecf8fe90d2155591f9df8b2571202a8e19bfbe8b492b81a3b"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceCapabilitiesTab.WorkspaceCapabilitiesTab (cyclomatic 29): WorkspaceCapabilitiesTab.WorkspaceCapabilitiesTab has cyclomatic complexity 29 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ef4778fc5258b2847e6bb26ef8bf2b5c50b246f47660076cffcb7f4537557f"}},{"ruleId":"D1","level":"warning","message":{"text":"SquadChatPanel.SquadMessageBubble (cyclomatic 29): SquadChatPanel.SquadMessageBubble 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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cadabe642b975eafd9680e6037151fad2fefd07206437a48848edaf9ba0c5b"}},{"ruleId":"D1","level":"warning","message":{"text":"DependenciesSection.DependenciesSection (cyclomatic 29): DependenciesSection.DependenciesSection has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 14 function items inside it that branch (handleAddDependency, a function literal at line 40, a function literal at line 47, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9deb5b98afba0c32944107ac062f3025bf00cd67670279f6ebc0ab54fe4a6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDatabase.open (cyclomatic 28): SqliteDatabase.open 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/storage/sqlite/database.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b19b1bf7445b337422ef53ecb290727c651363cf6f58f0d3bc324b156bcb6a"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkProductArtifactService.registerUnlocked (cyclomatic 28): WorkProductArtifactService.registerUnlocked 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-product-artifact-service.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f6dd7c85febf6520ff0a0751ce57740e2a6f950201f8621d4c26dddc1beffa"}},{"ruleId":"D1","level":"warning","message":{"text":"work-product-artifact-preview-service.parseCsv (cyclomatic 28): work-product-artifact-preview-service.parseCsv 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/work-product-artifact-preview-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e42d0629bba5fc9c0266c78056f9ed64f086b0aa99b707b703fe61f2739bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzCompatibilityService.probe (cyclomatic 28): BuzzCompatibilityService.probe has cyclomatic complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 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/buzz-compatibility-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d3eef7856bdd1ff5be04eb4e48d874cfbf61e0ff8634d79957bcdb4ae7cf9e"}},{"ruleId":"D1","level":"warning","message":{"text":"buzz-communication-service.parseBuzzInboundEvent (cyclomatic 28): buzz-communication-service.parseBuzzInboundEvent 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/buzz-communication-service.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfefa12a287f2b06b928b4cb4ebf9eecd748e010194e1ce10fc1f697a9bc4fe"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationActivationService.finishRunClaim (cyclomatic 28): AutomationActivationService.finishRunClaim 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 762). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce1564f05a13aff1cb40fa1f86fab531e96bdca2592b5b50a8773d821cfd18f"}},{"ruleId":"D1","level":"warning","message":{"text":"useWebSocket.useWebSocket.connect (cyclomatic 28): useWebSocket.useWebSocket.connect 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 6 function items inside it that branch (a function literal at line 236, a function literal at line 208, a function literal at line 270, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useWebSocket.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9530919a752423a2302a68bb5ec0606794f1654530aa7e1b4d0101662734e481"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsTab.BuzzDefinitionImportSection (cyclomatic 28): AgentsTab.BuzzDefinitionImportSection has cyclomatic complexity 28 (threshold 15). Of this number, 18 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf77dc205c898793a280b6399f43ea72672257d2acafa876a83f88d89456636"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanColumn.KanbanColumn (cyclomatic 28): KanbanColumn.KanbanColumn has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanColumn.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"548699ad3047c26e2f0054fcaf0081582b63f22b7dcc091bdc45b3b2981db798"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityFeed.StatusHistoryPanel (cyclomatic 28): ActivityFeed.StatusHistoryPanel 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 7 function literals inside it that branch (lines 244, 170, 261, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"777bdcec31cfc971d8143823ad8f978d7f773e72408732f399eba0c7f89fabbe"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardPage.DashboardPage (cyclomatic 28): DashboardPage.DashboardPage has cyclomatic complexity 28 (threshold 15). Of this number, 23 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":"web/src/components/dashboard/DashboardPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d784818e5381e7e9097406db8b9860e77fe06217e32afba8dcad05cc71dc486a"}},{"ruleId":"D1","level":"warning","message":{"text":"EvidenceTimelinePanel.EvidenceTimelinePanel (cyclomatic 28): EvidenceTimelinePanel.EvidenceTimelinePanel has cyclomatic complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2669cb85a25dde26283fbf04c403c9ca6ec476ef77f3d4dd83d753c4d09011d1"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiveSidebar.ArchiveSidebar (cyclomatic 28): ArchiveSidebar.ArchiveSidebar 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 6 function items inside it that branch (a function literal at line 207, handleRestore, handleRestoreFromDetail, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c869531e59290d1f044c712d0a178a79a37e25c9bc9319ac422f99bd84df6dff"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtasksSection.SubtasksSection (cyclomatic 28): SubtasksSection.SubtasksSection has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 142, getCriteriaProgress, handleAddSubtask, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/SubtasksSection.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0ae6c11e48699b3de56cfaf8097263b780240217e8d5112a0cce1e371207d3"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplatePreviewPanel.TemplatePreviewPanel (cyclomatic 28): TemplatePreviewPanel.TemplatePreviewPanel has cyclomatic complexity 28 (threshold 15). Of this number, 23 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":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e572e656b6f00f41dfaaef88d3bb1f42188c9ec6ce7f1b08b02db9bb372f2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"useBoardDragDrop.createBoardKeyboardCoordinates.\u003Creturned closure\u003E (cyclomatic 28): useBoardDragDrop.createBoardKeyboardCoordinates.\u003Creturned closure\u003E 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"316d171ad8295612b4844d9bb33501c41ce056d90160cce2f8b05e355955c660"}},{"ruleId":"D1","level":"warning","message":{"text":"SecureWorkProductArtifactSourceReader.read (cyclomatic 27): SecureWorkProductArtifactSourceReader.read 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/work-product-artifact-repository.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6ee65e432b9338b35ef4c0b95fb2e8fdd35dd7ef7f2ff3d7f26b841f11310b"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.prune (cyclomatic 27): FileWorkspaceCheckpointRepository.prune 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 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bc99cfdce779cb6c40ff60ab49176b095a566ba05696fb9496e6d215930c15"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemSandboxService.compile (cyclomatic 27): FilesystemSandboxService.compile 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/filesystem-sandbox-service.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f39d7c7b38a567fae7e36f89bdead3a61856ec3ea327338f4920dc1ee1b5cef"}},{"ruleId":"D1","level":"warning","message":{"text":"PhaseTransitionService.transition (cyclomatic 27): PhaseTransitionService.transition 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/phase-transition-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5295f4ffe8e5c95277472c82e8529d1bc0c9f22349ba29d9e6f256c41dcbc5de"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.startAcpStdio (cyclomatic 27): ClawdbotAgentService.startAcpStdio has cyclomatic complexity 27 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2023b6799970edf6d1d761918055df8ac5bfb118e8f410f67c09ea48e9f472e"}},{"ruleId":"D1","level":"warning","message":{"text":"task-metrics.computeVelocityMetrics (cyclomatic 27): task-metrics.computeVelocityMetrics 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/metrics/task-metrics.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"951107bcc4cca5d67f2956255fcde67c8a565aff85289381fd6c15c35aca11b2"}},{"ruleId":"D1","level":"warning","message":{"text":"api-client.createApiClient.api (cyclomatic 27): api-client.createApiClient.api has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 188, 186). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/api-client.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dcc081b2776fe6167267ff7f0746436cecece4a74bd1a76c315c0730dc21a5"}},{"ruleId":"D1","level":"warning","message":{"text":"BacklogPage.BacklogPage (cyclomatic 27): BacklogPage.BacklogPage has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 75, handleBulkPromote, handleDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af927d0b906752d4a1f0a52ea2f5632812248c96571ded34c9001f40c9150e4"}},{"ruleId":"D1","level":"warning","message":{"text":"GitSelectionForm.GitSelectionForm (cyclomatic 27): GitSelectionForm.GitSelectionForm has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 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":"web/src/components/task/git/GitSelectionForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4280416b0fe7df1103698df8b6f9cb0a1bdaf01633feec45a90b7777fcca4d88"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEditorRoute.WorkflowEditorRoute (cyclomatic 27): WorkflowEditorRoute.WorkflowEditorRoute 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowEditorRoute.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"331f6752a76e0121c7846eb2aebfc5eedfb7f1df8df8b23fd8530681cf59a22f"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBrokerService.reconcile (cyclomatic 26): CredentialBrokerService.reconcile has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 972, 931, 949). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4016fb23d02409ed32b30f7a79aec0eed43da7712291386ecccdab77765f7ebf"}},{"ruleId":"D1","level":"warning","message":{"text":"RunRecoveryCoordinator.reconcileRunningAttempts (cyclomatic 26): RunRecoveryCoordinator.reconcileRunningAttempts 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/run-recovery-coordinator.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"146a6a9bfb5503ed1198e1b9859ffb90c128a9f2e6864859f1a12d65773626dc"}},{"ruleId":"D1","level":"warning","message":{"text":"RunRecoveryCoordinator.planTaskRecovery (cyclomatic 26): RunRecoveryCoordinator.planTaskRecovery 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/run-recovery-coordinator.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e57b6f0cfb4c7e5af3b02599a13d7bdc6d2bd58635fc126c465de0e54f01a87"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.dispatchQueuedWorkflowStep (cyclomatic 26): WorkflowRunService.dispatchQueuedWorkflowStep 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/workflow-run-service.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ea18ae509127a8626c11283cd35c43cbf4b72482226fae3e54693914a43944"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewService.startPreview (cyclomatic 26): PreviewService.startPreview 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 4 function literals inside it that branch (lines 202, 254, 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":"server/src/services/preview-service.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd379befb952a3714cd9ab0bbeecfb728e1c51980ba66624ec38f6aebd8ed29"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationDraftService.validateResolvedFields (cyclomatic 26): AutomationDraftService.validateResolvedFields 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/automation-draft-service.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb881c670499a55199b666baa47917c9cfaa2271addb6ab0db48cdf7b8e432e"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge-integrity-service.lintKnowledgeCollection (cyclomatic 26): knowledge-integrity-service.lintKnowledgeCollection 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/knowledge-integrity-service.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb15c820084844aa3cd0ee87d17d8b76698c0490de9c19ec63e78e4b81e620e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPoliciesTab.ToolPoliciesTab (cyclomatic 26): ToolPoliciesTab.ToolPoliciesTab 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 5 function items inside it that branch (a function literal at line 188, handleSavePolicy, handleDeletePolicy, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ToolPoliciesTab.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8954e99d57a29f9566434cbc175778b1cdbd1176252668dee59a669977df67"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentComparison.AgentComparison (cyclomatic 26): AgentComparison.AgentComparison has cyclomatic complexity 26 (threshold 15). Of this number, 14 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":"web/src/components/dashboard/AgentComparison.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3ce11840796807c9627634901949f392bdc1e0de46ec24f020094d22993e68"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplatesPage.TemplatesPage (cyclomatic 26): TemplatesPage.TemplatesPage 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 3 function items inside it that branch (a function literal at line 157, a function literal at line 52, handleDeleteConfirm). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2206575972f0ecbe3cce113ae5743fad273573a47efa2fab925b2ae43b8e6c7"}},{"ruleId":"D1","level":"warning","message":{"text":"useBulkTaskMetrics.aggregateTaskMetrics (cyclomatic 26): useBulkTaskMetrics.aggregateTaskMetrics 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":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ee69be038fe4455b210dc588a2b651e11a93feb22221ceb35d868ae0255175"}},{"ruleId":"D1","level":"warning","message":{"text":"setup.registerSetupCommands (cyclomatic 25): setup.registerSetupCommands 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 23). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or 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/setup.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb600c99683e6cb43b4e33a195b5815e3bac6bb8b51ca7edd567898c2de62a"}},{"ruleId":"D1","level":"warning","message":{"text":"OutboundIntegrationService.deliver (cyclomatic 25): OutboundIntegrationService.deliver has cyclomatic complexity 25 (threshold 15). Of this number, 18 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/outbound-integration-service.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef8745bd5e6391daef5036740e4a174ead0c54f3e9cf5a91df37a66ed592d44"}},{"ruleId":"D1","level":"warning","message":{"text":"task-envelope-service.captureCompletionGitState (cyclomatic 25): task-envelope-service.captureCompletionGitState has cyclomatic complexity 25 (threshold 15). Of this number, 17 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/task-envelope-service.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cec9d6b129516a333cac0aabc084b41fd3f7cc81b1255d68cbf666b1d1f779"}},{"ruleId":"D1","level":"warning","message":{"text":"AttemptLifecycleCoordinator.assertCompletionBinding (cyclomatic 25): AttemptLifecycleCoordinator.assertCompletionBinding 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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04ed9d49bce6a1308935c22ad2dccae7d26e7f89d2f33169ec4a6e1bf054199"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTerminalService.projectReconciliationEvent (cyclomatic 25): RunTerminalService.projectReconciliationEvent 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/run-terminal-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbb40961b8a127d4db06d9f420a89ae25a250ba895016388c58d36e041f50dd"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentProviderAdapterRegistry.stop (cyclomatic 25): AgentProviderAdapterRegistry.stop has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the 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/agent-provider-adapter-registry.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aefa12cb9dbd01d38418ba45f9e2ed55e1d56bbb8f7bbaf0e64e7bd9381642"}},{"ruleId":"D1","level":"warning","message":{"text":"token-metrics.computeBudgetMetrics (cyclomatic 25): token-metrics.computeBudgetMetrics 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/metrics/token-metrics.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6774ea605e7259c4351f4715b8b081ea9f46b6a9ce24b5e0a64645f6039905"}},{"ruleId":"D1","level":"warning","message":{"text":"dashboard-metrics.computeTrends (cyclomatic 25): dashboard-metrics.computeTrends 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 one function literal inside it that branches (line 403). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6c10c32bd607a3cc3322cd41b1deb6bca11dd01801e9507d0422fc0c07f9d1"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunicationAdapterService.sendBuzz (cyclomatic 25): CommunicationAdapterService.sendBuzz has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9af4c1dd44266e2c3bcfbde4aee0fa42cfb60b6ff1aec9993ee0eb704318c90"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzDefinitionImportService.previewPersona (cyclomatic 25): BuzzDefinitionImportService.previewPersona 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/buzz-definition-import-service.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"605d6d6ccdcd55348bbd19cbcb60e6fbd09b2f92501e3f1a416015f30439819b"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzDefinitionImportService.previewTeam (cyclomatic 25): BuzzDefinitionImportService.previewTeam 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae1722a9841bff57c617032658b4a88951af28a339bfb19b181033a3db2644"}},{"ruleId":"D1","level":"warning","message":{"text":"FileKnowledgeCollectionRepository.readState (cyclomatic 25): FileKnowledgeCollectionRepository.readState 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9733cbf6609ea3637c811c6c9dabc83fff289ee3d5abaf4b6db751fc2dda556e"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardSidebar.RecentStatusChanges (cyclomatic 25): BoardSidebar.RecentStatusChanges has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 352, 338, 333, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfc3e2b8137c0a058147d828a8b129dccc85a82e7712e00061c852495da8d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"mime-validation.validateMimeType (cyclomatic 24): mime-validation.validateMimeType 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/mime-validation.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d850e0d3c5b422d3aaa1948104adabd6f64bb284c870acc027628d04b9801"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRoutingService.resolveAgentWithTrace (cyclomatic 24): AgentRoutingService.resolveAgentWithTrace 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/agent-routing-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5beaf46a7cc975e69c1ca336f47e87d5a1635f63463caf10992fcc11762fb1"}},{"ruleId":"D1","level":"warning","message":{"text":"RunLaunchCompiler.buildRunLaunchRuntime (cyclomatic 24): RunLaunchCompiler.buildRunLaunchRuntime 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/run-launch-compiler.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd85e137baf4611f905d2e1d627d360fcae9ddcca6a1ad6e1241daa2c8d3173"}},{"ruleId":"D1","level":"warning","message":{"text":"run-file-execution-policy-service.snapshotCandidate (cyclomatic 24): run-file-execution-policy-service.snapshotCandidate 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/run-file-execution-policy-service.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6375112eb1ebffca3c7bfff460f39a00447c4da403aea812d79b868267d66f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.startCodexSdk (cyclomatic 24): ClawdbotAgentService.startCodexSdk 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/clawdbot-agent-service.ts"},"region":{"startLine":7447}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ecd53d2a6e60fc5f05f4c87c999d75a4635d0cde82b8f7d67459946d3822b6"}},{"ruleId":"D1","level":"warning","message":{"text":"dashboard-metrics.computeAgentComparison (cyclomatic 24): dashboard-metrics.computeAgentComparison has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff0365a85f4da5adfdf4c76d5121072db8f3154a518842bbcdffcccfafba2c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewContext.ViewProvider (cyclomatic 24): ViewContext.ViewProvider 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 12 function literals inside it that branch (lines 118, 196, 314, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/contexts/ViewContext.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5488d979b8b282d619cf17c0fa10d5ec02b4a9bff4918c0266d8f18849b4f59c"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTab.AddRepoForm (cyclomatic 24): GeneralTab.AddRepoForm has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"705cca9599bca1ab219d6a5e6a7a18941893b74d06ce1c0cae99928e0c639651"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemHealthBar.SystemHealthBar (cyclomatic 24): SystemHealthBar.SystemHealthBar 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":"web/src/components/layout/SystemHealthBar.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"26df1a0a97cf785d7846ee16c46a95db166ba4028d293c8fc7781ee617fee5af"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskDetailsTab.TaskDetailsTab (cyclomatic 24): TaskDetailsTab.TaskDetailsTab has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/TaskDetailsTab.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d6d4d91a2da8f6f5fba1a68bffdff7bf335f94a399ef02ddd656cc105a2888"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownEditor.MarkdownEditor (cyclomatic 24): MarkdownEditor.MarkdownEditor 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 9 function items inside it that branch (a function literal at line 131, handleKeyDown, 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":"web/src/components/ui/MarkdownEditor.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf280949e0d13a3cbf21846801fe2ecb843398e9e400debd0f73b4872f04560d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowsPage.WorkflowsPage (cyclomatic 24): WorkflowsPage.WorkflowsPage 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 8 function items inside it that branch (a function literal at line 141, a function literal at line 176, 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":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"291eb4906a2c88909bd1fb4f3e3e6562d2f21345fa55a5781673d655c384381b"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskService.addDependency (cyclomatic 23): TaskService.addDependency 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/task-service.ts"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ca968c5e17d1d397e977e53eac681e3fcf43ae261259f1d05307787c7d9f62"}},{"ruleId":"D1","level":"warning","message":{"text":"run-event-journal-service.normalizeJson (cyclomatic 23): run-event-journal-service.normalizeJson 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/run-event-journal-service.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9460513c8b3ecfc3d81a7e80f00be8413eac8702914c16016239482d76b0b92b"}},{"ruleId":"D1","level":"warning","message":{"text":"egress-policy-service.classifyAddress (cyclomatic 23): egress-policy-service.classifyAddress 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/egress-policy-service.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bbe31fbecbda31a7a77a941af3df5aa389ad7a7fb257ad1ec9465836725865"}},{"ruleId":"D1","level":"warning","message":{"text":"buzz-definition-import-service.parseEventShape (cyclomatic 23): buzz-definition-import-service.parseEventShape 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/services/buzz-definition-import-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8b1dfe5ea62558f875e3785169358ae59c4c72ac86af51d76a849a2257d379"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueMonitorsTab.QueueMonitorsTab (cyclomatic 23): QueueMonitorsTab.QueueMonitorsTab has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 115, mutate). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"574e4f9c949045200684d335041810eddf77fe1dc684c5ae7c70648f851b6bb4"}},{"ruleId":"D1","level":"warning","message":{"text":"notifications.registerNotificationCommands (cyclomatic 22): notifications.registerNotificationCommands 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 literals inside it that branch (lines 18, 83, 125, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/notifications.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fb1deaff89968c31a02c9f9fa76f79f98caf092176469519aa76442437a6e9"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.registerWorkflowCommands (cyclomatic 22): workflow.registerWorkflowCommands 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 77, 19, 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":"cli/src/commands/workflow.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d11e15ef888b3731eea3d5b23759cacb02407554ba6fcbda952182f7b1cd68"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-goal-schemas.DurableGoalRecordSchema (cyclomatic 22): durable-goal-schemas.DurableGoalRecordSchema 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/schemas/durable-goal-schemas.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ef8e6dbeb7de31c05b59da1dca8376ed43d564bc76b9d15cd55435103733f"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.handleClaudeCodeJsonLine (cyclomatic 22): ClawdbotAgentService.handleClaudeCodeJsonLine 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/clawdbot-agent-service.ts"},"region":{"startLine":6851}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2f55217e641cda855587e9ee52be881baba370b1667ca4f0eb2cc7095f92bf"}},{"ruleId":"D1","level":"warning","message":{"text":"clawdbot-agent-service.parseProviderConversationCursor (cyclomatic 22): clawdbot-agent-service.parseProviderConversationCursor 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/clawdbot-agent-service.ts"},"region":{"startLine":9443}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5ce3dc6253d7c68589c7b6c50d121f885fa8a9d1848a9c478be7336c7da25"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeCollectionService.validateSearchEvidence (cyclomatic 22): KnowledgeCollectionService.validateSearchEvidence 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/knowledge-collection-service.ts"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4aa9ea0a6e102a4bd780d1631fb579c42609192afe81160a2ac4a2239e647d"}},{"ruleId":"D1","level":"warning","message":{"text":"MaintenanceTab.MaintenanceTab (cyclomatic 22): MaintenanceTab.MaintenanceTab 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 9 function literals inside it that branch (lines 556, 220, 242, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"53155d036c59fc0c8eb4e390b8d74140b885d69ad0612f880f19c17e29a54713"}},{"ruleId":"D1","level":"warning","message":{"text":"DriftMonitor.DriftMonitor (cyclomatic 22): DriftMonitor.DriftMonitor 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 13 function items inside it that branch (a function literal at line 340, a function literal at line 322, a function literal at line 331, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/drift/DriftMonitor.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b251cb1e6e5a434ed51e443a3a27bd1443f295b2101d58bda0009ef53b028a1"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionReviewSessionsSection.DecisionReviewSessionDetail (cyclomatic 22): DecisionReviewSessionsSection.DecisionReviewSessionDetail has cyclomatic complexity 22 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac8b032c7f3b43d0769afdd57d760d004103502bc086f399166e62ecb8f8bd0"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowAuthoringPanel.WorkflowDefinitionEditor (cyclomatic 22): WorkflowAuthoringPanel.WorkflowDefinitionEditor 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 13 function items inside it that branch (updateWorkflowBudgetLimit, updateAgentBudgetLimit, a function literal at line 1021, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e38c65fd2f6572bd2cf38bb3fea3c95ea3fd5c588cc1353a6ae8be216b4cd2c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowDetailView.WorkflowDetailView (cyclomatic 22): WorkflowDetailView.WorkflowDetailView 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efda07f49487e93de0f1343f068191db5d7a69ba4b7fca7389708b433849a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"github.registerGitHubCommands (cyclomatic 21): github.registerGitHubCommands has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 97, 63, 144, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/github.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2037ba1bc11b9a36d5ff263d9d02dd55620a3109196ad052d95173011dff9ee"}},{"ruleId":"D1","level":"warning","message":{"text":"sqlite.registerSqliteCommands (cyclomatic 21): sqlite.registerSqliteCommands has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 52, 130, 100, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/sqlite.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"129ca0d496053ba1dc47cfe3a17ea7618fcf56976df8aa7850840ef3d71a466d"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityService.resolveExternalIdentity (cyclomatic 21): IdentityService.resolveExternalIdentity 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/identity-service.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7947fe916e648dc1091d9303a96cb908a2aaced2c2b3b636f02ff0f6e3dba6"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-stdio-adapter.buildGrokBuildAcpArgs (cyclomatic 21): acp-stdio-adapter.buildGrokBuildAcpArgs 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/acp-stdio-adapter.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a73f011cc3c7cb8cdbac7d9ded109b00b47044af99b60224d479d492e6b3bb"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-execution-trust-repository.recursiveCandidates::visit (cyclomatic 21): workspace-execution-trust-repository.recursiveCandidates::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":"server/src/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3619dfba22801564abcb79a6f46a61fb6c1cf049cb8be09c54cdf6e4a83878"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.inspectCurrentFile (cyclomatic 21): FileWorkspaceCheckpointRepository.inspectCurrentFile 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"af633943884e533b1430121d9c16be365a9a88f2983dab63851291f16e7a6c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"RunOutputSpillService.prepare (cyclomatic 21): RunOutputSpillService.prepare 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/run-output-spill-service.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa78670cd7d9d6e5e497cc6030a9ac33d778d603510fe1c4f9ff55f7b647680"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamRosterService.resolveRoute (cyclomatic 21): TeamRosterService.resolveRoute has cyclomatic complexity 21 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/team-roster-service.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0531b4a7f71ac6d7215ef52d33ce7eb4fdeb0f475ade0976ca689267617a0c0"}},{"ruleId":"D1","level":"warning","message":{"text":"DurableGoalSupervisorService.handleRunCompletion (cyclomatic 21): DurableGoalSupervisorService.handleRunCompletion 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/durable-goal-supervisor-service.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5226fca756db66a8cd19c3be16a291d563030606c980850e86366fdf5a58c3cd"}},{"ruleId":"D1","level":"warning","message":{"text":"run-file-execution-policy-service.referenceCandidates (cyclomatic 21): run-file-execution-policy-service.referenceCandidates 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/run-file-execution-policy-service.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"415fcc499599b44d969afe51685f62a6f25a4ec41fab36ba1893d36844197940"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.startRun (cyclomatic 21): WorkflowRunService.startRun 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002091cff1fa493774198b1c38ede383e1b3e2e2f8215bc8777d748a2817767"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.getStats (cyclomatic 21): WorkflowRunService.getStats has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"182b4258ff4341e4802bc7c92956da27894fef5b7eb42c29b8b53d41b3ebe552"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.previewAgentLaunch (cyclomatic 21): ClawdbotAgentService.previewAgentLaunch 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/clawdbot-agent-service.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11bf0ee91398319bc6dc09842b511b1e69353dbc4b413b66a42cea9ce4c37cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.normalizeConversationLaunch (cyclomatic 21): ClawdbotAgentService.normalizeConversationLaunch 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/clawdbot-agent-service.ts"},"region":{"startLine":9031}}}],"partialFingerprints":{"codehealthFindingId/v1":"5968d0b8cde70a9eced3c448562131cb9b11469e41af9a2914718577262adab5"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsService.getMetrics (cyclomatic 21): AnalyticsService.getMetrics 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":"server/src/services/analytics-service.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e876354638f3e29e58081a5b6e115b3579d78ef142e27fe957fa54d669523a"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunicationAdapterService.applyBuzzRuntimeHealth (cyclomatic 21): CommunicationAdapterService.applyBuzzRuntimeHealth 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/communication-adapter-service.ts"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"19726d3a997b5868988f5af905e5437132b864d0a7a020bcca83c23520869412"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalTrackerService.validateProfileAgainstSchema (cyclomatic 21): ExternalTrackerService.validateProfileAgainstSchema 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/external-tracker-service.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba305fb66dfb842536b55e80e9e42b5de7d2ad8cd6fbd62f391ae264160bf82f"}},{"ruleId":"D1","level":"warning","message":{"text":"BuzzDefinitionImportService.importTeam (cyclomatic 21): BuzzDefinitionImportService.importTeam 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 1323, 1327). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44f21f7d1dc356c5b760b3a131c713d373998540a02f3f4f9a1755e00d6865c"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsDialog.SettingsDialog::renderTab (cyclomatic 21): SettingsDialog.SettingsDialog::renderTab 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":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af538f99c5b9251ae351cd500c02283679ba0568197bdda2b5bf6956cbe9fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplyTemplateDialog.ApplyTemplateDialog::handleApply (cyclomatic 21): ApplyTemplateDialog.ApplyTemplateDialog::handleApply 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":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8cb5260d6f61b831769e5087c43b9928bef2ef4f541963e1ebd97d03f37011"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionReviewSessionsSection.DecisionReviewSessionsSection (cyclomatic 21): DecisionReviewSessionsSection.DecisionReviewSessionsSection has cyclomatic complexity 21 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7144d52223d314231c42cb9fe1a03acbd0d0c7f1b9a6104b624074062b2e3232"}},{"ruleId":"D1","level":"warning","message":{"text":"DeliverablesSection.DeliverableItem (cyclomatic 21): DeliverablesSection.DeliverableItem 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98238556459450d66d9814453f0b6f0b7fcac4273de28165aee94e8ceb7624f"}},{"ruleId":"D1","level":"warning","message":{"text":"time.registerTimeCommands (cyclomatic 20): time.registerTimeCommands has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 111, 76, 20, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/time.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b116f89caf21bd83cfdde2e1c0c80afbfd15351c3434027cd99f08a7fd5f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.handleAgentTool (cyclomatic 20): agents.handleAgentTool 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":"mcp/src/tools/agents.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a18f676edaeb87e22bf3779bfc45003c22501577b7c26cb10789555bd8f2cd7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-app-server-adapter.responseForServerRequest (cyclomatic 20): codex-app-server-adapter.responseForServerRequest 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/codex-app-server-adapter.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0627e0112424d068c77cfd3285c196780b1a670b110021e48172262447fc9d10"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRegistryService.reconcileFromTasks (cyclomatic 20): AgentRegistryService.reconcileFromTasks 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/agent-registry-service.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac9d3577cc06d754b11b308d06df91e7f113f7ffef9da799f9251ddb4df399f"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkProductArtifactPreviewService.preview (cyclomatic 20): WorkProductArtifactPreviewService.preview 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/work-product-artifact-preview-service.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e48564322eaba14ff4eab6b323e4148f2f186f681208b29e8bfbc89824108"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-runtime-resolution.buildProviderRuntimeProbeRequest (cyclomatic 20): provider-runtime-resolution.buildProviderRuntimeProbeRequest 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/provider-runtime-resolution.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba159aec77f9627c3c3157ff278923530895132fc30e86e0b9d074b0131fab5a"}},{"ruleId":"D1","level":"warning","message":{"text":"RunRecoveryPolicyService.classify (cyclomatic 20): RunRecoveryPolicyService.classify 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/run-recovery-policy-service.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85b9ac1afe9c64fd0c489e1b972eb8a1741017491c534fdd1659b5a86c08671"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceExecutionTrustService.evaluateForLaunch (cyclomatic 20): WorkspaceExecutionTrustService.evaluateForLaunch 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-execution-trust-service.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f58f6ac726893d7f78b1c965b1803fc83eddd71c8eafa270101e19bfe7e4cd"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubService.delegateToCodexCloud (cyclomatic 20): GitHubService.delegateToCodexCloud 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-service.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca718b0ea0c724055979c40cc7a77806c36c41a0d1329e2ffe33ed3ca6f89c1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-metrics.computeFailedRuns (cyclomatic 20): run-metrics.computeFailedRuns 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/metrics/run-metrics.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3705556c6c19bb9d5f107d8ebb0a53dcd8a061cb28678d54a6aa6ae52e29e721"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeCollectionService.preparePageBatch (cyclomatic 20): KnowledgeCollectionService.preparePageBatch 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/knowledge-collection-service.ts"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c4078af042b5429ad24e466152e80624d94f5b22fef29ab38f5cb7bfa4bc31"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsTab.RoutingRulesSection (cyclomatic 20): AgentsTab.RoutingRulesSection has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"058214eac6b11e8189771ced47163cc5e899edba1abb35819c12ecd722e5a576"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityTab.SecurityTab (cyclomatic 20): SecurityTab.SecurityTab has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SecurityTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0bb62bb0ab0b49734b0955c7c3326c1818680cbe6958a5774d45f23d65b973"}},{"ruleId":"D1","level":"warning","message":{"text":"DelegationTab.DelegationTab (cyclomatic 20): DelegationTab.DelegationTab has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"37acb23abfc40b77108d9800e0919c14a64f98e87a71a98671fd204ef2919ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionTab.ReflectionCandidateItem (cyclomatic 20): ReflectionTab.ReflectionCandidateItem 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ReflectionTab.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6423d19d4e158472769a8f7c7b7e78b67daad6bffcac8b966db6b0a01afd4a5e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionQueuePanel.QueueRow (cyclomatic 20): AdmissionQueuePanel.QueueRow has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"970a78d6c318c93c956f861cc1209cd3283e64ef7b75fd6f1b63c6d764226f03"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskWorkView.getTaskOverviewComposition (cyclomatic 20): TaskWorkView.getTaskOverviewComposition 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":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"76690e39b4a030e8e193c0530fb8b6a3c7b83c7d4f3acd8daa47e906848b3fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowAuthoringPanel.DryRunResultPanel (cyclomatic 20): WorkflowAuthoringPanel.DryRunResultPanel has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"52489130da9863c706bdfda4092f818109922affb156f1c62fadfd060c5c2e00"}},{"ruleId":"D1","level":"warning","message":{"text":"useTasks.useUpdateTask (cyclomatic 20): useTasks.useUpdateTask has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 320, 286, 267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3aed0021dce894b274de1a8e4f2d9f017c155197143853897d678d29c8fad7"}},{"ruleId":"D1","level":"warning","message":{"text":"backlog.registerBacklogCommands (cyclomatic 19): backlog.registerBacklogCommands 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 6 function literals inside it that branch (lines 19, 129, 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":"cli/src/commands/backlog.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"776a2037f6c88c45de29fee1eb764dfe40b9ed9a1f35bbea1b9be7229e38fb25"}},{"ruleId":"D1","level":"warning","message":{"text":"work-products.registerWorkProductCommands (cyclomatic 19): work-products.registerWorkProductCommands 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 140, 164, 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":"cli/src/commands/work-products.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacffe03d210137c5f42ebbeaf995a61f230fe829b9908f779ec3f86c7a1eea2"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate-legacy-runtime.copyMissingTree (cyclomatic 19): migrate-legacy-runtime.copyMissingTree 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/utils/migrate-legacy-runtime.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef930af33523cb70f9e6bf47db88bb56d7b6401efa845e349a51f72790f3956f"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.authenticateWebSocket (cyclomatic 19): auth.authenticateWebSocket 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/middleware/auth.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a44fe6a69481d8b6b16d453c4fa427baf5dc60556dc37e3993d1a2b1e7bfc27"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-stdio-adapter.buildCopilotAcpArgs (cyclomatic 19): acp-stdio-adapter.buildCopilotAcpArgs 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/acp-stdio-adapter.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"570b53f7695a4646b585667a83408f3feb99991bc7dba8aead7abcddb6eb3d09"}},{"ruleId":"D1","level":"warning","message":{"text":"FileChatRepository.listSquadMessages (cyclomatic 19): FileChatRepository.listSquadMessages has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, 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/chat-repository.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fea7324a2ca376e2e4deff757d2872ba0d5581e3922eeb3ba899d798a908ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkProductService.list (cyclomatic 19): WorkProductService.list 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 114, 128). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the 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-product-service.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce82ad4dfa68cc27fa90f9cf9f8dbb49fc534f06fe416eb589c4c63699c8869"}},{"ruleId":"D1","level":"warning","message":{"text":"GovernanceTraceService.list (cyclomatic 19): GovernanceTraceService.list 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 104, 120). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/governance-trace-service.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c344c7925a7f8acd7538daae3b7a7d38dbbffbc045748d4c19095504d53cb4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-checkpoint-schemas.WorkspaceCheckpointSchema (cyclomatic 19): workspace-checkpoint-schemas.WorkspaceCheckpointSchema 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/schemas/workspace-checkpoint-schemas.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2935b744749bf936ebd07fa8c3afb39bc2d128bc5bcd0b834d7b87002417906"}},{"ruleId":"D1","level":"warning","message":{"text":"work-product-artifact-preview-service.workbookTable (cyclomatic 19): work-product-artifact-preview-service.workbookTable 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/work-product-artifact-preview-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd17e9769a78eb0ecf306a6dfc03a036661343a6e6736d75a8c7f910a9102c7"}},{"ruleId":"D1","level":"warning","message":{"text":"run-egress-gateway-service.handleSocksConnection (cyclomatic 19): run-egress-gateway-service.handleSocksConnection 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/run-egress-gateway-service.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd543e70a591c2036d3318cac100515fbeeca556b9f30a7b44cf1bb875df1ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-completion-service.evaluateCompletionPolicy (cyclomatic 19): provider-completion-service.evaluateCompletionPolicy 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-completion-service.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"085371857f4ec1b627743f06c33d1e5b074ee9a684d8376faf5a7a7b60a5bffc"}},{"ruleId":"D1","level":"warning","message":{"text":"RunApprovalBrokerService.decide (cyclomatic 19): RunApprovalBrokerService.decide 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/run-approval-broker-service.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adae77a9e80d0259a95f8fde97dea3a47dd306820f15f280c9de165d7902314"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-event-evidence.extractProviderEventHunkRanges::visit (cyclomatic 19): provider-event-evidence.extractProviderEventHunkRanges::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/provider-event-evidence.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fa357de0bf6a29c028e1fe5f02e5dbc1d19c2864b00acdcd3aa26e98d2ed1d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.admitWorkflowStep (cyclomatic 19): WorkflowRunService.admitWorkflowStep 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/workflow-run-service.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce82249d8b77e1b38c70ae898d1e4ebdea59bf5c2c8a75c80ec88ec5e10a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.reconcileWorkflowRootQueue (cyclomatic 19): WorkflowRunService.reconcileWorkflowRootQueue 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/workflow-run-service.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"73257f73cd1fb46329de256b6c23bd6ec528841fd2b3d28d840622e360b14fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffService.parseUnifiedDiff (cyclomatic 19): DiffService.parseUnifiedDiff 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/diff-service.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9e96ffa039e3c2d2ecb6caf2f2859a0978195dcac3f3938eaa5a58757a3b20"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextProviderHealthService.openClawProvider (cyclomatic 19): ContextProviderHealthService.openClawProvider 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/context-provider-health-service.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e927e9101b62e7d9b9e93748118b143654adaaed7969b84ae2ee004f8097855"}},{"ruleId":"D1","level":"warning","message":{"text":"DigestService.formatOperationsDigestMarkdown (cyclomatic 19): DigestService.formatOperationsDigestMarkdown 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/digest-service.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba700575f78f10825c55527e8959e330cc868542bfb46db5ddf93bd7d829b4d"}},{"ruleId":"D1","level":"warning","message":{"text":"lessons.router.get(\u0022/\u0022) (cyclomatic 19): lessons.router.get(\u0022/\u0022) has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/lessons.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"41206049b68b903ad7557769858858cc0319968f4d315b379ecc7c41f2710fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"MaintenanceService.buildHealthChecks (cyclomatic 19): MaintenanceService.buildHealthChecks 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/maintenance-service.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebe0fa261eceaeac6b9f4356f7591b7d8e66a7840325fec96fd969af422d3cf"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeCollectionService.createIngestionProposalInternal (cyclomatic 19): KnowledgeCollectionService.createIngestionProposalInternal 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/knowledge-collection-service.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a4a2cdaef466e7664727b252c6c7a20d62e670f6e6dbf937bcd8f083c230b2"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMenu.UserMenu (cyclomatic 19): UserMenu.UserMenu 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 items inside it that branch (formatExpiry, a function literal at line 86, handleMenuKeyDown). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/UserMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d920275bb592666080606b2ee286423a03a8640f66344037903471a3f51432b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsTab.AgentsTab (cyclomatic 19): AgentsTab.AgentsTab has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dd297ccec9225b1753a8d5aa911eeed7c9319a4a3f459276a9f251b2b23959"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentPanel.AgentCard (cyclomatic 19): MultiAgentPanel.AgentCard 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":"web/src/components/board/MultiAgentPanel.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a202eb0a756ee32383db22614056f17d93cadc649004b86bd2e55f886b144e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentPanel.MultiAgentPanel (cyclomatic 19): MultiAgentPanel.MultiAgentPanel 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 4 function literals inside it that branch (lines 236, 190, 202, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/MultiAgentPanel.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1081d808bb6e89033991a9aa08582664388c4942864f35281d18ee955ac0680a"}},{"ruleId":"D1","level":"warning","message":{"text":"WallTimeToggle.WallTimeToggle (cyclomatic 19): WallTimeToggle.WallTimeToggle has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/WallTimeToggle.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e1b45aca0804a578528d1c68ffadce60cf2f017033fa2bf847d4f7dfb813ce"}},{"ruleId":"D1","level":"warning","message":{"text":"DocsViewer.DocsViewer (cyclomatic 19): DocsViewer.DocsViewer has cyclomatic complexity 19 (threshold 15). Of this number, 11 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":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86ae5c39825fa70103b9681b58ad0cecb445820b4ec3f6b50cd0d53316f17e7"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunTimelinePanel.summarizeTimelineRun (cyclomatic 19): AgentRunTimelinePanel.summarizeTimelineRun 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb87ab5d3a87b1be841edfbbe57de20ce9b5ee53ed16e378955bacc3e83c7995"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowDashboard.WorkflowDashboard (cyclomatic 19): WorkflowDashboard.WorkflowDashboard has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 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":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb6a353fa9e09884155ff7f6b0188cc63ba5ffb331cb683c0f2186bebfcf5eb"}},{"ruleId":"D1","level":"warning","message":{"text":"summary.registerSummaryCommands (cyclomatic 18): summary.registerSummaryCommands 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 66, 112, 10, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/summary.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9b6bd4224fc672eec39a85aad87d69722463d4b6fbccebddea329fd2e6fae0"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.registerWorkspaceCommands (cyclomatic 18): workspaces.registerWorkspaceCommands 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 42, 83, 117, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/workspaces.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8641b389012bf6fd30afe88f5afc00f30b0fab5d8c937e0237674c914b90c671"}},{"ruleId":"D1","level":"warning","message":{"text":"paths.migrationCompleted (cyclomatic 18): paths.migrationCompleted has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/paths.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"717258748767997d6401855e2d47d0e7ea3fb8a43c901dde907ebefa1cbbe974"}},{"ruleId":"D1","level":"warning","message":{"text":"tasks.handleTaskTool (cyclomatic 18): tasks.handleTaskTool 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":"mcp/src/tools/tasks.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97402817cc56118f2e110e3858c7dcfd0e07e22530e836db2d88327332f4fd4"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkProductArtifactRepository.create (cyclomatic 18): FileWorkProductArtifactRepository.create 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: work-product-artifact-repository.sameIdentity (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/storage/work-product-artifact-repository.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9891469eb038dc53b9abc303fc2e08740cd23fa0518e95685af6b26c44a3ca6"}},{"ruleId":"D1","level":"warning","message":{"text":"FileChatRepository.parseSquadMessages (cyclomatic 18): FileChatRepository.parseSquadMessages 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/storage/chat-repository.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa74ffae02ca2703fdd9a7c1f8841b1084c1e85f5c6ce307e9f3047f9b51a8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeService.adoptLegacyWorktree (cyclomatic 18): WorktreeService.adoptLegacyWorktree 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 375, 435, 366, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc45a3f6bd57c01e286545a5e5fd5d1cb6f69a97a739e77b08a9b01adf4fe292"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeService.deleteWorktree (cyclomatic 18): WorktreeService.deleteWorktree 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 661). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"948241193b84d90ff6f2ebdffcbd3c2e491bd225b11a5907a75c920e5abbd2eb"}},{"ruleId":"D1","level":"warning","message":{"text":"DelegationService.canApprove (cyclomatic 18): DelegationService.canApprove 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/delegation-service.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"371121fc12287996f93603651bccbe427ef8dfc9c09c4e7b432ab2377cb0944c"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.applyCheckpointFiles (cyclomatic 18): FileWorkspaceCheckpointRepository.applyCheckpointFiles 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2de1882dbff503aa7d12ced7954e8496ca9f11142db2e34bd0c5cf8c327693"}},{"ruleId":"D1","level":"warning","message":{"text":"run-file-provenance-service.projectEvents (cyclomatic 18): run-file-provenance-service.projectEvents 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-file-provenance-service.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af50e016db3fbdab0ced9f0b7192ab8c043f93c3689e3844eaf8ebd448f3c6"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionService.list (cyclomatic 18): DecisionService.list 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 133). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the 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-service.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"167ee19cc71dc8848c2a5c58e73fda07bdeb8a2405ad178ba5858e028735e7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"RunLaunchManifestService.compile (cyclomatic 18): RunLaunchManifestService.compile has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-launch-manifest-service.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"316f6d161a893d34edb820ea091f4e47695a648ebbfcdfb98d3b7565c54bd47d"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-event-evidence.extractProviderEventToolName::visit (cyclomatic 18): provider-event-evidence.extractProviderEventToolName::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":"server/src/services/provider-event-evidence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb96dd84f23caee435c18afb5b73036f7840a170886c198fb6c01106adfbcc5"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.dispatchQueuedWorkflowRoot (cyclomatic 18): WorkflowRunService.dispatchQueuedWorkflowRoot 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/workflow-run-service.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e82b100ad727141cf2c111acf3ef5ed4cdcda37ac5ed11a33625118287fa8c2"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.reconcileWorkflowStepQueue (cyclomatic 18): WorkflowRunService.reconcileWorkflowStepQueue 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/workflow-run-service.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9861b43d298ec6348fdc5c7f76ecb24322b870163ed6b6a555cb88542c7f0348"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunService.reconcilePendingRecoveries (cyclomatic 18): WorkflowRunService.reconcilePendingRecoveries 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/workflow-run-service.ts"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"577c44bab3dbb427cbc18f4c6f533113e1c2bfdae5ed87fb2464ab64a58c6c9b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.finalizePendingAgent (cyclomatic 18): ClawdbotAgentService.finalizePendingAgent 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/services/clawdbot-agent-service.ts"},"region":{"startLine":3010}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c5c5c2e37246d1cb87dc5820bca5390884a8daf3fe8fa092a3adc55b2eb44b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.evaluatePendingBudget (cyclomatic 18): ClawdbotAgentService.evaluatePendingBudget 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 one function literal inside it that branches (line 4359). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c7674bafc573ec7d141a4d776181e547ea71da290d88ee180ed33b8f830f43"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.recordCodexEvent (cyclomatic 18): ClawdbotAgentService.recordCodexEvent 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/clawdbot-agent-service.ts"},"region":{"startLine":7968}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd495e3aa2fa99b23d12d09a787a39f8b159a0dab4be953d81b10c44b9b2bac"}},{"ruleId":"D1","level":"warning","message":{"text":"queue-intake-monitor-service.scoreCandidate (cyclomatic 18): queue-intake-monitor-service.scoreCandidate 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/queue-intake-monitor-service.ts"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79e45889af9df028e2222b536c295fe2950b6fa6e012bc109d28b1911dda92b"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachmentsSection.AttachmentsSection (cyclomatic 18): AttachmentsSection.AttachmentsSection 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58f18b2aa87efcc7616fe6ac5da0aac0225bd0abb1848bddccfb7c0e693aae2"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentsSection.CommentItem (cyclomatic 18): CommentsSection.CommentItem 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 5 function items inside it that branch (a function literal at line 148, a function literal at line 163, handleDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e69aa1eb4aa674dbddb5754d1b85cab84d4106e4627e61d63efed32da2d19f"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeBreakdownPage.TimeBreakdownPage (cyclomatic 18): TimeBreakdownPage.TimeBreakdownPage 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 95, openSource, a function literal at line 89, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/time/TimeBreakdownPage.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fe98cc28250d03f9bd0dd991a4dfd3968cab56bb7a5b536a44811014ae7e68"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowStartDialog.WorkflowStartDialog (cyclomatic 18): WorkflowStartDialog.WorkflowStartDialog 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 (startRun, a function literal at line 27, a function literal at line 34, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowStartDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bdb18067675169f9722db41f4aa4e2b756a5cb4cd11c6375f0d415ad552286"}},{"ruleId":"D1","level":"warning","message":{"text":"useAgent.useAgentStream.handleMessage (cyclomatic 18): useAgent.useAgentStream.handleMessage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAgent.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"324f84ef5bace78125236af329c02626800a5b69549ab3d61fb0e39bd05c5b78"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-status.registerAgentStatusCommands (cyclomatic 17): agent-status.registerAgentStatusCommands 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 literals inside it that branch (lines 22, 122, 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":"cli/src/commands/agent-status.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb75312200ecbe084be5101407a4ef486815c1c6c0d4c23d0c143491e6ca4dcc"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.authenticate (cyclomatic 17): auth.authenticate 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/middleware/auth.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b69281a23909e4f63932ff27f58f4ac98501eef0c12547b8d1bf35492a655b1"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-code-adapter.classifyClaudeCodeStreamRecord (cyclomatic 17): claude-code-adapter.classifyClaudeCodeStreamRecord 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/claude-code-adapter.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9422904c00e179157c9e6ef6daf3c0cdecc7c87558423a3b885b61b0d40a83"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatService.sendSquadMessage (cyclomatic 17): ChatService.sendSquadMessage 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-service.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"89017de4ca8d6cd76306f00ad4ee8c29a4cd02911598fa7c49cd52c89cd64b44"}},{"ruleId":"D1","level":"warning","message":{"text":"url-validation.validateWebhookUrl (cyclomatic 17): url-validation.validateWebhookUrl 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/utils/url-validation.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b879df7ca02c9e5d33ea163f760dda768dc31290ab17dbf85f437a845bf91b6a"}},{"ruleId":"D1","level":"warning","message":{"text":"transition-hooks-service.executeAction (cyclomatic 17): transition-hooks-service.executeAction 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/transition-hooks-service.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"07029ccb6cd78ded0ade0d5d374615b6479d9b68ff694e7d4495c643c01fb574"}},{"ruleId":"D1","level":"warning","message":{"text":"filesystem-sandbox-runtime.assertNoExternalHardLinksRuntime::scan (cyclomatic 17): filesystem-sandbox-runtime.assertNoExternalHardLinksRuntime::scan 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/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a9fc6d83e52b3b805b1870ccb82e9af08d8aace4d789e5021adbb3fb428cc"}},{"ruleId":"D1","level":"warning","message":{"text":"TextExtractionService.extractText (cyclomatic 17): TextExtractionService.extractText 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/text-extraction-service.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6762ff67a90d97521824be9d36a109a258186a3a7db7a7b3ec4538d8100474"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentHealthService.checkAuth (cyclomatic 17): AgentHealthService.checkAuth 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/agent-health-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5d9ce18a05031829f11410b73dcdc24f68731f6c5ec1ecb36543e9eb577e63"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionService.retrieveForTask (cyclomatic 17): ReflectionService.retrieveForTask 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 213, 205, 195). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/reflection-service.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a9b17240e36ab7a42de152973a80096540b2dda986650ee0f7416bfc0491fd"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpOpenClawWorkflowAdapter.invokeTool (cyclomatic 17): HttpOpenClawWorkflowAdapter.invokeTool 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 (HttpOpenClawTaskAdapter.invokeTool) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants 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/openclaw-workflow-adapter.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"793e8a491b21ad50064a48e10c6428cc94fc6cf318c0a024a6092fac9c8494d0"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpOpenClawTaskAdapter.invokeTool (cyclomatic 17): HttpOpenClawTaskAdapter.invokeTool 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 (HttpOpenClawWorkflowAdapter.invokeTool) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants 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/openclaw-workflow-adapter.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"e820d9e0811e9b3167643c574c5202a08f8e034e93c1a27b458de13c94b0e30c"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBrokerService.withCredential (cyclomatic 17): CredentialBrokerService.withCredential has cyclomatic complexity 17 (threshold 15). Of this number, 10 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/credential-broker-service.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb10522830bd01a3d380aef8314700d1ea6fd0da156eb7fff868f9ebeb61629"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpRpcSession.post (cyclomatic 17): HttpRpcSession.post 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-control-plane-service.ts"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"366947362b07a5b36b35559868e17267745c1f904957258f783ae1bd566df391"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-control-plane-service.assertSafeSchema (cyclomatic 17): tool-control-plane-service.assertSafeSchema 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-control-plane-service.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17eb07c625afe075ad72d7641f684d957bc9e9a353f6a5b71433dcfe3271bd1"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-control-plane-service.terminateStdioProcessGroup (cyclomatic 17): tool-control-plane-service.terminateStdioProcessGroup has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the 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-control-plane-service.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa3918e0023174fba811a1923628115ea8d22380e188c60c6c3960564de00c"}},{"ruleId":"D1","level":"warning","message":{"text":"RunLaunchCompiler.buildRunLaunchEnvironment (cyclomatic 17): RunLaunchCompiler.buildRunLaunchEnvironment 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/run-launch-compiler.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92770f288af09d4dbdcadbe926cfc89c40f25911525092a09bfff402a43724e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionControlService.claimNextQueued (cyclomatic 17): AdmissionControlService.claimNextQueued 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/admission-control-service.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1f3241ae27d1a036052de2c4c1771f8086da6a383d4b75f9c2381f29268f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionControlService.cancelExecutionTree (cyclomatic 17): AdmissionControlService.cancelExecutionTree 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/admission-control-service.ts"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aa14aa6acd1f862997ea9964210998bdcaeb17d7455d6320b185abce820396"}},{"ruleId":"D1","level":"warning","message":{"text":"RunRecoveryPolicyService.decide (cyclomatic 17): RunRecoveryPolicyService.decide 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/run-recovery-policy-service.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9bbdc6d56e5119bb2a415ac83bbcb7cf3b0784e46a6ed2b2d928dfeeeca19f"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.drainAdmissionQueue (cyclomatic 17): ClawdbotAgentService.drainAdmissionQueue 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/clawdbot-agent-service.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"1805ba6cf192e7182bc18c1ca7c679f2d29defbc2b1fc40dfadc9e5cb8e3c798"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdbotAgentService.completeAgent (cyclomatic 17): ClawdbotAgentService.completeAgent 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/clawdbot-agent-service.ts"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"14670b0bf7187a54ec1b542a443cc5643fe6a52ee67e5fc8f5c0532cae9aa5b7"}},{"ruleId":"D1","level":"warning","message":{"text":"SummaryService.generateStandupMarkdown (cyclomatic 17): SummaryService.generateStandupMarkdown 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/summary-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"358bfc947449ea27329f135b2934adb578c56e2669374379af72a6d85b0343dd"}},{"ruleId":"D1","level":"warning","message":{"text":"telemetry-reader.visitTelemetryEvents (cyclomatic 17): telemetry-reader.visitTelemetryEvents 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/metrics/telemetry-reader.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3451e5a3cdc52e49b6d899b32fc0392d699ece2231ed68ddd0e0cd6178c1b12"}},{"ruleId":"D1","level":"warning","message":{"text":"time-breakdown-service.eventToBlocks (cyclomatic 17): time-breakdown-service.eventToBlocks 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/time-breakdown-service.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bf7dab3bbe53153a287e377b9c70dd4448edf4889031f1ba2b172b7126339f"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunicationAdapterService.configureBuzzChannelMapping (cyclomatic 17): CommunicationAdapterService.configureBuzzChannelMapping 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d276de5df6310b3ab05927b1b8cd124971bdfb5edc43b9cec137eb61545e51d"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationActivationService.apply (cyclomatic 17): AutomationActivationService.apply 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"527190159069a1f47f5a9830e41189722b8d2e70ed85896647a5130d6529e01f"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeCollectionService.transitionClaim (cyclomatic 17): KnowledgeCollectionService.transitionClaim 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/knowledge-collection-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada6ca0949a4942fe21bcfda0b926659177005e7e9e0fe80ed426d3fcfccd5db"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeCollectionService.searchCollection (cyclomatic 17): KnowledgeCollectionService.searchCollection has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc2b0bbe6ab8d8dabd4b77189caa3ec35e06ea9d2d52086967f23a133f0786d"}},{"ruleId":"D1","level":"warning","message":{"text":"useTaskSync.useTaskSync (cyclomatic 17): useTaskSync.useTaskSync 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 39, 31). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTaskSync.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba307d94d4a0f968444fa3052e26ac6888bd278cd7ad9c2f1131d498d17bc6"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsSearch.SettingsSearch (cyclomatic 17): SettingsSearch.SettingsSearch 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 46, 72). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsSearch.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"180167f805268f44597c9f8d84788cb6c9da00b6a80e4c5cef18916b76d2a27e"}},{"ruleId":"D1","level":"warning","message":{"text":"SortableListItem.SortableListItem (cyclomatic 17): SortableListItem.SortableListItem has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SortableListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5350c5f7f813600e1f4732dd1e52449d7346a9d88c2fe6a0d8f7ce7fbba9d1"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplateComponents.AddTemplateForm (cyclomatic 17): TemplateComponents.AddTemplateForm has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (handleSubmit, a function literal at line 114). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbb3c03591075d42939a4660bd63c8954aa8f0ca699cc58419f1a07f413b773"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillRiskDashboardPanel.SkillRiskDashboardPanel (cyclomatic 17): SkillRiskDashboardPanel.SkillRiskDashboardPanel 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 5 function items inside it that branch (a function literal at line 240, a function literal at line 106, 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":"web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125902bffe91b58536eb04ed8ac2f04c8b0bfbbd69087254f6cd31f870068f3"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSettingsWindow.NativeSettingsWindow (cyclomatic 17): NativeSettingsWindow.NativeSettingsWindow 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 20, 18, 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":"web/src/components/settings/NativeSettingsWindow.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd4689f0dccfb4ad8f9d59393f44c0eded74a5f9a006c57805997cf4896e90f"}},{"ruleId":"D1","level":"warning","message":{"text":"BacklogPage.BacklogTaskCard (cyclomatic 17): BacklogPage.BacklogTaskCard 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f80647013f1b560dab4e64af278a69d44839918eefa073d4583b6e955b4899"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreExplorer.ScoreExplorer (cyclomatic 17): ScoreExplorer.ScoreExplorer 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 7 function literals inside it that branch (lines 53, 97, 210, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd644be2e98ddf8aea8a258fd73b2826f7bc3e28abd98117612e9b4b32a5bf51"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachmentsSection.AttachmentItem (cyclomatic 17): AttachmentsSection.AttachmentItem has cyclomatic complexity 17 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c63bd52b095e96702694e1560cc333f1a8ad5ec8ed018ac795efca0df34c31"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentSelector.MultiAgentSelector (cyclomatic 17): MultiAgentSelector.MultiAgentSelector 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 5 function items inside it that branch (a function literal at line 93, removeAgent, addCustom, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/MultiAgentSelector.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbde5c388d59ceb8c3be45919a5ac3f8bcbe0d624aa2bf72b0f09d28e0a9d53"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskMetricsPanel.AttemptRow (cyclomatic 17): TaskMetricsPanel.AttemptRow 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae546dfc39b6624c627a58e3a8caf71441ca06c8e996dc361ebf2b031e574a39"}},{"ruleId":"D1","level":"warning","message":{"text":"useBoardDragDrop.useBoardDragDrop.handleDragEnd (cyclomatic 17): useBoardDragDrop.useBoardDragDrop.handleDragEnd 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":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3b136ed53f79ffbaaea3e4cf195b6eae11bb08c6b6414614e7baa34c7ef1cd"}},{"ruleId":"D1","level":"warning","message":{"text":"automation.registerAutomationCommands (cyclomatic 16): automation.registerAutomationCommands has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 107, 64, 15, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/automation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fd22c927e7aabd2ed60d06218428523dbc522fb9550a541c925357118b72dd"}},{"ruleId":"D1","level":"warning","message":{"text":"TelemetryService.getEvents (cyclomatic 16): TelemetryService.getEvents 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 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/telemetry-service.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e4978f4db85b80c499685e797423720fb475401ba8d6c0ef60a65a6fc7cb25"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-code-adapter.normalizeExtraArgs (cyclomatic 16): claude-code-adapter.normalizeExtraArgs 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/claude-code-adapter.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc4420db3ee0aa3a842128f9a3c22e3a4f823c0ca75e662a9bdd045a95a685e"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeService.createWorktree (cyclomatic 16): WorktreeService.createWorktree 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 234). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e804cf650d05acecd622d0d5b27159880bbaa6e9341f05b2d547ef7118684ae"}},{"ruleId":"D1","level":"warning","message":{"text":"LifecycleHooksService.fireEvent (cyclomatic 16): LifecycleHooksService.fireEvent 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 280, 279). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/lifecycle-hooks-service.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cb1b434600e3f8e25441e8781c10ef309cb303b5e3b8df2f06c99fd25a01c5"}},{"ruleId":"D1","level":"warning","message":{"text":"broadcast-repository.parseBroadcastFile (cyclomatic 16): broadcast-repository.parseBroadcastFile 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/storage/broadcast-repository.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"37496b312709973ce9bf331a37aa1ae4bb4f2bac791876f7f567c53bec30b35b"}},{"ruleId":"D1","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.inspectCurrent (cyclomatic 16): FileWorkspaceCheckpointRepository.inspectCurrent 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/workspace-checkpoint-repository.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eab0cc5d19299cbbb1725258efb5c97105e403a9a5f1a6bfb3971dd664149d9"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRoutingService.getFallback (cyclomatic 16): AgentRoutingService.getFallback 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/agent-routing-service.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3185c0b439d4de7b318e36581b76df8e4acc5545b9ed8417902294c8cef38f37"}},{"ruleId":"D1","level":"warning","message":{"text":"SandboxPolicyService.dryRun (cyclomatic 16): SandboxPolicyService.dryRun has cyclomatic complexity 16 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-policy-service.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4b8d6999a6eac310b374ce883bf0e0b753be8d9ca31d72601755f679b0f48c"}},{"ruleId":"D1","level":"warning","message":{"text":"DurableGoalService.recordRunOutcome (cyclomatic 16): DurableGoalService.recordRunOutcome 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/durable-goal-service.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd68986b44df80e20dd7a0a6f5f5db1255dc5ce4fd47fdf919289e9544e74c3"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyService.runWebhookCheck (cyclomatic 16): PolicyService.runWebhookCheck 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/policy-service.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"95143cc7ced27d079baadaa081565d21a0b533dcbe657eee742ef3e167b92d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"GitCompletionEvidenceSource.captureCompletionEvidence (cyclomatic 16): GitCompletionEvidenceSource.captureCompletionEvidence 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, separate the cases: extract each independent branch into its own named function, and 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-envelope-service.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec737dfb7f5a82b40b7e3daeec7bfc15dd7ead05295f25370279cc6594b60f3"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskEnvelopeService.build (cyclomatic 16): TaskEnvelopeService.build 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/task-envelope-service.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d2a951b3d4b4b50413abdddf3c63f20887e49dceb10afa91c47bc4d4185645"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderRuntimeManifestService.probe (cyclomatic 16): ProviderRuntimeManifestService.probe 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/provider-runtime-manifest-service.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7919b490980b551e596c2229ad94efb22a5aabfbcf8e912cf18c01b84dfe23f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBrokerService.issueLease (cyclomatic 16): CredentialBrokerService.issueLease 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/credential-broker-service.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6c1d7097f1323b9badae67d0df6bf25623a3400a0b75771f841c61dec220bd"}},{"ruleId":"D1","level":"warning","message":{"text":"credential-broker-service.assertActionWithinScope (cyclomatic 16): credential-broker-service.assertActionWithinScope 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/credential-broker-service.ts"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c2e7aebf6ffa36780e52ce9a3ec4781d8be3324207f3de0d688d60d2a58f0"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-control-plane-service.listAllTools (cyclomatic 16): tool-control-plane-service.listAllTools 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-control-plane-service.ts"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"404a8f5432fa8e63e3c0917481a6c0f23f7f065319b745cdc2f733fad2e63499"}},{"ruleId":"D1","level":"warning","message":{"text":"AttemptLifecycleCoordinator.persistCompletion (cyclomatic 16): AttemptLifecycleCoordinator.persistCompletion 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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12a398f637842ac42625aba6b87a0ed6395ce8b45c20793c92ce553768a2c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"RunSupervisorService.recover (cyclomatic 16): RunSupervisorService.recover 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/run-supervisor-service.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb1f27d26efa3bacc490891b8bb73849d0da508c074c5db8b5b7b864128126"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceCheckpointAttributionService.loadEventWindow (cyclomatic 16): WorkspaceCheckpointAttributionService.loadEventWindow 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-checkpoint-attribution-service.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d710b8b344b58feffdaf4d1e04e517443bec6dd58486d06f1f9d94cd617ec8d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceCheckpointRewindService.execute (cyclomatic 16): WorkspaceCheckpointRewindService.execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-checkpoint-rewind-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4cdf701b710ce0d67b4e0e18496a9f82deba0d618fdc6d5d263e9f535c665f"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowStepExecutor.recordWorkflowGateTrace (cyclomatic 16): WorkflowStepExecutor.recordWorkflowGateTrace 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/workflow-step-executor.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"663717478404fa9042eb435cd57b8f5c2115e0ab8dc260737bad83ae1b2a58cf"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextProviderHealthService.openClawPrivacyPosture (cyclomatic 16): ContextProviderHealthService.openClawPrivacyPosture 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/context-provider-health-service.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ff329d39ee7da3eb1170710b35928e8efe9d84943fee148a321a0a9fdd01db"}},{"ruleId":"D1","level":"warning","message":{"text":"buzz-compatibility-service.stripTerminalControlSequences (cyclomatic 16): buzz-compatibility-service.stripTerminalControlSequences 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/buzz-compatibility-service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81d0bed26ec778c3aa7558bc626a2703ea7afd8a87f1d730ad112f6d06eb5de"}},{"ruleId":"D1","level":"warning","message":{"text":"communication-adapter-service.sanitizeUrl (cyclomatic 16): communication-adapter-service.sanitizeUrl 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/communication-adapter-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"77202fc95787bc10910199194e0eb0e6e4d06064cebcb5544d07ce9e9369ff7f"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge-collection-service.resolvePageCandidates (cyclomatic 16): knowledge-collection-service.resolvePageCandidates 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"f657ff86cd59190a72b9918b59cbe028571a6091548435b9fbe537f9709ae28f"}},{"ruleId":"D1","level":"warning","message":{"text":"health.buildDeepHealthPayload (cyclomatic 16): health.buildDeepHealthPayload 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/routes/health.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf333ff12f1682d106d99de4fbc467c7077c7a0bec02571be7cd1fd484f0352"}},{"ruleId":"D1","level":"warning","message":{"text":"progress-watchdog-service.suppressedByExpectedRepetition (cyclomatic 16): progress-watchdog-service.suppressedByExpectedRepetition 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/progress-watchdog-service.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddb16d867e56ec9b59d3d61d0cbe2ca3b5383a90d6fcab5c40e10049c9fca35"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportDialog.ExportDialog::handleExport (cyclomatic 16): ExportDialog.ExportDialog::handleExport 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":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e743f9e9f81b377c5e623de7db2d661a66fcee06cd284d8469527549e3cddef"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.handleResponse (cyclomatic 16): helpers.handleResponse has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/helpers.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec8087bfd9a5a16b1f2d3da28c90dd000e83e21032bde8ac39bf6a3e79b7b7"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunTimelinePanel.getTimelineEventType (cyclomatic 16): AgentRunTimelinePanel.getTimelineEventType 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"861eaf1f1e813b6d3546cb51f5ccd05934f8dea66e450d1508a50473002037b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startReservedAgent (cognitive 165): ClawdbotAgentService.startReservedAgent has cognitive complexity 165 (threshold 15). Drivers by points: ternaries 50 (76 pts), if/else 37 (47 pts), boolean chains 28, error handling 8 (12 pts), loops 1 (2 pts) (nesting depth added 41). Of this number, 161 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/clawdbot-agent-service.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f78838fb5c254997874f6132e648bf5de97a4e220c89a220c6d2dddcd28d34"}},{"ruleId":"D2","level":"warning","message":{"text":"NeedsAttentionQueue.buildNeedsAttentionItems (cognitive 156): NeedsAttentionQueue.buildNeedsAttentionItems has cognitive complexity 156 (threshold 15). Drivers by points: ternaries 38 (88 pts), if/else 21 (42 pts), boolean chains 15, loops 11 (nesting depth added 71). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a518be4c871c67121bf74d0448e6d141ffe5a2d45f556e4d9b4e92299c3629bb"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskService.updateTaskMutation (cognitive 153): TaskService.updateTaskMutation has cognitive complexity 153 (threshold 15). Drivers by points: if/else 47 (88 pts), ternaries 8 (34 pts), boolean chains 26, error handling 2 (5 pts) (nesting depth added 70). Most of this is not in the body itself: 6 of the 153 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 908, runMutation, a function literal at line 1093, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/task-service.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30478fa07fd5e0948d402131f2fc0a31726c47f5a89c241dfd58d9db4946840"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.registerAgentCommands (cognitive 144): agents.registerAgentCommands has cognitive complexity 144 (threshold 15). Drivers by points: if/else 67 (70 pts), ternaries 21 (30 pts), error handling 22, boolean chains 12, loops 8 (10 pts) (nesting depth added 14). None of this is in the body itself: all 144 points belong to 23 function literals inside it that branch (lines 904, 227, 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":"cli/src/commands/agents.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"606455a3d2efb2e302152830e1dcd66b883562c48a52d89fa1c88d059bd28786"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskCard.areTaskCardPropsEqual (cognitive 140): TaskCard.areTaskCardPropsEqual has cognitive complexity 140 (threshold 15). Drivers by points: if/else 56 (109 pts), boolean chains 20, loops 5 (11 pts) (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca10b3fa4b67c70e4e08540d8ed84bd158107d37a823aa35ba9ce3624d23d620"}},{"ruleId":"D2","level":"warning","message":{"text":"RunLaunchCompiler.compile (cognitive 129): RunLaunchCompiler.compile has cognitive complexity 129 (threshold 15). Drivers by points: ternaries 81 (110 pts), boolean chains 16, if/else 2 (3 pts) (nesting depth added 30). Of this number, 119 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/run-launch-compiler.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca581477cba1716a40ca2f1259520ed9cc5e8aab399d58a0959f208189c92a"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiUserTab.MultiUserTab (cognitive 112): MultiUserTab.MultiUserTab has cognitive complexity 112 (threshold 15). Drivers by points: ternaries 31 (56 pts), boolean chains 23, if/else 17 (23 pts), error handling 10 (nesting depth added 31). Of this number, 31 points are the body\u0027s own statements and 81 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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"196604c13fc6d1713a1e76a9ac4031f113199e618c854ecb80eb66bed8ff42d8"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunTimelinePanel.buildAgentRunTimelineEvents (cognitive 111): AgentRunTimelinePanel.buildAgentRunTimelineEvents has cognitive complexity 111 (threshold 15). Drivers by points: ternaries 22 (51 pts), if/else 17 (27 pts), boolean chains 24, loops 8 (9 pts) (nesting depth added 40). Of this number, 109 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc604479d4c77b12bfb81b66dd78faade1edc21505215b5e3f1c7555fe5471"}},{"ruleId":"D2","level":"warning","message":{"text":"server.wss.on(\u0022connection\u0022) (cognitive 106): server.wss.on(\u0022connection\u0022) has cognitive complexity 106 (threshold 15). Drivers by points: if/else 45 (83 pts), ternaries 7 (13 pts), boolean chains 9, error handling 1 (nesting depth added 44). Most of this is not in the body itself: 4 of the 106 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 898, a function literal at line 1176, sendRunEvent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/server.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7ee48b4f9e8c3b667da767b7604399b437534725265cf7bfa97f65c84ee104"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startCodexAppServer (cognitive 101): ClawdbotAgentService.startCodexAppServer has cognitive complexity 101 (threshold 15). Drivers by points: boolean chains 46, if/else 32 (36 pts), ternaries 12 (13 pts), error handling 3 (5 pts), loops 1 (nesting depth added 7). Of this number, 35 points are the body\u0027s own statements and 66 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbbe7dcfed01e45660a13e53070cfd0f5ee7df608581f84b6cee8aeb8cb453b"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskCard.TaskCard (cognitive 96): TaskCard.TaskCard has cognitive complexity 96 (threshold 15). Drivers by points: boolean chains 67, ternaries 20 (21 pts), if/else 8 (nesting depth added 1). Of this number, 67 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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bee85bcb9bd164c572f9df753d0e13b067ab23eae9edbb8d239dc353d6e579"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPanel.AgentPanel (cognitive 85): AgentPanel.AgentPanel has cognitive complexity 85 (threshold 15). Drivers by points: boolean chains 49, ternaries 15 (19 pts), if/else 14 (15 pts), error handling 2 (nesting depth added 5). Of this number, 53 points are the body\u0027s own statements and 32 belong to 16 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84f336cd2240414b9bc4d57590c5dd8b950ac6c807e26a397a4afa0940304df"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanBoard.KanbanBoard (cognitive 83): KanbanBoard.KanbanBoard has cognitive complexity 83 (threshold 15). Drivers by points: boolean chains 39, if/else 27, ternaries 11 (15 pts), error handling 2 (nesting depth added 4). Of this number, 28 points are the body\u0027s own statements and 55 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8430dbe7c90edfc5a92f4693af62da398454500a462aaffb017881cddcce4a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.executeRun (cognitive 81): WorkflowRunService.executeRun has cognitive complexity 81 (threshold 15). Drivers by points: if/else 26 (64 pts), ternaries 3 (9 pts), error handling 3 (5 pts), boolean chains 2, loops 1 (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/workflow-run-service.ts"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66d7440da4128a3ff73739d3256bbf4e3ece3bc13507afcb9644da6606c43cc"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateTaskDialog.CreateTaskDialog (cognitive 80): CreateTaskDialog.CreateTaskDialog has cognitive complexity 80 (threshold 15). Drivers by points: boolean chains 29, if/else 19 (28 pts), ternaries 13 (21 pts), error handling 2 (nesting depth added 17). Of this number, 27 points are the body\u0027s own statements and 53 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":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"47add2c9ce12fd50cbe2430210e62bfba03d18073bd29832d32fc6294e7f9395"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionControlService.admitInternal (cognitive 77): AdmissionControlService.admitInternal has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 23 (36 pts), if/else 20 (28 pts), boolean chains 13 (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/admission-control-service.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d464eaaae99388b97d013e30db2f5e001b06894161f4c5139218a823488af535"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoringProfiles.ScoringProfiles (cognitive 77): ScoringProfiles.ScoringProfiles has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 29, ternaries 16 (23 pts), if/else 22, error handling 3 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 59 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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8fbb855a845dc2832fe9c214a373863b88664ad66a187dbd3da1a76cb079b7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunTimelinePanel.AgentRunTimelinePanel (cognitive 77): AgentRunTimelinePanel.AgentRunTimelinePanel has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 37, ternaries 16 (23 pts), if/else 15 (16 pts), error handling 1 (nesting depth added 8). Of this number, 46 points are the body\u0027s own statements and 31 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47610fd5f766244e0652ae5abae63f286e0e48388e0a2b78cb4145ac4316107"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-app-server-adapter.classifyCodexAppServerServerRequest (cognitive 76): codex-app-server-adapter.classifyCodexAppServerServerRequest has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 34 (68 pts), if/else 6, boolean chains 2 (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/codex-app-server-adapter.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1caea5d6a38949882667cbf3507a93deaee7ab094fd68bda0eeb8da831d0dae"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.Header (cognitive 76): Header.Header has cognitive complexity 76 (threshold 15). Drivers by points: if/else 22 (27 pts), ternaries 17 (27 pts), boolean chains 20, error handling 1, match/switch 1 (nesting depth added 15). Of this number, 33 points are the body\u0027s own statements and 43 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":"web/src/components/layout/Header.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071d0fe650e428abf1e4f422fcff5471194f2f2c65472ce0bfabfacb07ffba9"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDetailPanel.TaskDetailPanel (cognitive 72): TaskDetailPanel.TaskDetailPanel has cognitive complexity 72 (threshold 15). Drivers by points: ternaries 15 (30 pts), if/else 19 (22 pts), boolean chains 20 (nesting depth added 18). Of this number, 45 points are the body\u0027s own statements and 27 belong to 18 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4df2fed6fafc31abfdf5b785b2e457e1e88f75dd6d8c8f931390378f7fb8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskWorkView.TaskWorkView (cognitive 71): TaskWorkView.TaskWorkView has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 47, ternaries 10 (16 pts), if/else 5 (6 pts), error handling 1, loops 1 (nesting depth added 7). Of this number, 60 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b818531cf8b985b48c0816dcd7d04970fbaa26596bf3d46ee99a1ccad0878"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeService.mergeWorktree (cognitive 68): WorktreeService.mergeWorktree has cognitive complexity 68 (threshold 15). Drivers by points: if/else 27 (44 pts), error handling 5 (11 pts), boolean chains 10, ternaries 1 (3 pts) (nesting depth added 25). None of this is in the body itself: all 68 points belong to one function literal inside it that branches (line 799). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b174921ba7086dd0ece14c1e7a6e22032132bbff26716aca9df3da87daaac407"}},{"ruleId":"D2","level":"warning","message":{"text":"gateway-chat-client.sendGatewayChat (cognitive 65): gateway-chat-client.sendGatewayChat has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 12, loops 2 (9 pts), error handling 2 (nesting depth added 30). None of this is in the body itself: all 65 points belong to 6 function literals inside it that branch (lines 100, 61, 71, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/gateway-chat-client.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"36893eff5062ef389d2e70970ed167c0b844550b26f88c3ac8ff75df9c9c4480"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowAuthoringService.lintDefinition (cognitive 65): WorkflowAuthoringService.lintDefinition has cognitive complexity 65 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 22, loops 6 (10 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"1347d29465ca9e6d6f1500d80641bf39283920691a4b987fbae855de47ccd942"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startClaudeCode (cognitive 64): ClawdbotAgentService.startClaudeCode has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 18 (21 pts), boolean chains 20, if/else 19 (20 pts), error handling 1 (2 pts), loops 1 (nesting depth added 5). Of this number, 28 points are the body\u0027s own statements and 36 belong to 12 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06aa4a3e7609d40e54a6fe39200a31684b9fd1f5ff3e4521e3517b1e9388838"}},{"ruleId":"D2","level":"warning","message":{"text":"useTaskMetrics.aggregateMetrics (cognitive 64): useTaskMetrics.aggregateMetrics has cognitive complexity 64 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 21, loops 5 (11 pts), ternaries 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTaskMetrics.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c722390c447d27941031d5cca324b095704d8fc39f1c2730d72154b99ecd3f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentHostService.buildHosts (cognitive 63): AgentHostService.buildHosts has cognitive complexity 63 (threshold 15). Drivers by points: loops 15 (34 pts), if/else 10 (27 pts), boolean chains 2 (nesting depth added 36). 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, 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/agent-host-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5768d835c87b6946b1c6bd5c909bc227860c419151c219f443653222bbcbcb8"}},{"ruleId":"D2","level":"warning","message":{"text":"RunSessionSharesSection.RunSessionShareView (cognitive 63): RunSessionSharesSection.RunSessionShareView has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 34, ternaries 16 (22 pts), if/else 4, error handling 3 (nesting depth added 6). Of this number, 39 points are the body\u0027s own statements and 24 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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"be010f1cc2796097ccecb469a9b5442f4478b8a6ba69d1f8704535073ce2bd8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchivePage.ArchivePage (cognitive 63): ArchivePage.ArchivePage has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 30, ternaries 8 (21 pts), if/else 6 (8 pts), error handling 2 (3 pts), loops 1 (nesting depth added 16). Most of this is not in the body itself: 13 of the 63 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 295, a function literal at line 111, handleBulkRestore, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba070af9b74497989b878f3c92bbca19e30e6b1f6de399c03262797a52938be"}},{"ruleId":"D2","level":"warning","message":{"text":"DigestService.generateOperationsDigest (cognitive 62): DigestService.generateOperationsDigest has cognitive complexity 62 (threshold 15). Drivers by points: if/else 21 (44 pts), boolean chains 8, loops 5, ternaries 3 (5 pts) (nesting depth added 25). Of this number, 55 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":"server/src/services/digest-service.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2d1bc180f817b7eefaa36acb8dc6d8b7ced86b91656897319351bc13bcaba8"}},{"ruleId":"D2","level":"warning","message":{"text":"phase-capability-service.compilePhaseCapabilityAuthority (cognitive 60): phase-capability-service.compilePhaseCapabilityAuthority has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (35 pts), ternaries 9 (18 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 26). 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":"server/src/services/phase-capability-service.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d86ab9f769404c5465a6614749238a06521b7f91ab313cc85834acb68f18724"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.capture (cognitive 59): FileWorkspaceCheckpointRepository.capture has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (40 pts), ternaries 5 (7 pts), boolean chains 4, error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 27). Of this number, 54 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b6c9d16e96bedc8881a156e292e66ebc0ee69c71c43b96accdbc603b3b76d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConflictResolver.ConflictResolver (cognitive 59): ConflictResolver.ConflictResolver has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 17 (22 pts), boolean chains 21, if/else 14 (15 pts), error handling 1 (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 32 belong to 12 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"625e3f78e5cc7bcd2be4fe7924d2dc8b40b6724517539d9b9858fcc7d2e09203"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 57): CommandPalette.CommandPalette has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 14 (25 pts), if/else 14 (16 pts), boolean chains 14, loops 1, match/switch 1 (nesting depth added 13). Most of this is not in the body itself: 15 of the 57 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 402, a function literal at line 197, handleKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"430525e071359bdc369585ea013e4f73da256caa76c71f747f2fb6e7f007be64"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.registerSchedulerCommands (cognitive 56): scheduler.registerSchedulerCommands has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (18 pts), ternaries 10 (18 pts), error handling 12 (14 pts), loops 5 (6 pts) (nesting depth added 12). Most of this is not in the body itself: 9 of the 56 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 173, 43, 206, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/scheduler.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"406d523bb8ebfe6e2f56e58e0675b5080f7f0cacef6a56cd255e3c2e4ea2fb90"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.handleStepFailure (cognitive 54): WorkflowRunService.handleStepFailure has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 10, ternaries 7, error handling 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b2b2f79cb46a6da31b456a0e70216f844fa7c1eb0a261391a31226ccfd56e9"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchDialog.SearchDialog (cognitive 54): SearchDialog.SearchDialog has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 10 (18 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 13). Most of this is not in the body itself: 12 of the 54 points are its own statements and the rest belongs to 9 function items inside it that branch (executeTarget, a function literal at line 193, runSearch, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b16885171485ca44bec3a7f8850ab79acfd7287f5ee0e33ad3f60e85b107ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStatusIndicator.AgentStatusIndicator (cognitive 54): AgentStatusIndicator.AgentStatusIndicator has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 35, if/else 14, ternaries 5. Of this number, 27 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":"web/src/components/shared/AgentStatusIndicator.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f6850f22687f8fa94b514ccf147ab547198748b7ec2a0f91a39928c964bced"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolControlPlaneService.prepareRunCatalog (cognitive 53): ToolControlPlaneService.prepareRunCatalog has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (29 pts), ternaries 4 (8 pts), boolean chains 7, loops 3 (5 pts), error handling 2 (4 pts) (nesting depth added 25). Of this number, 42 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/tool-control-plane-service.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55f71424691da0f591570528f70645abd0195bdf876994a438c2d1881862e89"}},{"ruleId":"D2","level":"warning","message":{"text":"SquadChatPanel.SquadChatPanel (cognitive 53): SquadChatPanel.SquadChatPanel has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 16 (20 pts), boolean chains 19, if/else 11 (13 pts), loops 1 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 31 belong to 14 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dcc695bd8883df5088a35ed72342e5cca8aed7390689d061cc051856e24f65"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeStatus.WorktreeStatus (cognitive 53): WorktreeStatus.WorktreeStatus has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 24, ternaries 12 (16 pts), if/else 11, error handling 2 (nesting depth added 4). Of this number, 39 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":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3712dedf3a78fb0fda35c00ab6ade9bd78fb9a99aea11a3faa718a3be50e02b5"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkProductsSection.WorkProductsSection (cognitive 53): WorkProductsSection.WorkProductsSection has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 15 (25 pts), boolean chains 17, if/else 6, error handling 5 (nesting depth added 10). Most of this is not in the body itself: 11 of the 53 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 329, saveEdit, downloadArtifact, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d761c9db4d841626a5bb3965e9775e5727e3e48c638aa3d69403e51a981206b"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks.registerTaskCommands (cognitive 51): tasks.registerTaskCommands has cognitive complexity 51 (threshold 15). Drivers by points: if/else 30 (31 pts), ternaries 7 (13 pts), error handling 6, boolean chains 1 (nesting depth added 7). None of this is in the body itself: all 51 points belong to 6 function literals inside it that branch (lines 148, 21, 59, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/tasks.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37433ee301ac776d953295209d69b6d5208ecc226cc33b58206ee5f8e5cee41"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskMetadataSection.TaskMetadataSection (cognitive 49): TaskMetadataSection.TaskMetadataSection has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 11 (15 pts), boolean chains 12 (nesting depth added 16). Of this number, 19 points are the body\u0027s own statements and 30 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":"web/src/components/task/detail/TaskMetadataSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f969984d13065c92e0af640eb4877b12a954221f32bf2a8cf2fa36eb4c38568"}},{"ruleId":"D2","level":"warning","message":{"text":"RunAccessSummaryService.project (cognitive 47): RunAccessSummaryService.project has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 15, if/else 11, loops 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/run-access-summary-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6293e75b8cec0f6c50d9eb309aae451955e5ed3a06f18c5730db3ac571a9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"setup.registerSetupCommands (cognitive 46): setup.registerSetupCommands has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (37 pts), error handling 3 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 19). None of this is in the body itself: all 46 points belong to one function literal inside it that branches (line 23). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or 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/setup.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d840d92fcd7dc5a4e296012f0e35e7252f6ebedc01df632bd59728a54faa93e1"}},{"ruleId":"D2","level":"warning","message":{"text":"run-launch-manifest-schemas.RunLaunchManifestSchema (cognitive 46): run-launch-manifest-schemas.RunLaunchManifestSchema has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 17, 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/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bbc400b8812397f978e23439a5bb16b6af586d0311352059495fbdae251135"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunicationAdapterService.reconcileBuzzDeliveries (cognitive 46): CommunicationAdapterService.reconcileBuzzDeliveries has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (30 pts), ternaries 4 (7 pts), boolean chains 5, error handling 1 (3 pts), loops 1 (nesting depth added 22). 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/communication-adapter-service.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c4266dcfb05a3dc7c5270a33b62b13c03e14e91cefaf47420b98cfec6b00e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopShellContext.DesktopShellProvider (cognitive 46): DesktopShellContext.DesktopShellProvider has cognitive complexity 46 (threshold 15). Drivers by points: if/else 28, boolean chains 13, ternaries 5. None of this is in the body itself: all 46 points belong to 18 function literals inside it that branch (lines 227, 155, 327, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d004311545f1e7c79b69160898578eb2a47a314e9feba51b1369f77021b1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerTab.SchedulerTab (cognitive 46): SchedulerTab.SchedulerTab has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 12 (24 pts), boolean chains 14, error handling 4, if/else 4 (nesting depth added 12). Most of this is not in the body itself: 12 of the 46 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 313, requestOrApplyActivation, compileDraft, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e1814e3bd672fd33c172efebfa74a4ac3bd6a3fe3f4d53ed266556ecc8cbb2"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSection.WorkflowSection (cognitive 46): WorkflowSection.WorkflowSection has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 9 (20 pts), if/else 14 (15 pts), boolean chains 8, error handling 3 (nesting depth added 12). Most of this is not in the body itself: 9 of the 46 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 201, handleStartWorkflow, a function literal at line 161, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc5c07209b4b6302d9d1d76de68b71568f5200f7bd7486c32d2a7a06191e3a1"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowAuthoringPanel.WorkflowAuthoringPanel (cognitive 46): WorkflowAuthoringPanel.WorkflowAuthoringPanel has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 13 (19 pts), if/else 13, boolean chains 8, error handling 5, loops 1 (nesting depth added 6). 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 (saveWorkflow, materializeRecipe, runBuilderDryRun, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb75c0030540e99430a2628fbcbe6a30a0977b215c2abbf16d55eee81f38a2f"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDatabase.open (cognitive 45): SqliteDatabase.open has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 9 (21 pts), if/else 10 (16 pts), boolean chains 6, error handling 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":"server/src/storage/sqlite/database.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60dc66c263a6c8de8d0a8ad607448fa92e71c139fbcdf11aa146dc367ffdb09"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRecoveryCoordinator.reconcileRunningAttempts (cognitive 45): RunRecoveryCoordinator.reconcileRunningAttempts has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 3 (10 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (nesting depth added 20). Of this number, 44 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-recovery-coordinator.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"969a86c6b8c8d5ea6ca1d08a76037beddf844cd2f10941b5c146ebfe7bd5a371"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowService.validateWorkflow (cognitive 45): WorkflowService.validateWorkflow has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 10, loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-service.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adbca776a0da3d8afa6c5543941509e6de5024b85e9dcf813da2e85bc9081b1"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowStepExecutor.executeLoopStep (cognitive 45): WorkflowStepExecutor.executeLoopStep has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 12, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b480ba3f49b68b5f1c234989a4a620eb1790c96ec36f27aa32f51c408c496a2"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard-metrics.computeAllMetrics (cognitive 45): dashboard-metrics.computeAllMetrics has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 9 (12 pts), boolean chains 9, loops 3 (nesting depth added 10). Of this number, 17 points are the body\u0027s own statements and 28 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/metrics/dashboard-metrics.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b200c95e968997e4ee8c51d9653f1ca6c7b1a752af5a7f4737629837fe9c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.SandboxPoliciesSection (cognitive 45): AgentsTab.SandboxPoliciesSection has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 24, ternaries 8 (10 pts), if/else 7 (9 pts), error handling 1, loops 1 (nesting depth added 4). Of this number, 20 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64892b09057a76338cbb60557853bc6e029395870a2c53763f74cd27e733436"}},{"ruleId":"D2","level":"warning","message":{"text":"BulkActionsBar.BulkActionsBar (cognitive 45): BulkActionsBar.BulkActionsBar has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 11 (17 pts), if/else 15 (16 pts), boolean chains 8, error handling 3, loops 1 (nesting depth added 7). Most of this is not in the body itself: 8 of the 45 points are its own statements and the rest belongs to 8 function items inside it that branch (handleMoveToStatus, handleArchiveSelected, handleMoveToBacklog, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BulkActionsBar.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d38820f06ef39cbb677a3db2e65a621b2268c913a01b2c109664bc0d2993ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"mime-validation.validateMimeType (cognitive 44): mime-validation.validateMimeType has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (39 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mime-validation.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3d9b9c8429eb4e2ff8954c712844b930e4cd33afaa738f27a290c749d9796e"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-capability-service.parseDeclaredCapabilities (cognitive 44): skill-capability-service.parseDeclaredCapabilities has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (32 pts), loops 5 (12 pts) (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/skill-capability-service.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9d8fbf48ce384e5810b11448ff9fb8f4adae3eed61fe7bafcdc454f7f3e9dd"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionExplorer.DecisionExplorer (cognitive 44): DecisionExplorer.DecisionExplorer has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22, ternaries 14 (20 pts), boolean chains 2 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 21 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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da9835a80c82cb25bae339f3b362ed077b7e9e56203032bc24983b8374267fb"}},{"ruleId":"D2","level":"warning","message":{"text":"useBulkTaskMetrics.aggregateTaskMetrics (cognitive 44): useBulkTaskMetrics.aggregateTaskMetrics has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 9, loops 4 (8 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"719c0a15a59f28c91b897c00fa2744556c09c8406ebc1240a4318b53488b0cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"work-product-artifact-preview-service.parseCsv (cognitive 43): work-product-artifact-preview-service.parseCsv has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 7, ternaries 4, 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/work-product-artifact-preview-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"966a74572f8a970d5c47d92758b684ac4e255c30c6b1270e5639d24749da7e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRoutingService.resolveAgentWithTrace (cognitive 43): AgentRoutingService.resolveAgentWithTrace has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 6 (13 pts), boolean chains 5, loops 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-routing-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fc43b028c47e511f26fb22bb91e0a33fa3480291018bc0c83a0605889a04b9"}},{"ruleId":"D2","level":"warning","message":{"text":"run-launch-manifest-service.diffRunLaunchManifests.changes (cognitive 43): run-launch-manifest-service.diffRunLaunchManifests.changes has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 13 (43 pts) (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/run-launch-manifest-service.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b3c3b54c0aa2ca1c542c5eb08418ebb330e4e34972cda5f8270ccfbecd2e56"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolControlPlaneService.invoke (cognitive 43): ToolControlPlaneService.invoke has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 9 (13 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 8). Of this number, 37 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/tool-control-plane-service.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f399b0b7b46e315949981cd903a8eb426ec057ff2c97ffabf278e1b659047e"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionControlService.projectQueueInspection (cognitive 43): AdmissionControlService.projectQueueInspection has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 22 (36 pts), if/else 3 (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":"server/src/services/admission-control-service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c81c77c1875010800037114e458ef18625ffc439d83be75b87e869dbcec2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPanel.ChatPanel (cognitive 43): ChatPanel.ChatPanel has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 15, ternaries 11 (15 pts), if/else 11 (12 pts), loops 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 27 belong to 10 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09d0255e8cfdb80a5d8805828b8df34f2efd47f7fd2243fbcb34f65db9c2795"}},{"ruleId":"D2","level":"warning","message":{"text":"doctor.runDoctorChecks (cognitive 42): doctor.runDoctorChecks has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 17 (33 pts), boolean chains 6, if/else 3 (nesting depth added 16). 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":"cli/src/commands/doctor.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"3230e0d05cb775688fdc76934e5ffc7382060c0f5b36f5fd17d3b1dea448bc6e"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.rewindLocked (cognitive 42): FileWorkspaceCheckpointRepository.rewindLocked has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 6 (14 pts), boolean chains 6, error handling 2 (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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5e3a1842b79cd0b420fac701f9117c4adf16217ac9f10a4354452355b905be"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowAuthoringService.lintPipeline (cognitive 42): WorkflowAuthoringService.lintPipeline has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 14, loops 3 (4 pts), ternaries 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/workflow-authoring-service.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3848f48da935af752241a6c45f86180f396a764d5377c93ee0c2ca1d21592ad"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationActivationService.claimRun (cognitive 42): AutomationActivationService.claimRun has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 20, if/else 12, ternaries 7 (10 pts) (nesting depth added 3). Most of this is not in the body itself: 2 of the 42 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 497, 519, 662). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edfc0449a469dd052d8d1029ec0bd0782ff81ed4e1df7f49f70ed54d92705ed"}},{"ruleId":"D2","level":"warning","message":{"text":"NeedsAttentionQueue.NeedsAttentionQueue (cognitive 42): NeedsAttentionQueue.NeedsAttentionQueue has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 12, if/else 7 (nesting depth added 12). Most of this is not in the body itself: 8 of the 42 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1047, openItem, dismissItem, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8fc5f0e2450ed1c4db35501831c43c53b414f7c5476e157343bfe642f525b2"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.registerAdmissionCommands (cognitive 41): admission.registerAdmissionCommands has cognitive complexity 41 (threshold 15). Drivers by points: if/else 27, error handling 8, loops 6. None of this is in the body itself: all 41 points belong to 8 function literals inside it that branch (lines 163, 47, 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":"cli/src/commands/admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a36cbb30d19c53d474f14f51090467b1543e7a14aa8916b5b2599f1b15112"}},{"ruleId":"D2","level":"warning","message":{"text":"transition-hooks-service.checkGate (cognitive 41): transition-hooks-service.checkGate has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 15, match/switch 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":"server/src/services/transition-hooks-service.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c375b63c764e1f6324af09eeebed721fe89abc3dd9d522ebc55299d3f48acac6"}},{"ruleId":"D2","level":"warning","message":{"text":"DigestService.formatOperationsDigestMarkdown (cognitive 41): DigestService.formatOperationsDigestMarkdown has cognitive complexity 41 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 8 (13 pts), ternaries 4 (13 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/digest-service.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d8f58a407c2b0db7ef0abc8a063b89e2e79c8c1b78b20896cf0e73ef5e35e"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlitePortabilityService.migrateFilesToSqlite (cognitive 41): SqlitePortabilityService.migrateFilesToSqlite has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 10, ternaries 3 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df4f19789e441697f2b5f567e4819368b02e9158d796e8444e5a3bc35931313"}},{"ruleId":"D2","level":"warning","message":{"text":"sprints.registerSprintCommands (cognitive 40): sprints.registerSprintCommands has cognitive complexity 40 (threshold 15). Drivers by points: if/else 26 (30 pts), error handling 6, boolean chains 2, ternaries 2 (nesting depth added 4). None of this is in the body itself: all 40 points belong to 7 function literals inside it that branch (lines 106, 142, 205, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/sprints.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f105c4e9c151987c20fbe914ba355446b18788c8b2274d234a047cf320b3858c"}},{"ruleId":"D2","level":"warning","message":{"text":"token-metrics.computeBudgetMetrics (cognitive 40): token-metrics.computeBudgetMetrics has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 11, error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/token-metrics.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"df276e1e6efa75ba6b8aea11e7c558c214ed79de6a27ebfa53fcacf643e224c4"}},{"ruleId":"D2","level":"warning","message":{"text":"task-readiness.buildDefaultChecks (cognitive 40): task-readiness.buildDefaultChecks has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 17 (24 pts), boolean chains 16 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/task-readiness.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"884a57a1af57b1fd16c6dee5bec46f94cda6b4e40d56f93c8166d5c9c82fd9da"}},{"ruleId":"D2","level":"warning","message":{"text":"work-product-artifact-preview-service.workbookTable (cognitive 39): work-product-artifact-preview-service.workbookTable has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (21 pts), ternaries 2 (9 pts), loops 3 (6 pts), boolean chains 3 (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/work-product-artifact-preview-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d6eae51954497dd3dd1aebcb54d55d7bd75c4991933cd4c0110ed6dcb2ddde"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzSubscriptionWorker.handleMessage (cognitive 39): BuzzSubscriptionWorker.handleMessage has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 5 (12 pts), boolean chains 6, error handling 1, match/switch 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/buzz-subscription-worker.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fce9481f85504ada162b7242907fd002917b98012cd7eae4881989a21cb1a39"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-integrity-service.lintKnowledgeCollection (cognitive 39): knowledge-integrity-service.lintKnowledgeCollection has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 8 (12 pts), boolean chains 4, ternaries 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/knowledge-integrity-service.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22544a24d846c464a6e14d5526dccc45675f4eb8e5f9ed350b7e7232f5d02b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"api-client.createApiClient.api (cognitive 39): api-client.createApiClient.api has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 6 (13 pts), boolean chains 6, error handling 3 (4 pts) (nesting depth added 14). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 188, 186). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/api-client.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e84118f82bafe81cc84117d56299ad3ee4f715c67f70679a3ced28b024f46"}},{"ruleId":"D2","level":"warning","message":{"text":"useKeyboard.KeyboardProvider (cognitive 39): useKeyboard.KeyboardProvider has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 5 (9 pts), boolean chains 8, match/switch 1 (nesting depth added 12). None of this is in the body itself: all 39 points belong to 3 function literals inside it that branch (lines 119, 61, 142). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useKeyboard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b17d439965db4c58d0d519596c258f9dcd32f138998782dc312ec329fbe8357"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSandboxService.compile (cognitive 38): FilesystemSandboxService.compile has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 8 (13 pts), boolean chains 6, loops 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":"server/src/services/filesystem-sandbox-service.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb14ee63a94e32b13a126acf2dde990625cc5fae339b6bbc178c6d2af48d65b"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard-metrics.computeAgentComparison (cognitive 38): dashboard-metrics.computeAgentComparison has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 4 (8 pts), boolean chains 6, loops 1 (nesting depth added 14). Of this number, 20 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/metrics/dashboard-metrics.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd6ffe9091cdd1c63386dc81f5a615c3679aea58005e45b6892ba87de240ca"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationsTab.NotificationsTab (cognitive 38): NotificationsTab.NotificationsTab has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 15 (20 pts), boolean chains 17, if/else 1 (nesting depth added 5). Of this number, 35 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":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cedc72ffbfb715c64d842da2ee1e0295d635782cf048e2d88b41ae3c6eec20"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardSidebar.RecentStatusChanges (cognitive 38): BoardSidebar.RecentStatusChanges has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 5, ternaries 3 (nesting depth added 15). Most of this is not in the body itself: 4 of the 38 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 352, 338, 333, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8f54beebdc0b87ea6b8a2dc65d63b21c249b3d916b5e831843b095ce423f86"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard.Dashboard (cognitive 38): Dashboard.Dashboard has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 27, ternaries 5 (8 pts), if/else 2, match/switch 1 (nesting depth added 3). Of this number, 36 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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2dae819da4b22a58aab758009f82b5dbc71fccbf2a5c53b3df3fbccad649ea"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyManager.PolicyManager (cognitive 38): PolicyManager.PolicyManager has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 15, ternaries 11 (14 pts), if/else 6, error handling 3 (nesting depth added 3). Most of this is not in the body itself: 15 of the 38 points are its own statements and the rest belongs to 14 function items inside it that branch (handleSave, handleToggle, handleDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc4dcb2be812f18d57fea6263d40e0f8013013bb9fd831e103484d2b7bda141"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateEditorDialog.TemplateEditorDialog (cognitive 38): TemplateEditorDialog.TemplateEditorDialog has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 23, if/else 8, ternaries 5 (6 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 14 of the 38 points are its own statements and the rest belongs to 5 function items inside it that branch (handleSubmit, requestClose, a function literal at line 135, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffeca38f2686098749bdc4d419b902c907a3445f968007a666d4a1b1c7565bb"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteJournalMaintenanceService.executeScheduledOperation (cognitive 37): SqliteJournalMaintenanceService.executeScheduledOperation has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 4, ternaries 1 (3 pts), 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a25aa6bed4e4c2d5bb07b46aeb4d0389ac4f1560d8e72c68c69e4255cb7bfbc"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBrokerService.reconcile (cognitive 37): CredentialBrokerService.reconcile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 7, ternaries 3 (5 pts), loops 1 (nesting depth added 12). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 972, 931, 949). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef0457458a4c50637e97833d8f0d4419b88f7066adcea06373ee5825d01a0b6"}},{"ruleId":"D2","level":"warning","message":{"text":"run-metrics.computeFailedRuns (cognitive 37): run-metrics.computeFailedRuns has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 8, error handling 2 (5 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/run-metrics.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cbd95ef18876ee76f29a1678d9043e75a518846edebc0dec43c9400c018819"}},{"ruleId":"D2","level":"warning","message":{"text":"buzz-compatibility-service.stripTerminalControlSequences (cognitive 37): buzz-compatibility-service.stripTerminalControlSequences has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 3 (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":"server/src/services/buzz-compatibility-service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cee1156dbf50cbff151798f18c55c36c0709e369f1599387c2289499b8bdbd"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginScreen.LoginScreen (cognitive 37): LoginScreen.LoginScreen has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 13, if/else 10 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"029692911192fbca2bc16cdcb8de45e265128fc13cb664d0a8eb2c75feed6111"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-app-server-adapter.responseForServerRequest (cognitive 36): codex-app-server-adapter.responseForServerRequest has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (28 pts), if/else 6, boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-app-server-adapter.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed6ec3bbeef2cdcec8fbda8928d73ecb41973db111d1f1c507562e7a9bbc751"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.RoutingRuleForm (cognitive 36): AgentsTab.RoutingRuleForm has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (19 pts), boolean chains 15, if/else 2 (nesting depth added 4). Of this number, 24 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79e1e1515badaadc0d95be731fd18519a58c56f0d456ddb4ee7bbb75a1aba8a"}},{"ruleId":"D2","level":"warning","message":{"text":"RunModeGateSection.RunModeGateSection (cognitive 36): RunModeGateSection.RunModeGateSection has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 18 (26 pts), boolean chains 4, error handling 3, if/else 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 12 of the 36 points are its own statements and the rest belongs to 5 function items inside it that branch (handleQaRequiredToggle, handleQaPassToggle, handleRunModeChange, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"915fd12ff86f200f11bd64e7b0637dd06cabeb5898894684c7f293392e070421"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.authenticateWebSocket (cognitive 35): auth.authenticateWebSocket has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 16). Of this number, 30 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":"server/src/middleware/auth.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d6a4fb58878cbe6827ae13544cdd1463e4a0d2838fcfee4e8f26244f11b8c6"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskService.addDependency (cognitive 35): TaskService.addDependency has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 4, ternaries 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/task-service.ts"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"5009e11615db10ce46d54c3204a9f9d8e18d48ac9ada97a3d508c4e091c36813"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeService.buildCleanupPreview (cognitive 35): WorktreeService.buildCleanupPreview has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 4 (9 pts), boolean chains 8, error handling 2 (nesting depth added 7). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce750e84d3bfe995180c3f8fdd302f5a7833da857417cff4086b3d3d2c3294f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-launch-manifest-service.collectBlockers (cognitive 35): run-launch-manifest-service.collectBlockers has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 10, ternaries 2 (4 pts), loops 2 (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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-launch-manifest-service.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"947adc822edd908a4cdc6bd4598227d00ccc7c8f3eac3047d172c0a0014a586a"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTerminalService.projectReconciliationEvent (cognitive 35): RunTerminalService.projectReconciliationEvent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 7, 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/run-terminal-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac1eb36ab136e09247f193391be7de21d309d46a59290e2eb235ab717201b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionControlService.claimNextQueued (cognitive 35): AdmissionControlService.claimNextQueued has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 3 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 19). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"1478e1148e7ec43999f9a4851b8c0c6aab32af30c37ae525c5a3ce92502c6078"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationLifecycleService.assertCompatible (cognitive 35): ConversationLifecycleService.assertCompatible has cognitive complexity 35 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 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, and where an else follows 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/conversation-lifecycle-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"37687eaef5494244ef70a22d0b599f626229266f8b4176b2cadd268e391c3497"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startCodexCli (cognitive 35): ClawdbotAgentService.startCodexCli has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 16, if/else 11 (15 pts), ternaries 3, loops 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 35 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 7327, 7262, 7296, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7168}}}],"partialFingerprints":{"codehealthFindingId/v1":"432aede8625c8c36ea04d0f282a55cb9fc7abfd4d282db663844b051b96950aa"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-support-service.evaluateHarnessSupportStatus (cognitive 35): harness-support-service.evaluateHarnessSupportStatus has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 15, if/else 13, ternaries 6 (7 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/harness-support-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc712be8a0fca08ed2f54b65b8d2364d0feffb694512db678f6987183eb562b"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry-reader.visitTelemetryEvents (cognitive 35): telemetry-reader.visitTelemetryEvents has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 2 (5 pts), boolean chains 4, ternaries 1 (4 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f337df219dfb5e2986e35699496f2248fb44ee8297d2fa41b59d200cd2aa81"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterBar.FilterBar (cognitive 35): FilterBar.FilterBar has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 21, ternaries 8, if/else 6. Of this number, 20 points are the body\u0027s own statements and 15 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":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d431f20f5ba880cbc2071151c05a802c978c0036fb2d4f314059baa695bd3545"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationsDigestPage.OperationsDigestPage (cognitive 35): OperationsDigestPage.OperationsDigestPage has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 16 (17 pts), boolean chains 12, if/else 6 (nesting depth added 1). Of this number, 22 points are the body\u0027s own statements and 13 belong to 7 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8808d34e75c53e7aad9abc50d06af2a1d0e656a631fc2cae8f1289411caedb3"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewPanel.PreviewPanel (cognitive 35): PreviewPanel.PreviewPanel has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 22, if/else 6, ternaries 5 (6 pts), error handling 1 (nesting depth added 1). Of this number, 22 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/PreviewPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"597dc979b7cd21c4bb2a3c94ae8bf8bc453358f8d00fa3def22b3914c17fc59d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunView.WorkflowRunView (cognitive 35): WorkflowRunView.WorkflowRunView has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 9 (10 pts), boolean chains 9, error handling 4 (nesting depth added 5). Most of this is not in the body itself: 15 of the 35 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 203, handleDistillTemplate, 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":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b72dfe6b254959758bdf2d5522e854469d5e0b99e00889dfba74e04017a5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-support-profile-registry.normalizeHarnessSupportProfile (cognitive 34): harness-support-profile-registry.normalizeHarnessSupportProfile has cognitive complexity 34 (threshold 15). Drivers by points: error handling 5 (10 pts), ternaries 8 (10 pts), boolean chains 9, if/else 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":"server/src/services/harness-support-profile-registry.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9223a9b8e085910afcc7bf7d50c4497c86b39efa57ebc5ed911880798a445b08"}},{"ruleId":"D2","level":"warning","message":{"text":"OutboundIntegrationService.deliver (cognitive 34): OutboundIntegrationService.deliver has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 8 (18 pts), boolean chains 8, if/else 7, error handling 1 (nesting depth added 10). Of this number, 27 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/outbound-integration-service.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94da2ead4ef6a708cb85dc25296c8fee3e03d954ea79ddfdf2c490acb7871d9"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw-gateway-rpc.waitForOpenClawRun (cognitive 34): openclaw-gateway-rpc.waitForOpenClawRun has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 8, ternaries 2 (3 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 34 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 91, a function literal at line 73, lookup). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/utils/openclaw-gateway-rpc.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc202dd5afc5076aa0c2ff6d00ef60c79a66489548abc9f715800d5352f111f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowStepExecutor.executeCodexAgentStep (cognitive 34): WorkflowStepExecutor.executeCodexAgentStep has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (13 pts), ternaries 5 (7 pts), loops 1 (nesting depth added 8). 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/workflow-step-executor.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34b615aeafcec7a2140fc59c19ae170fe25fa059b0816b45be164e729ad1a77"}},{"ruleId":"D2","level":"warning","message":{"text":"run-access-summary-service.projectIntegrations (cognitive 34): run-access-summary-service.projectIntegrations has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 9, if/else 6 (8 pts), loops 1 (nesting depth added 10). 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 literals inside it that branch (lines 625, 633). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the 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-access-summary-service.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c670072c6cc1711f3689606f00c560f9aebaef7f1c550e4b43c6277f2e4c6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"task-metrics.computeVelocityMetrics (cognitive 34): task-metrics.computeVelocityMetrics has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 8, ternaries 3 (6 pts), loops 4, error handling 1 (nesting depth added 10). 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/metrics/task-metrics.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc6e2664d94236a25f55a15962e1d8d151d35f387ea3bb6386267039bc6b834"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzDefinitionImportService.previewPersona (cognitive 34): BuzzDefinitionImportService.previewPersona has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 5, ternaries 3 (nesting depth added 11). 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/buzz-definition-import-service.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff01f21ef7872fa8593cec00d71be526b8c3845f30aef717bd8e6a89d0e87758"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate-legacy-runtime.copyMissingTree (cognitive 33): migrate-legacy-runtime.copyMissingTree has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 3 (6 pts), loops 3 (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":"server/src/utils/migrate-legacy-runtime.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1807f2af40607b9e2abee183a1981c747e27ec8c6a03f72703b8ff84970a3315"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-stdio-adapter.buildGrokBuildAcpArgs (cognitive 33): acp-stdio-adapter.buildGrokBuildAcpArgs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 4 (8 pts), boolean chains 5, 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/acp-stdio-adapter.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dceb2f3b4be32c6a984136c8d179041de931875346a3bd30ba14f2b15fa9a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-run-event-mappers.itemKind (cognitive 33): provider-run-event-mappers.itemKind has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 12, if/else 11, ternaries 5 (10 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/provider-run-event-mappers.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d79614952163367d3615428f446c2f01b33f82ca78c50c00255bf320f085c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SummaryService.generateStandupMarkdown (cognitive 33): SummaryService.generateStandupMarkdown has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 6 (19 pts), loops 4 (8 pts), if/else 6 (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/summary-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"20974a4ee0605544c3c1c4b3535636bcc83764cfb6e44a142324c4225c00f06b"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackersTab.TrackersTab (cognitive 33): TrackersTab.TrackersTab has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 17 (20 pts), boolean chains 8, if/else 5 (nesting depth added 3). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 364, 215, 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":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bf504936cc570c714943af48e7d1bb49f4ea57092504461e28f5b160fb42d2"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowsPage.WorkflowsPage (cognitive 33): WorkflowsPage.WorkflowsPage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 6 (13 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 10). Most of this is not in the body itself: 11 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 141, a function literal at line 110, 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":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"489ec1704060730404153dbaf9538f12995bcc900ce50fa758e3b91df2238226"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.applyCheckpointFiles (cognitive 32): FileWorkspaceCheckpointRepository.applyCheckpointFiles has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 5, error handling 2 (5 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2e169d14e9d13ba344bf3dac6a5832378bb41786dacb65b88986ed1a7413c8"}},{"ruleId":"D2","level":"warning","message":{"text":"run-event-journal-service.normalizeJson (cognitive 32): run-event-journal-service.normalizeJson has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (20 pts), ternaries 4 (9 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-event-journal-service.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d35f9c1e74ddd4111a45b4f91b0df0ead9f5411955d3433ce657329ae8b43d8"}},{"ruleId":"D2","level":"warning","message":{"text":"RunLaunchCompiler.buildRunLaunchRuntime (cognitive 32): RunLaunchCompiler.buildRunLaunchRuntime has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (20 pts), boolean chains 6, if/else 6 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-launch-compiler.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5138acb940206174c95fee7d6ab7c72faed092270036e187dee2fad5683e8558"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.drainAdmissionQueue (cognitive 32): ClawdbotAgentService.drainAdmissionQueue has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 4, ternaries 2 (4 pts), error handling 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/clawdbot-agent-service.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbf8dfe60d49007654ab17259409f37e1909c22b77bc01fbaaf534e92e144bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.completePendingAgent (cognitive 32): ClawdbotAgentService.completePendingAgent has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 8 (9 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 8 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9125b31e476f5410517f00ba3b50734b791a566b9a7e787ed331a6cd8e44d84"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.recordAcpSessionUpdate (cognitive 32): ClawdbotAgentService.recordAcpSessionUpdate has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 10 (30 pts), boolean chains 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5296}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c536b30deb231c2ac0c9a1a19a082edab805d439737c2cdfc0bbc9e921257d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.executeRunTerminal (cognitive 32): ClawdbotAgentService.executeRunTerminal has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 10, boolean chains 6, loops 1 (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d12f95f40cc87f92865adc107af576d8cde63afb5f01cd588df9557eefe994"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzDefinitionImportService.importPersona (cognitive 32): BuzzDefinitionImportService.importPersona has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, if/else 10, ternaries 5 (7 pts) (nesting depth added 2). None of this is in the body itself: all 32 points belong to 3 function literals inside it that branch (lines 1221, 1248, 1296). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fecacbb86a312d218e9b965bac839cf151d6df5d648891c94916165d4b31380"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeCollectionService.preparePageBatch (cognitive 32): KnowledgeCollectionService.preparePageBatch has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 6 (7 pts), ternaries 3 (7 pts), boolean chains 1 (nesting depth added 13). 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/knowledge-collection-service.ts"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7df53a0c58bbac1f528ed35a71406e354299bd62f6521682ffc4d97693f4cdf"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupScreen.SetupScreen (cognitive 32): SetupScreen.SetupScreen has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 12, if/else 10, ternaries 8 (10 pts) (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 10 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":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01c3b4cfbf38800ff13db1d68b358de0fb436393cfd81c9fca26984e8462c72"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageTab.ManageTab (cognitive 32): ManageTab.ManageTab has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, ternaries 8 (11 pts), if/else 7 (8 pts), error handling 1, loops 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 32 points are its own statements and the rest belongs to 8 function items inside it that branch (handleFileSelect, handleExportTemplates, a function literal at line 206, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4684ff7ef019a29654382694e7d61c0c39de0b985bfe8a76b53d375ec8831295"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPoliciesTab.ToolPoliciesTab (cognitive 32): ToolPoliciesTab.ToolPoliciesTab has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 7, if/else 5, error handling 3 (nesting depth added 6). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 188, handleSavePolicy, handleDeletePolicy, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ToolPoliciesTab.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc7cdb7997d95c205e9f07676f349598fb7b107906e79d5595e516a4a845b08"}},{"ruleId":"D2","level":"warning","message":{"text":"BacklogPage.BacklogPage (cognitive 32): BacklogPage.BacklogPage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 6, if/else 6, error handling 3 (nesting depth added 8). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (handleBulkPromote, a function literal at line 75, handleDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e67d54f7e6795f9cf0666240b684da838aeb4fb7b0faab46a194eba44b6a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardPage.DashboardPage (cognitive 32): DashboardPage.DashboardPage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 12 (21 pts), boolean chains 9, if/else 1, match/switch 1 (nesting depth added 9). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/DashboardPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"748b760bfbed48c4dec6239cde705b44cd2153dc8c9e1114d12f633d177f5251"}},{"ruleId":"D2","level":"warning","message":{"text":"summary.registerSummaryCommands (cognitive 31): summary.registerSummaryCommands has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (21 pts), ternaries 2 (6 pts), error handling 3, boolean chains 1 (nesting depth added 9). None of this is in the body itself: all 31 points belong to 5 function literals inside it that branch (lines 112, 66, 10, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/summary.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deb5e09c80f4b726a4000f74ff56738011dfa6b2ec8745049c14e6e0f22c69a"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.handleAgentTool (cognitive 31): agents.handleAgentTool has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 5 (12 pts), boolean chains 2, match/switch 1 (nesting depth added 15). 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":"mcp/src/tools/agents.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc04ed63086cafa7ad10b938cc91cb071941544bf4a8839762fb1a221f138ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRegistryService.reconcileFromTasks (cognitive 31): AgentRegistryService.reconcileFromTasks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 7, 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/agent-registry-service.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"78566caadd4bc60481ce4d06d5735da1e3d65974e96da7c15f098bbe1b90d4f1"}},{"ruleId":"D2","level":"warning","message":{"text":"PhaseTransitionService.transition (cognitive 31): PhaseTransitionService.transition has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (22 pts), ternaries 4 (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/phase-transition-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0b5de49d78656de065146c79050e4a95b82a2ca46d11e761cc9d455fb5cdaa"}},{"ruleId":"D2","level":"warning","message":{"text":"AttemptLifecycleCoordinator.persistCompletion (cognitive 31): AttemptLifecycleCoordinator.persistCompletion has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 2 (5 pts), ternaries 4 (5 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":"server/src/services/attempt-lifecycle-coordinator.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"69edee1bb79ca5fd27e5768bceaa846c4182317304db586b05878ace4d1c9624"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard-metrics.computeTrends (cognitive 31): dashboard-metrics.computeTrends has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, ternaries 3 (5 pts), loops 2 (nesting depth added 6). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 403). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"507d17aff8b023f04748d2ba1265afcced7b21e12af437a4511e9d7751488e5f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.AgentForm (cognitive 31): AgentsTab.AgentForm has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 19, ternaries 11, if/else 1. Of this number, 19 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36904d009021dab37c2156e2e6ec0b6a7cf2aad5afbc67a14aa41e53d8875fc"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzConnectionPanel.BuzzConnectionPanel (cognitive 31): BuzzConnectionPanel.BuzzConnectionPanel has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 11, if/else 4 (5 pts), error handling 1 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4b5aaefa08592bd07ed2d5935e4e6f7224d9b8bd6394189fb90084d59e7b17"}},{"ruleId":"D2","level":"warning","message":{"text":"github.registerGitHubCommands (cognitive 30): github.registerGitHubCommands has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 3 (6 pts), error handling 4 (nesting depth added 5). None of this is in the body itself: all 30 points belong to 4 function literals inside it that branch (lines 97, 63, 144, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/github.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f06d0ef3aeb31a1509b0def31b499f84b4c79dda77ec0471fd3fcb4b7e33358"}},{"ruleId":"D2","level":"warning","message":{"text":"goals.registerGoalCommands (cognitive 30): goals.registerGoalCommands has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12, ternaries 9 (10 pts), error handling 6, loops 2 (nesting depth added 1). None of this is in the body itself: all 30 points belong to 6 function literals inside it that branch (lines 102, 48, 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":"cli/src/commands/goals.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e195a72a937fcb9d0e6be71f8cef7b7d1022231d078821efd1276f2cd85f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-goal-schemas.DurableGoalRecordSchema (cognitive 30): durable-goal-schemas.DurableGoalRecordSchema has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/durable-goal-schemas.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"37782d9b17f158a2e4ecb5429f23b0d3f0076df0a7ded32b3373f6cf3f8ee9a3"}},{"ruleId":"D2","level":"warning","message":{"text":"run-file-provenance-service.projectEvents (cognitive 30): run-file-provenance-service.projectEvents has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 4 (8 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-file-provenance-service.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6be5abbbb566b6e94c2adbd4ee407b04e9c92e72654c21f0e20c124c75411c6"}},{"ruleId":"D2","level":"warning","message":{"text":"credential-broker-service.containsCredentialMaterial::visit (cognitive 30): credential-broker-service.containsCredentialMaterial::visit has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 15, if/else 15. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce84171767056ac8cb35e9d0a7e8176ce17ad3be55ccf0b4e27ffc784801055"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.completeAgent (cognitive 30): ClawdbotAgentService.completeAgent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (11 pts), boolean chains 5 (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/clawdbot-agent-service.ts"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a459c8933f0bebfa85aa5de7732234d3cd90dbb46760471b84a6d1d09259d568"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewService.startPreview (cognitive 30): PreviewService.startPreview has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 9, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 254, 202, 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":"server/src/services/preview-service.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f018b8e9eb38d59b03dd515a8d3b447ea27787f440fec2f39c61381d26c8feac"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionQueuePanel.AdmissionQueuePanel (cognitive 30): AdmissionQueuePanel.AdmissionQueuePanel has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 14, boolean chains 8, if/else 7, error handling 1. Of this number, 19 points are the body\u0027s own statements and 11 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":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d35bf881cb24ae09ca4073e8e1130436a695ce34d35b72e03fdae098ccb0530"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.reconcilePendingRecoveries (cognitive 29): WorkflowRunService.reconcilePendingRecoveries has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 2 (5 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 14). 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/workflow-run-service.ts"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd85f5fb3561245ce4edf25be3f58ba88edfbf086ab0d7f8dd529dfafbcf827"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry-reader.streamEvents (cognitive 29): telemetry-reader.streamEvents has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (18 pts), error handling 2 (5 pts), boolean chains 3, 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/metrics/telemetry-reader.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65d318b2fd720be06fe896f9430b4bbcb7f92dc2a3c8cf3799fbad8282a07e"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopOnboarding.DesktopOnboardingPanel (cognitive 29): DesktopOnboarding.DesktopOnboardingPanel has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, ternaries 13, if/else 3. Of this number, 17 points are the body\u0027s own statements and 12 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":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc7fdddf5fcc57040f8c9cb80b6115b97b2e81d3493604255941e4adb10ccd4"}},{"ruleId":"D2","level":"warning","message":{"text":"BudgetCard.BudgetCard (cognitive 29): BudgetCard.BudgetCard has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 12, if/else 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/BudgetCard.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a0297b70c000db570586960dd770d30333506c89507bc646acd6788efccf11"}},{"ruleId":"D2","level":"warning","message":{"text":"EvidenceTimelinePanel.EvidenceTimelinePanel (cognitive 29): EvidenceTimelinePanel.EvidenceTimelinePanel has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 9, if/else 4 (nesting depth added 2). Of this number, 15 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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d05de879966c11b5e4255cc308eb024027774d585a9c2de013135304bc27eb"}},{"ruleId":"D2","level":"warning","message":{"text":"RunAccessPanel.RunAccessPanel (cognitive 29): RunAccessPanel.RunAccessPanel has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 12, if/else 2 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 10 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":"web/src/components/task/RunAccessPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42dba9a016236a84f0a824e48c2f468a411a59517a5fb79f8e7d740b02182ed"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-stdio-adapter.buildCopilotAcpArgs (cognitive 28): acp-stdio-adapter.buildCopilotAcpArgs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 3 (6 pts), boolean chains 5, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7862bc779138062500bd3eaebe05f954d998f188a75f20d7605b5ed83c6aee40"}},{"ruleId":"D2","level":"warning","message":{"text":"admission-control-schemas.AdmissionQueueEntrySchema (cognitive 28): admission-control-schemas.AdmissionQueueEntrySchema has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, if/else 11, 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/schemas/admission-control-schemas.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c49153e40173738c80b7cf322e1cd62d1b432456bcdb3ed354d84e7275c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"EgressPolicyService.evaluate (cognitive 28): EgressPolicyService.evaluate has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 9, if/else 8 (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/egress-policy-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ccc4d0d80973ebd77f8bb060dea113b883bd794e6ce09d2bd08bb79d9f9283"}},{"ruleId":"D2","level":"warning","message":{"text":"GitCompletionEvidenceSource.captureCompletionEvidence (cognitive 28): GitCompletionEvidenceSource.captureCompletionEvidence has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 14). Of this number, 16 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/task-envelope-service.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4bc463687ba00164e4975597b227e198f04b9fdf0bbb782fc0bd2780c91d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"run-file-execution-policy-service.referenceCandidates (cognitive 28): run-file-execution-policy-service.referenceCandidates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (25 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/run-file-execution-policy-service.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d61843bc2fc45ac14bad60d019d917f4f5ef8b3115452e7d37bfcceea73c25"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunicationAdapterService.sendBuzz (cognitive 28): CommunicationAdapterService.sendBuzz has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 7, if/else 7, error handling 1 (nesting depth added 7). Of this number, 24 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/communication-adapter-service.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e736078676d08c2cfd6c26e453388a3703525796bb58a4681b3cdb69f791b1d"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzDefinitionImportService.previewTeam (cognitive 28): BuzzDefinitionImportService.previewTeam has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 8, loops 2, ternaries 2 (nesting depth added 6). 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":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a63d8f5896fd461e37a545b0faa997e9155ac18d044a538745e044afd226a4"}},{"ruleId":"D2","level":"warning","message":{"text":"MaintenanceService.buildHealthChecks (cognitive 28): MaintenanceService.buildHealthChecks has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 15 (26 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/maintenance-service.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"93997e4f5a43ffa8a1848ede3ba2b940340d579995ee5ee266312d62c7148d93"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationDraftService.validateResolvedFields (cognitive 28): AutomationDraftService.validateResolvedFields has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16e07093b7a8b63298e988df6587f89426a5568f3a5e029f4d289ee221aac23"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactPreviewModal.ArtifactPreviewModal (cognitive 28): ArtifactPreviewModal.ArtifactPreviewModal has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, if/else 8, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 6 function items inside it that branch (download, openCausalEvent, a function literal at line 55, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a22b168500849cb408fe5f79457efd630167f9fd4ccd85c53a201713056c2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"DependenciesSection.DependenciesSection (cognitive 28): DependenciesSection.DependenciesSection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, ternaries 4 (5 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 14 function items inside it that branch (handleAddDependency, a function literal at line 31, a function literal at line 34, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"14df740c281b53e4e9ed833903466d601a6dc6344c77ae03d2e939553efa0e77"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeTrackingSection.TimeTrackingSection (cognitive 28): TimeTrackingSection.TimeTrackingSection has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 8, error handling 4 (5 pts), if/else 5 (nesting depth added 4). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 8 function items inside it that branch (handleStartStop, handleAddEntry, handleDeleteEntry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d94682293d23177c6844ecfb17f0838cf99a6a7d4719b9280866bf0565b0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskMetricsPanel.TaskMetricsPanel (cognitive 28): TaskMetricsPanel.TaskMetricsPanel has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, ternaries 9 (12 pts), if/else 4 (nesting depth added 3). Of this number, 24 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddc8b5546d229e8e7f0331f42c5474c8b83cb2e26c97d6f7b417fc98c1bc77c"}},{"ruleId":"D2","level":"warning","message":{"text":"notifications.registerNotificationCommands (cognitive 27): notifications.registerNotificationCommands has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), error handling 5, ternaries 3 (5 pts), boolean chains 3 (nesting depth added 3). None of this is in the body itself: all 27 points belong to 6 function literals inside it that branch (lines 55, 83, 125, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/notifications.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef7266b89b502c5c8a20bb9afecd701e065346b47cae2e92175a9a87d291d56"}},{"ruleId":"D2","level":"warning","message":{"text":"time.registerTimeCommands (cognitive 27): time.registerTimeCommands has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, error handling 4, ternaries 1 (3 pts) (nesting depth added 3). None of this is in the body itself: all 27 points belong to 4 function literals inside it that branch (lines 111, 76, 20, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/time.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde20bec404bf25dd328fa68367409a6ee53cf1cb24f005140a1d5dbc16c4526"}},{"ruleId":"D2","level":"warning","message":{"text":"FileChatRepository.parseSquadMessages (cognitive 27): FileChatRepository.parseSquadMessages has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (nesting depth added 12). 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/storage/chat-repository.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"931f5259d89aa559de5bebe5a98cf0d8a6e2f64abba719cd84e35f1c8744ec26"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCheckpointAttributionService.loadEventWindow (cognitive 27): WorkspaceCheckpointAttributionService.loadEventWindow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-checkpoint-attribution-service.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed74f0647c1b642605b5211c257d88947169ca8e834b7c2c64feb31161d5c588"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.handleClaudeCodeJsonLine (cognitive 27): ClawdbotAgentService.handleClaudeCodeJsonLine has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 6, if/else 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/clawdbot-agent-service.ts"},"region":{"startLine":6851}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c97c33e34f383fe96d5e4475dd15ea680d64c01d1e12e628398b321e404d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startCodexSdk (cognitive 27): ClawdbotAgentService.startCodexSdk has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, ternaries 2, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c036cdef14c0f957cf467d0d3cce6946219284f5d4bf334dd2022936f8b0745"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentHealthClassifierService.classifyAgent (cognitive 27): AgentHealthClassifierService.classifyAgent has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, if/else 10, ternaries 3 (4 pts) (nesting depth added 1). 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: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move 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-health-classifier-service.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7d1b33194ccefd30a43735f202993f44a3b0bde94ff73959e8eea8be3bca17"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzCompatibilityService.probe (cognitive 27): BuzzCompatibilityService.probe has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 3, boolean chains 2, error handling 2 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 13 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/buzz-compatibility-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"901757e8c49fb5410bb04621aa553be5cd37a6d6b748f1c05ff23729795d3f84"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunicationAdapterService.ingestBuzzEvent (cognitive 27): CommunicationAdapterService.ingestBuzzEvent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 7 (8 pts), boolean chains 6, 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/communication-adapter-service.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"c325eee5a88da7a62e6dd75a0dea6323b52c889104ed137dc7e6486563333826"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCapabilitiesTab.WorkspaceCapabilitiesTab (cognitive 27): WorkspaceCapabilitiesTab.WorkspaceCapabilitiesTab has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 9, if/else 4, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (handleSubmit, a function literal at line 51, a function literal at line 55, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"700ed1f9f7df7854fb6e89d3cb96493304022bf852131dac694f0d0d7066d1d6"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardSidebar.AgentStatusPanel (cognitive 27): BoardSidebar.AgentStatusPanel has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, if/else 6, ternaries 2. Of this number, 17 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ab5124e54dd511ebf88a08524957d242d0fb5390e09363dfdadd1b2d8bf946"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityFeed.StatusHistoryPanel (cognitive 27): ActivityFeed.StatusHistoryPanel has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 16, if/else 8, ternaries 3. Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 244, 170, 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":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"020c94ec3e356b645a0c036752c7399b6a9cffd1465037abc181752dfc08bb3a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentComparison.AgentComparison (cognitive 27): AgentComparison.AgentComparison has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 9, if/else 6 (nesting depth added 4). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (handleSort, SortHeader, getBestHighlight, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/AgentComparison.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda08eab93ff325ff7bc86c2810fa86a0d9533830dd08cd6779cc888abe2984c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentsSection.CommentItem (cognitive 27): CommentsSection.CommentItem has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, ternaries 3 (5 pts), error handling 1 (nesting depth added 10). Most of this is not in the body itself: 7 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 148, a function literal at line 163, handleDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6102004b3edbe2ee74d0c18e3f6b5f962618143bec340d3de25e812ce49752"}},{"ruleId":"D2","level":"warning","message":{"text":"sqlite.registerSqliteCommands (cognitive 26): sqlite.registerSqliteCommands has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), error handling 4, boolean chains 2, loops 2, ternaries 1 (2 pts) (nesting depth added 2). None of this is in the body itself: all 26 points belong to 4 function literals inside it that branch (lines 130, 52, 100, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/sqlite.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"366d071055b8d37b73ba755afc3dd6c2b99762917124d061627c0e645a9f0d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.registerWorkflowCommands (cognitive 26): workflow.registerWorkflowCommands has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, error handling 11 (12 pts), boolean chains 1 (nesting depth added 1). None of this is in the body itself: all 26 points belong to 4 function literals inside it that branch (lines 77, 19, 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":"cli/src/commands/workflow.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64aacbe2474121b48cb8b52f110114230405f1ebbcb31943aaeb0968562b0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkProductArtifactRepository.deleteProduct (cognitive 26): FileWorkProductArtifactRepository.deleteProduct has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, error handling 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":"server/src/storage/work-product-artifact-repository.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7145bbc71548412476a0c9be733121c5fbc0c35296fc70f6d9ac143fcae739c2"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkProductArtifactService.registerUnlocked (cognitive 26): WorkProductArtifactService.registerUnlocked has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 7 (9 pts), boolean chains 5 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/work-product-artifact-service.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e9610ff96ff2cb11eac931a7e19f1e32ec6b3d7ba361112eee50080f645499"}},{"ruleId":"D2","level":"warning","message":{"text":"task-envelope-service.captureCompletionGitState (cognitive 26): task-envelope-service.captureCompletionGitState has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, loops 4 (5 pts), ternaries 3 (nesting depth added 6). Of this number, 18 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/task-envelope-service.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5f8ea3b7e94dd84abe22646ac8211ddb0e46a08b2f9b625e7c9718b6b926c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionControlService.cancelExecutionTree (cognitive 26): AdmissionControlService.cancelExecutionTree has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts), loops 2 (nesting depth added 10). 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":"server/src/services/admission-control-service.ts"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb84947f68991f414eece9aa1a7c8c076bab460532469041c7c30824136f928"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startHermesCli (cognitive 26): ClawdbotAgentService.startHermesCli has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (10 pts), ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 7074, 7134, 7103, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6990}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2fe1fa55b485981a24842cdb9e9c1015a5fa857a2070dde98f96fd4c578a17"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueIntakeMonitorService.evaluateGates (cognitive 26): QueueIntakeMonitorService.evaluateGates has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 8 (11 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/queue-intake-monitor-service.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e8acd8045e3d7d50f29ea72bc5911fe1b5708eee55d5ac649aee477b25311"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTab.AddRepoForm (cognitive 26): GeneralTab.AddRepoForm has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 6, if/else 5, error handling 1 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"373a48b9c53bd1191a6120cc9658a6ce8e27f43829a9dc1223ee4028f940e595"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanColumn.KanbanColumn (cognitive 26): KanbanColumn.KanbanColumn has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 11, if/else 2 (nesting depth added 3). Of this number, 18 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":"web/src/components/board/KanbanColumn.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2098ccb41b1134f905eece4d19acc0bdb7d112c6d5fa47ce76ceb4aea2292db2"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveSidebar.ArchiveSidebar (cognitive 26): ArchiveSidebar.ArchiveSidebar has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 3 (6 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 207, handleRestore, handleRestoreFromDetail, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"96442e8342d3f19691c6d8d379f9cae02505120891f7fefabf5e6b6022a63c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"useBoardDragDrop.createBoardKeyboardCoordinates.\u003Creturned closure\u003E (cognitive 26): useBoardDragDrop.createBoardKeyboardCoordinates.\u003Creturned closure\u003E has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7, ternaries 5 (7 pts) (nesting depth added 3). 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":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3121088cfb1e36f49fb12a48a60bab36cbfa8b255d18777d0097a413d500339f"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.authenticate (cognitive 25): auth.authenticate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4, 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/middleware/auth.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"29428b0b1e036c79fbca5e718918ddedecee28ae3a2c15ff8889aade235afe8a"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.prune (cognitive 25): FileWorkspaceCheckpointRepository.prune has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 5 (6 pts), ternaries 1 (3 pts) (nesting depth added 6). 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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed8dac59e39e9c7ad99e823471740c41175f3c6495bdfc386c28cac8afe6ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentProviderAdapterRegistry.stop (cognitive 25): AgentProviderAdapterRegistry.stop has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 7, error handling 1 (2 pts), match/switch 1 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-provider-adapter-registry.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e741cb05cad4c2ab9e56b7bef906fdb17b592b5f694a002f6a1857e64ce52c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCheckpointRewindPreviewService.preview (cognitive 25): WorkspaceCheckpointRewindPreviewService.preview has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 10, ternaries 4, loops 1. Of this number, 18 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":"server/src/services/workspace-checkpoint-rewind-preview-service.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d53d98e6f2c36cdfa6082e313a9bb071c16d3fd31266f1c1ea33efb2d0dbd0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCheckpointRewindService.execute (cognitive 25): WorkspaceCheckpointRewindService.execute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3 (10 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-checkpoint-rewind-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a877f8c5c779c4c05b41c400d1296fc873b395c5fc6382799c740b91cb8c108c"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.dispatchQueuedWorkflowStep (cognitive 25): WorkflowRunService.dispatchQueuedWorkflowStep has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 16, if/else 8, 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/workflow-run-service.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc108c4d2c013ab35c290afb3499187375c1dfbd14ef473a3cfcb54dd68df4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.startAcpStdio (cognitive 25): ClawdbotAgentService.startAcpStdio has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 9, ternaries 5, error handling 1. Of this number, 18 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5139}}}],"partialFingerprints":{"codehealthFindingId/v1":"90066037da6424c0dfd15101b24135d49c3078f34e2d69cee5e5dd72d45a3efa"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsService.search (cognitive 25): DocsService.search has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/docs-service.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa9b9fbf09b0afd0c4f2ffcc84478b79290ab4aabd03fae3599f961cd5a68e"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-integrity-service.lintSemanticCandidates (cognitive 25): knowledge-integrity-service.lintSemanticCandidates has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5, loops 3 (4 pts) (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":"server/src/services/knowledge-integrity-service.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0e204ad8931a7538008cc72d2166fb23c27e4f386e9509e52b790f565b1076"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillRiskDashboardPanel.SkillRiskDashboardPanel (cognitive 25): SkillRiskDashboardPanel.SkillRiskDashboardPanel has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (20 pts), boolean chains 3, if/else 2 (nesting depth added 9). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 240, a function literal at line 106, 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":"web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a17e98c8fee1a856fa309603b1fcc4eea9c279dc3594ec1f2ab3c2cd118987"}},{"ruleId":"D2","level":"warning","message":{"text":"WallTimeToggle.WallTimeToggle (cognitive 25): WallTimeToggle.WallTimeToggle has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 15 (22 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/WallTimeToggle.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b84f216ede8078115104c967a9b6669dbf18a135e6c014f1e406e66a70a3f73"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtasksSection.SubtasksSection (cognitive 25): SubtasksSection.SubtasksSection has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 18, if/else 5, ternaries 2. Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 142, getCriteriaProgress, handleAddSubtask, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/SubtasksSection.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df66c9c9623238a282e4b5311ca07a490f65441cda31fcdfbb4bd7da2d79361"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-status.registerAgentStatusCommands (cognitive 24): agent-status.registerAgentStatusCommands has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (18 pts), error handling 4, boolean chains 2 (nesting depth added 4). None of this is in the body itself: all 24 points belong to 4 function literals inside it that branch (lines 22, 122, 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":"cli/src/commands/agent-status.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da08c2d9d627aa4d4771b150155ac174854346f746ecb58a1be14e001eb7d18"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-code-adapter.normalizeExtraArgs (cognitive 24): claude-code-adapter.normalizeExtraArgs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 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/claude-code-adapter.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee4673613fb9f31d643145493db8850eb74b6b882995232a8ca07bc86c46ac"}},{"ruleId":"D2","level":"warning","message":{"text":"FileChatRepository.listSquadMessages (cognitive 24): FileChatRepository.listSquadMessages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 6, ternaries 4, loops 2 (3 pts) (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own 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/chat-repository.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3cc96017d2cb651cff18c4b0b795cf20e17dd798859f75543299ce5d4bfbdc"}},{"ruleId":"D2","level":"warning","message":{"text":"egress-policy-service.classifyAddress (cognitive 24): egress-policy-service.classifyAddress has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 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":"server/src/services/egress-policy-service.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac808b27018d14c82548baa8aebe125bb001c4fa1ad9bc92d4fab5d1c5f2a8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableGoalSupervisorService.handleRunCompletion (cognitive 24): DurableGoalSupervisorService.handleRunCompletion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (19 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/durable-goal-supervisor-service.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a160baf73605a17f6567b0caacbf8e31a0e2e65361302ba6da0fcdef59491"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionControlService.executionTreeBreakerEvidence (cognitive 24): AdmissionControlService.executionTreeBreakerEvidence has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, loops 3 (4 pts), ternaries 4 (nesting depth added 2). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ba5a62bc136d1dd1774bab145ad2c114081264fbeed6ca538e0ea755319453"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.getStats (cognitive 24): WorkflowRunService.getStats has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4, boolean chains 3, ternaries 2 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 5 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/workflow-run-service.ts"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"381c9c473cb0630a4ddc726be21be26d5412a2a8a428b4f235c2ca7c0dcad8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsService.getMetrics (cognitive 24): AnalyticsService.getMetrics has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 5 (7 pts), loops 2 (3 pts) (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/analytics-service.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddf8f2c63a03b33732065e7f6ae5fbe1ca4cc77fd9581bef4264c76110b507b"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-report-service.markdownToHtml (cognitive 24): pdf-report-service.markdownToHtml has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 1 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/pdf-report-service.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8fd3de3074f1e34686b2b8b784f74841766ac4233ea5e0f05dbb65907e3307"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeCollectionService.validateSearchEvidence (cognitive 24): KnowledgeCollectionService.validateSearchEvidence has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f533cd9c04ffd81a21476bc9f651ea10539d69c06f72f6e61f65d5c6066b4a29"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewPanel.ReviewPanel (cognitive 24): ReviewPanel.ReviewPanel has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, if/else 5, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fc62af3c547fb1e021a64a0d3bba53ec15bf1b4c4058fa74bb9b99531ac64b"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDetailsTab.TaskDetailsTab (cognitive 24): TaskDetailsTab.TaskDetailsTab has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (9 pts), if/else 2, error handling 1 (nesting depth added 4). Of this number, 20 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":"web/src/components/task/detail/TaskDetailsTab.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2703c9e8f7ebda8a3ee914c8d8c00f7008dc81a6a616c87c4c781ae81796033e"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplatesPage.TemplatesPage (cognitive 24): TemplatesPage.TemplatesPage has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 15, ternaries 3 (6 pts), if/else 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 157, a function literal at line 52, handleDeleteConfirm). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a1dceaac2e79f2aa905868d3fe96eca49e8a8258e0e90e75ea8f5142cef802"}},{"ruleId":"D2","level":"warning","message":{"text":"backlog.registerBacklogCommands (cognitive 23): backlog.registerBacklogCommands has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), error handling 6, boolean chains 1, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 23 points belong to 6 function literals inside it that branch (lines 19, 129, 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":"cli/src/commands/backlog.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c206ec8cc683fb52aae282dd8fd46c011d5b3e5c5a137e3ce0a86b8b5de7d464"}},{"ruleId":"D2","level":"warning","message":{"text":"work-products.registerWorkProductCommands (cognitive 23): work-products.registerWorkProductCommands has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, error handling 5, ternaries 2. None of this is in the body itself: all 23 points belong to 5 function literals inside it that branch (lines 140, 164, 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":"cli/src/commands/work-products.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9ff73419bd3c61752c3d339e74329507a39223d7b5d08167d9ad3417857019"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusHistoryService.getDailySummary (cognitive 23): StatusHistoryService.getDailySummary has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 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":"server/src/services/status-history-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"099077d7f5b0145dbbc51c69a487bcea7706163d9cc905c3156e8f2cabef4b2a"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureWorkProductArtifactSourceReader.read (cognitive 23): SecureWorkProductArtifactSourceReader.read has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 7, 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/storage/work-product-artifact-repository.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e260b2022b8c317d61250be8deea963dd9ae8a343b29ba5ef38de237116ea42"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate-legacy-files.migrateLegacyFiles (cognitive 23): migrate-legacy-files.migrateLegacyFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (10 pts), error handling 3 (8 pts), loops 2 (3 pts), boolean chains 1, 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":"server/src/utils/migrate-legacy-files.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38081f7b3c01251235a9cfed61316214d26d42bd3b1f65ed33a739f1bdc4a76"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRoutingService.getFallback (cognitive 23): AgentRoutingService.getFallback has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 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/agent-routing-service.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99dee8af671749283256b74f7b9f409b69e4ed3509e6e894e890ef89ac456ed"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-completion-service.evaluateCompletionPolicy (cognitive 23): provider-completion-service.evaluateCompletionPolicy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, loops 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/services/provider-completion-service.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d1ca33f16065e3664ced20ed8608e37380e170443e7e54d1b29fe0f9b1eeca"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-event-evidence.extractProviderEventHunkRanges::visit (cognitive 23): provider-event-evidence.extractProviderEventHunkRanges::visit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 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/provider-event-evidence.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"991e7b776c56fb705e7e2ef5e3c85297498e2a5830417feeb549eeb3016c409c"}},{"ruleId":"D2","level":"warning","message":{"text":"RunSupervisorService.recover (cognitive 23): RunSupervisorService.recover has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 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":"server/src/services/run-supervisor-service.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca41a633e19a4e68b33dacc78e0ab3d5d41d803bfb0cdc47cffff897332a531"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRecoveryCoordinator.planTaskRecovery (cognitive 23): RunRecoveryCoordinator.planTaskRecovery has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 6 (7 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-recovery-coordinator.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55c7c948c6c212a6de06a2c2331d3526c8a732dd0c87be5701be88b70d7612a"}},{"ruleId":"D2","level":"warning","message":{"text":"SummaryService.generateStandupText (cognitive 23): SummaryService.generateStandupText has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (9 pts), loops 4 (8 pts), if/else 6 (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/summary-service.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"75db4ba36192468332286d314e2af218c310460acb34d68cac91d6ac1d530f10"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubService.delegateToCodexCloud (cognitive 23): GitHubService.delegateToCodexCloud has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, 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/github-service.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"080529f290f79cc0fd1f90427ab8f553faaadcf0dee82e54556f2a2331754802"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextProviderHealthService.openClawPrivacyPosture (cognitive 23): ContextProviderHealthService.openClawPrivacyPosture has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (7 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/context-provider-health-service.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0bc9f7e58a2b30b6e16fcccf2405c0d51b195a116a64b3857e709f787da217"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemHealthBar.SystemHealthBar (cognitive 23): SystemHealthBar.SystemHealthBar has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 7, boolean chains 6 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/SystemHealthBar.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"909bc75c2799b4b98b8cbd0107506e65f2da565b47beaf42011774444810d591"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsViewer.DocsViewer (cognitive 23): DocsViewer.DocsViewer has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 4 (6 pts), boolean chains 3 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 10 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":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6552b18733cc6e976e0aa4cbbe1932ff5f748f0b0017dfb9cd5d4978fff6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionReviewSessionsSection.DecisionReviewSessionDetail (cognitive 23): DecisionReviewSessionsSection.DecisionReviewSessionDetail has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 11 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"858de3b1d8a18c134682b7da64140732a246e245d9bd53e42b7554986357cd87"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowDashboard.WorkflowDashboard (cognitive 23): WorkflowDashboard.WorkflowDashboard has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 6 (7 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 107, 78, 87, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40407db7fbc0ceb3894e928b822a82ed5f4dda017ac3d60566983bc3f5552d0"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.registerAutomationCommands (cognitive 22): automation.registerAutomationCommands has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 4, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 22 points belong to 4 function literals inside it that branch (lines 107, 64, 15, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/automation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a5c133994c2cbb4cb4609f08e33dda741ea0264ec58ba35049b36ce20862e2"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks.handleTaskTool (cognitive 22): tasks.handleTaskTool has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/tools/tasks.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0cab0096ae56b49947c7212204d5dbaf5675941eacfe47a2d0eaf5c575db9"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkProductArtifactRepository.create (cognitive 22): FileWorkProductArtifactRepository.create has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/work-product-artifact-repository.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d6eb0fa0bd317f6968dd3f7f6ce24addc4e986fcf6a6eed67bf061d94eb468"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-code-adapter.classifyClaudeCodeStreamRecord (cognitive 22): claude-code-adapter.classifyClaudeCodeStreamRecord has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (18 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/claude-code-adapter.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a431607072ff1e5cc3bc122b7571237a611a87a2f2ef21debb7fa869272e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-execution-trust-repository.recursiveCandidates::visit (cognitive 22): workspace-execution-trust-repository.recursiveCandidates::visit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, error handling 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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc11eba5c58de3dd7f6b14c9b0ee2a270df8506e051590056f2214713292b3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkProductArtifactPreviewService.preview (cognitive 22): WorkProductArtifactPreviewService.preview has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-product-artifact-preview-service.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f044739e48a185f20e88a3c6d4f44e2880644894cbc7b838cca345d048c0f4"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-control-plane-service.listAllTools (cognitive 22): tool-control-plane-service.listAllTools has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 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/tool-control-plane-service.ts"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"09becf568790cf007cb38f15be8cf5a7b2ba463e70c113ecadd834f3ba2f34a4"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.reconcileWorkflowStepQueue (cognitive 22): WorkflowRunService.reconcileWorkflowStepQueue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (18 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/workflow-run-service.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"20591b14513b7782e36f66ac2acb7352c52878f2a373dd12de108b7b408ba080"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressWatchdogControlService.inspect (cognitive 22): ProgressWatchdogControlService.inspect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/progress-watchdog-control-service.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f321e1cb92831de5916557e2049502dbf298e1cfd619c9cf998b44913829cff"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalTrackerService.validateProfileAgainstSchema (cognitive 22): ExternalTrackerService.validateProfileAgainstSchema has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-tracker-service.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"3922c872d30dce270c3fb66d0c568cb4f451625ea0b2cf4bd665998b05bf5abf"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeCollectionService.searchCollection (cognitive 22): KnowledgeCollectionService.searchCollection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 5 (7 pts), boolean chains 4, error handling 1 (2 pts), loops 2 (nesting depth added 6). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"12048057071a1eadbca0f4c39ea8589759daffe341fc48a135996693103f5889"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-collection-service.buildProposalContradictions (cognitive 22): knowledge-collection-service.buildProposalContradictions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). 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/services/knowledge-collection-service.ts"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7472a4e735bdfdf6bafc5b1f54fe25f0d2f721648160f1249761d2a270c20d"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-collection-service.resolvePageCandidates (cognitive 22): knowledge-collection-service.resolvePageCandidates has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (7 pts), boolean chains 3, ternaries 1 (nesting depth added 7). Of this number, 14 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/knowledge-collection-service.ts"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b2ea8e22342d08bcfd6a85878965e27e11e28bda78ab042c8f476e8297e361"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewContext.ViewProvider (cognitive 22): ViewContext.ViewProvider has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 3). None of this is in the body itself: all 22 points belong to 12 function literals inside it that branch (lines 118, 196, 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":"web/src/contexts/ViewContext.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"447284eb61c2e55b04857781bf0409fb38959f3ad9674666befce61bd74dca2d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.AgentsTab (cognitive 22): AgentsTab.AgentsTab has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 6, if/else 4 (nesting depth added 4). Of this number, 13 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4785c91f0774b51ab3d137742b18b0eadd14f828c1c344ee9ca4136b154aa03b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.BuzzDefinitionImportSection (cognitive 22): AgentsTab.BuzzDefinitionImportSection has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, ternaries 3 (5 pts), if/else 3 (4 pts) (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"56293edf22f159ca8506348ea11209df57e09519bc44efd259744e8e80662b42"}},{"ruleId":"D2","level":"warning","message":{"text":"MaintenanceTab.MaintenanceTab (cognitive 22): MaintenanceTab.MaintenanceTab has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (8 pts), if/else 4 (nesting depth added 1). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 556, 220, 242, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ef957aa9d6fc0136f4366f714911e90ea80efbe734dc9bf13e2f53948517c2"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterBar.filterTasks (cognitive 22): FilterBar.filterTasks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3 (nesting depth added 8). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 460). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55c3172876dd5b3f10e4a92b350ecae7f105c2f046783dabd31b52ccc9b13c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftMonitor.DriftMonitor (cognitive 22): DriftMonitor.DriftMonitor has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 7, if/else 2 (nesting depth added 1). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 340, a function literal at line 322, a function literal at line 331, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/drift/DriftMonitor.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7f727c1f4fc8c10a06b08136652525f10afd1fefed0c5208b499dcf98934b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplyTemplateDialog.ApplyTemplateDialog::handleApply (cognitive 22): ApplyTemplateDialog.ApplyTemplateDialog::handleApply has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (8 pts), error handling 2, ternaries 1 (2 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":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce584b2f751647ded69fd765a7da482dc91ae4a9d3f5c861f36b40f19c9c674a"}},{"ruleId":"D2","level":"warning","message":{"text":"GitSelectionForm.GitSelectionForm (cognitive 22): GitSelectionForm.GitSelectionForm has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, if/else 4. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/GitSelectionForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b884a66f3053369d917084dbddf883a7232de06dfed6ed6351c296c9159ba361"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskWorkView.getTaskOverviewComposition (cognitive 22): TaskWorkView.getTaskOverviewComposition has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"77663934716e5c8c8970fc012908bcb292f2b33e18e74d3d3277422d50f86609"}},{"ruleId":"D2","level":"warning","message":{"text":"useTasks.useUpdateTask (cognitive 22): useTasks.useUpdateTask has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 4 (6 pts) (nesting depth added 2). None of this is in the body itself: all 22 points belong to 7 function literals inside it that branch (lines 320, 286, 267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9577bec6363faa71d4ce242c20b635fdacf5a7cc0a2fb295f8a6d8afb5a3e2ca"}},{"ruleId":"D2","level":"warning","message":{"text":"TelemetryService.getEvents (cognitive 21): TelemetryService.getEvents 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). 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 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/telemetry-service.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9f8289f9543b76e587602eba2c638bc033497db1935bead8242a9691eaa462"}},{"ruleId":"D2","level":"warning","message":{"text":"url-validation.validateWebhookUrl (cognitive 21): url-validation.validateWebhookUrl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, 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/utils/url-validation.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"335a4c515d96405d459d477b8bfa6b7a66755e18e90ce507896c28368861392b"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegationService.canApprove (cognitive 21): DelegationService.canApprove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/delegation-service.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adcdc0a8efb1abb18f1292146c5315251144b1c590ab6dec456159d41ce811c"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAdmissionReservationRepository.claimMaterialized (cognitive 21): FileAdmissionReservationRepository.claimMaterialized has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 2 (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/storage/admission-reservation-repository.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"508b6f60accc7fc9b3f3bf7efb40fd9744639b6e13f99f79bb8699c0325eed50"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteAdmissionReservationRepository.claimInTransaction (cognitive 21): SqliteAdmissionReservationRepository.claimInTransaction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 2 (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/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c3b487cb78d5298fce430b5fcf4e3717adb08b346e39a9672bb640fbc96d0"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem-sandbox-runtime.assertNoExternalHardLinksRuntime::scan (cognitive 21): filesystem-sandbox-runtime.assertNoExternalHardLinksRuntime::scan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b06a1014997cce6509bf867eb4705464e4ef0f7ebb7e67be5e2a2be47355ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.previewAgentLaunch (cognitive 21): ClawdbotAgentService.previewAgentLaunch has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9, if/else 8, 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd083f66ac15d2aaa14420a87f8b4c8e3b32ebe3b740b88ef92eb7456edeea"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.buildTraceMetadata (cognitive 21): ClawdbotAgentService.buildTraceMetadata has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (21 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/clawdbot-agent-service.ts"},"region":{"startLine":7928}}}],"partialFingerprints":{"codehealthFindingId/v1":"81488439c7ac13689aa3acbb44bdcebc102e2213c5d45b238f56ef42d9824e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.normalizeConversationLaunch (cognitive 21): ClawdbotAgentService.normalizeConversationLaunch has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (8 pts), ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":9031}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb4f00c7eacab35940f346ef03ab1fe1003d2069d1fdad69c62fa5cb8be7cb"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffService.parseUnifiedDiff (cognitive 21): DiffService.parseUnifiedDiff has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/diff-service.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce511b3ec8345d0d0fa1ca15e6465ac0af2b0f5e43213ce59dbcc3e99063796c"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftService.getDailyMetricValues (cognitive 21): DriftService.getDailyMetricValues has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 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":"server/src/services/drift-service.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaeadf852a0674dd26cd5ae9f9f0b8486b749d22ec3d3b71398c1fe83a58e18"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeCollectionService.createIngestionProposalInternal (cognitive 21): KnowledgeCollectionService.createIngestionProposalInternal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 3 (4 pts) (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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/knowledge-collection-service.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a6e698e00967b872ea9e4e170dcac75dd1b4af11c1d362f37de0fa367cf7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"integrity-service.checkTaskFiles (cognitive 21): integrity-service.checkTaskFiles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 2 (6 pts), ternaries 2 (6 pts), error handling 3 (5 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/integrity-service.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"312da297b482be0883067409c4f4081ade9403aa1aa7823def0de863fbd6d622"}},{"ruleId":"D2","level":"warning","message":{"text":"DeliverablesSection.DeliverableItem (cognitive 21): DeliverablesSection.DeliverableItem has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (7 pts), error handling 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (handleSaveEdit, handleCancelEdit, handleDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a70f0c5500e2ded658c834aa16d5a32db62cfbce3dd9fb32fb2ab9ba9d0931"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowAuthoringPanel.WorkflowDefinitionEditor (cognitive 21): WorkflowAuthoringPanel.WorkflowDefinitionEditor has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11, boolean chains 10. Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 13 function items inside it that branch (updateWorkflowBudgetLimit, updateAgentBudgetLimit, a function literal at line 1021, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6ece29e6ffff2e737fcb1cd1c067545924dc882221e65c7e695cacc98f927f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowDetailView.WorkflowDetailView (cognitive 21): WorkflowDetailView.WorkflowDetailView has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (7 pts), if/else 4 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad621e7f0d3b2507b3e6f7006c64f54542cca5235b97bd6655c676f56578c97"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsWindowController.open (cognitive 20): SettingsWindowController.open has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/settings-window.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dd5a1c5e549f3a465d75636fbadf08f30776d1faa84ab385c29f9ecb5e0bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"FileRunOutputArtifactRepository.scanWorkspace (cognitive 20): FileRunOutputArtifactRepository.scanWorkspace has cognitive complexity 20 (threshold 15). Drivers by points: if/else 2 (10 pts), loops 4 (10 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":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3e8e62065a4b0ef682579b6fc4bf2430e67fb698b76233907cccbd73a55317"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkflowRunRepository.readRun (cognitive 20): FileWorkflowRunRepository.readRun has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workflow-run-repository.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b42ae48bcec707101fa0977c63056f28bc6d093ec71f05220f26e65bcec13b1"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem-sandbox-runtime.assertProtectedMetadataPathsRuntime (cognitive 20): filesystem-sandbox-runtime.assertProtectedMetadataPathsRuntime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02d46ce7b8e6cb904c7d4a0e5f39486cbfe82fbe01f3b40d340c19195b99a2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentHealthService.checkAuth (cognitive 20): AgentHealthService.checkAuth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 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/agent-health-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ed6531fbedfd65e2a888ed5f4a21e8865804c79a75b8025cc368daace59b74"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolControlPlaneService.resolveCredentialTargets (cognitive 20): ToolControlPlaneService.resolveCredentialTargets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 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/tool-control-plane-service.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd8bf68e3dbff222121787ca6ccaba812b00eb4cdc701ddc59eeab659c3bbcf"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTerminalService.reconcileAttempt (cognitive 20): RunTerminalService.reconcileAttempt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-terminal-service.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"79404e8a58d8e34ca72bceb313376fa2c04da382201e33142dcf723161770ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"RunFileExecutionPolicyService.evaluate (cognitive 20): RunFileExecutionPolicyService.evaluate has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 9). 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/run-file-execution-policy-service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18bf330472454ce51d2160fd59aa4454f10a3aa032191838bb867da688cc992"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceExecutionTrustService.evaluateForLaunch (cognitive 20): WorkspaceExecutionTrustService.evaluateForLaunch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, 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/services/workspace-execution-trust-service.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3847a2e4d2e0aad97504885ac9e26d38ce4c513c0ddded0cbd4ef3bad77844"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.reconcileWorkflowRootQueue (cognitive 20): WorkflowRunService.reconcileWorkflowRootQueue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 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/workflow-run-service.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a88b0573701b8d5fef629075d05be019485115ce8e93ffd02b35e8f5ef104"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.startRun (cognitive 20): WorkflowRunService.startRun has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 8 (9 pts), boolean chains 1, error handling 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/workflow-run-service.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2007c3804f13d8d2ff804304ddad055628f8720a21b6f0568ae3c5291f42eca5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-access-summary-service.projectFilesystem (cognitive 20): run-access-summary-service.projectFilesystem has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (18 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/run-access-summary-service.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"912b153f64c7dca8b7bea09dde3c96a0e5b2a7bcc0e76b8d41e16f6f0abd31b5"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftService.buildDailyAggregates (cognitive 20): DriftService.buildDailyAggregates has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 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/drift-service.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"796c783d54891396bc436194f75a8801b3f2f19b6b598439148c6bc3cd4e3e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"BuzzDefinitionImportService.importTeam (cognitive 20): BuzzDefinitionImportService.importTeam has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 2). None of this is in the body itself: all 20 points belong to 2 function literals inside it that branch (lines 1323, 1327). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"385cb4f4cef66bf431b643627c059c34efad33d52117d09a23c5435807ce6fb5"}},{"ruleId":"D2","level":"warning","message":{"text":"buzz-definition-import-service.findForbiddenMaterial (cognitive 20): buzz-definition-import-service.findForbiddenMaterial has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6495fa134b193f9f11a786e72d2becd28cd42b2e0715dc7b297298527681c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationActivationService.finishRunClaim (cognitive 20): AutomationActivationService.finishRunClaim has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 4 (5 pts) (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 762). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"745b08c3fa42c9c067c19e7e34d93bd3c127f1c48688706b838fb1950e65d439"}},{"ruleId":"D2","level":"warning","message":{"text":"FileKnowledgeCollectionRepository.readState (cognitive 20): FileKnowledgeCollectionRepository.readState has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 7, boolean chains 4, 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56dc7d536315194f5d270b464e40c68bffcb1f35d88de7eb69cad6200e94dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-collection-repository.validateKnowledgePageGraph (cognitive 20): knowledge-collection-repository.validateKnowledgePageGraph has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3036235d3194938bd47812c106e5d1ffd52e5657bc44084af5f9f40f634d805"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsDialog.SettingsDialog::renderTab (cognitive 20): SettingsDialog.SettingsDialog::renderTab has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 20. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a5a4b5d90ab08a6390c9a41589917964d20812a0567542af6c77b993cab175"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionQueuePanel.QueueRow (cognitive 20): AdmissionQueuePanel.QueueRow has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14 (16 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":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc2d47156e28fcbe6952a8f933632feb4bc0a30f58257f64e2f85cfcdcace86"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketIndicator.WebSocketIndicator (cognitive 20): WebSocketIndicator.WebSocketIndicator has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13 (19 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":"web/src/components/shared/WebSocketIndicator.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b2fb0bc060fed808c9577c3e32d766ab6c2ef2de87b0a9e92094ba5daef805"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeBreakdownPage.TimeBreakdownPage (cognitive 20): TimeBreakdownPage.TimeBreakdownPage has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 4 (6 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 8 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 95, openSource, a function literal at line 89, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/time/TimeBreakdownPage.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d59693b73d4578a43c964f553c97641dca3f9d907a1f06e54fd87fb7a58026"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEditor.MarkdownEditor (cognitive 20): MarkdownEditor.MarkdownEditor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 4, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 9 function items inside it that branch (handleKeyDown, a function literal at line 48, 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":"web/src/components/ui/MarkdownEditor.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2cfafddda01436d3a5fcb976dd710683f2302758e65bda9b308c4862114f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowStartDialog.WorkflowStartDialog (cognitive 20): WorkflowStartDialog.WorkflowStartDialog has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 5, if/else 5, error handling 2 (nesting depth added 4). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (startRun, a function literal at line 27, a function literal at line 34, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowStartDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bcbc8318974a0b753c17b8e45e8dcec337b584933a1462e85f99ce8af5ba94"}},{"ruleId":"D2","level":"warning","message":{"text":"useAgent.useAgentStream.handleMessage (cognitive 20): useAgent.useAgentStream.handleMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 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":"web/src/hooks/useAgent.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fffef0cd1fbba8051f932f95076b8e1040926edf8a4a198401dd23c442606c"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.registerWorkspaceCommands (cognitive 19): workspaces.registerWorkspaceCommands has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, loops 4 (6 pts), error handling 4, boolean chains 1, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 19 points belong to 4 function literals inside it that branch (lines 42, 83, 117, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/workspaces.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cf23b5cf512e2b4c6905b30850ce1ebd0779fc50b387c979c2c595a86a784d"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteStatusHistoryRepository.getDailySummary (cognitive 19): SqliteStatusHistoryRepository.getDailySummary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/status-history-repository.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5821a46ae331fe240a64b26e16dbf1455988924ae8803bb6ca73641b666ecee"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkProductService.list (cognitive 19): WorkProductService.list has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8 (nesting depth added 1). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 114, 128). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the 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-product-service.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a977d52da5c62989fb01acc91bcf8bf2edadea826123640abdb1fdd2a316f4"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-execution-trust-repository.inspectWorkspace (cognitive 19): workspace-execution-trust-repository.inspectWorkspace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (3 pts), loops 2, boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"175735a4bb1b60e6f690ef0c0e86b06f12470bd8eb42be163411f15bdeec1c44"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOutputSpillService.prepare (cognitive 19): RunOutputSpillService.prepare has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 4, if/else 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/run-output-spill-service.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d91fb2ad47ce44207dd2a7dd800d6a1487058d1fa982bebc8f52df22983181"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamRosterService.resolveRoute (cognitive 19): TeamRosterService.resolveRoute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 3). 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/team-roster-service.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c5fcc126e0254fbc87d0b14afedcbf0ce7798a3c150847798b9db0699d2ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"egress-policy-service.compileHostRules (cognitive 19): egress-policy-service.compileHostRules has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, loops 1 (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/egress-policy-service.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d5cb8e4b30412459e84380a429dc2fe393616ccb8426334fdb5a71d8e99e65"}},{"ruleId":"D2","level":"warning","message":{"text":"run-egress-gateway-service.handleSocksConnection (cognitive 19): run-egress-gateway-service.handleSocksConnection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-egress-gateway-service.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3478a667cbb005f0042e2c0c4aa30c4503cedf5142ca77ad405475c3ea2b3e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-control-plane-service.assertSafeSchema (cognitive 19): tool-control-plane-service.assertSafeSchema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dd0434434219f10aa6e67d71b8580a95b5d4371f0572ce30222c6b95771477"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowStepExecutor.validateCriterion (cognitive 19): WorkflowStepExecutor.validateCriterion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 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/services/workflow-step-executor.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"186fef8d3fb6dc9bca888f2bcc6c677da9da9bc453d898c9cfbfb2ad118a4893"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.admitWorkflowStep (cognitive 19): WorkflowRunService.admitWorkflowStep has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 4, boolean chains 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/workflow-run-service.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf65cacc35ce6205b48db7a8f0edf9f990f57de8e9994c7c4afdfff6287f473d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.finalizePendingAgent (cognitive 19): ClawdbotAgentService.finalizePendingAgent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, error handling 1 (nesting depth added 3). 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/services/clawdbot-agent-service.ts"},"region":{"startLine":3010}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5da29b6fc0bd61d0da825d0fc07c89138f401914225c0f4eb4a555e1b5abf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.evaluatePendingBudget (cognitive 19): ClawdbotAgentService.evaluatePendingBudget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 4359). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6937822e7b21872c3a659dbfcb5e79cef88c9257ba8039bee8add7323dfd6bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.handleCodexAppServerNotification (cognitive 19): ClawdbotAgentService.handleCodexAppServerNotification has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4, 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/clawdbot-agent-service.ts"},"region":{"startLine":6287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b140a4866b7f7622a5c72c7cd168277fb46d88904d5eab2860d975aa4ce6172f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.emitJournalOutput (cognitive 19): ClawdbotAgentService.emitJournalOutput has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 4, if/else 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7863}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deaf179616cc8f64c635b587828f924c56e7087ef185732bf8099fcefeb9d92"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextProviderHealthService.openClawProvider (cognitive 19): ContextProviderHealthService.openClawProvider has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 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":"server/src/services/context-provider-health-service.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106b263ad582e58d1c0b08d95bad58e9e61f064e13cf733c313995c587494ea"}},{"ruleId":"D2","level":"warning","message":{"text":"reflection-consolidation-service.stableDiff (cognitive 19): reflection-consolidation-service.stableDiff has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (5 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 literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/reflection-consolidation-service.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"de45bfa5fb0c150e21993a809d631e2544af2fe5803ee30b08448833c03283c8"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-collection-schemas.KnowledgeIngestionProposalSchema (cognitive 19): knowledge-collection-schemas.KnowledgeIngestionProposalSchema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 2 (3 pts), loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"87be764e5c39967434fd071a2ea319caf4eb7062974daad28b9e3c5f5b89f4e4"}},{"ruleId":"D2","level":"warning","message":{"text":"server.startServer (cognitive 19): server.startServer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 1333). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"5027130548a2e1a3c474611c984b43a28a5b575a91847f19c12c35785703c111"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueMonitorsTab.QueueMonitorsTab (cognitive 19): QueueMonitorsTab.QueueMonitorsTab has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 3 (5 pts), error handling 1, if/else 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 2 function items inside it that branch (a function literal at line 115, mutate). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aef16465744e0e058add2a99c3edfe7115b011ef00c5f7f20f6dab6fc632c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentPanel.MultiAgentPanel (cognitive 19): MultiAgentPanel.MultiAgentPanel has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 5, if/else 3 (4 pts), loops 2 (nesting depth added 1). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 190, 236, 202, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/MultiAgentPanel.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e0c166b4a7591e304199da5702fc9cdf0977ca69c56f899d6f5610a16279b9"}},{"ruleId":"D2","level":"warning","message":{"text":"SquadChatPanel.SquadMessageBubble (cognitive 19): SquadChatPanel.SquadMessageBubble has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, ternaries 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8850c03a3bd22da81ca5d2ad01abb60e93e7bfa2ce944180057aab3016b5a3e2"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentsSection.AttachmentsSection (cognitive 19): AttachmentsSection.AttachmentsSection has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 4 (6 pts), if/else 3, loops 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0f27683b626bf05749a6e364d0aaca75ca81b3823c87754d5c2af89c361b06"}},{"ruleId":"D2","level":"warning","message":{"text":"useBoardDragDrop.useBoardDragDrop.handleDragOver (cognitive 19): useBoardDragDrop.useBoardDragDrop.handleDragOver has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 324). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ac13972a2d7243977ef2f0e772cbb1f1c331139b6c17ea946a9f2692d556c"}},{"ruleId":"D2","level":"warning","message":{"text":"GovernanceTraceService.list (cognitive 18): GovernanceTraceService.list has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 2. 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 104, 120). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/governance-trace-service.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac0fed4a1b7639c06c4dd2538116ba78108b38798593ea0cc2fb2fa90fd07f3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeService.createWorktree (cognitive 18): WorktreeService.createWorktree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 2 (4 pts), error handling 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 234). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"31741d0d38149adcdae26d10581e130d932877710e9179fdf199d21a97114ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeService.deleteWorktree (cognitive 18): WorktreeService.deleteWorktree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 4). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 661). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"b681ac961e3aa29e7bca64dae0b482fd37ee47214e24e531166e564abd9b55b2"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubSyncService.syncFromGitHub (cognitive 18): GitHubSyncService.syncFromGitHub has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (3 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/github-sync-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c41f45209e8ce9eeec835069862dcccf84d867b9a2770781a9ef8058d7db3b2"}},{"ruleId":"D2","level":"warning","message":{"text":"task-envelope-schemas.parseCompletionResultForEnvelope (cognitive 18): task-envelope-schemas.parseCompletionResultForEnvelope has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8 (nesting depth added 4). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/task-envelope-schemas.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"643359312c04fc37013a275ca5a4c253cf772f4db320c2d585b8e17de3af56f3"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-checkpoint-schemas.WorkspaceCheckpointSchema (cognitive 18): workspace-checkpoint-schemas.WorkspaceCheckpointSchema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 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/schemas/workspace-checkpoint-schemas.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee86e20f3370bb9377ddb1ce4922e5de6b33a6d59f50e1d9cd0994f4420727e"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.prepareSafeWorktreeParent (cognitive 18): FileWorkspaceCheckpointRepository.prepareSafeWorktreeParent 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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950ad7c1720de7d0b8ef711ba3836063eec726f1de2e241dd2fae6dfddd8a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem-sandbox-runtime.inspectGitMetadataRoots (cognitive 18): filesystem-sandbox-runtime.inspectGitMetadataRoots has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, error handling 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":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0c286a69c7843d96770669dd8cbf96690348684031f5d0ff70b88a7b70b3ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyService.runWebhookCheck (cognitive 18): PolicyService.runWebhookCheck has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (11 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/policy-service.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad805a05df15020b6f2c9a3aa0bbe2e88774d213c1ecf53c8532c551d1007051"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawCompletionService.observe (cognitive 18): OpenClawCompletionService.observe has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (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":"server/src/services/openclaw-completion-service.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2c809e12e35eaffc92cd4bb325a527591b3928c9107e8f5f43681b37baf91"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-runtime-resolution.buildProviderRuntimeProbeRequest (cognitive 18): provider-runtime-resolution.buildProviderRuntimeProbeRequest has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 4, if/else 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/provider-runtime-resolution.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0faa6eec32287435ab08d5753761811ce80469d39e7c4f0a056f5bc8ad18c3"}},{"ruleId":"D2","level":"warning","message":{"text":"RunApprovalBrokerService.decide (cognitive 18): RunApprovalBrokerService.decide has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, loops 1 (2 pts), ternaries 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":"server/src/services/run-approval-broker-service.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0782a1de2cc259eb3dc6eae11efa2ad62ba8e6653197a0aca99a5541964db547"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRpcSession.post (cognitive 18): HttpRpcSession.post has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 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/tool-control-plane-service.ts"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fcebf1889ae0b3b95485639e23f4da032124a70ac8725f0480b7621f673688"}},{"ruleId":"D2","level":"warning","message":{"text":"run-file-execution-policy-service.snapshotCandidate (cognitive 18): run-file-execution-policy-service.snapshotCandidate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, 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/run-file-execution-policy-service.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed2cd58239a06ac4153fcadf5cb8fde3a7d146b52255d5219dd56710220371"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry-reader.visitSqliteTelemetryEvents (cognitive 18): telemetry-reader.visitSqliteTelemetryEvents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59a4f75c35c4cb19c0f2483492d74d43d273c174f56cf22276fdce384c5add2"}},{"ruleId":"D2","level":"warning","message":{"text":"run-metrics.computeRunMetrics (cognitive 18): run-metrics.computeRunMetrics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 4). 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 45). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/run-metrics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fd8849ec3b5d3c6fe00ce1f663344b3c96d5d3ee3397ee839ff09f96d55eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard-metrics.computeTaskCost (cognitive 18): dashboard-metrics.computeTaskCost has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), ternaries 2 (3 pts), loops 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 one function literal inside it that branches (line 734). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7568987edf6ff225b91679ef6fdcdde7e1c1ecb6e7cfa1bb79b870c437bb2aad"}},{"ruleId":"D2","level":"warning","message":{"text":"queue-intake-monitor-service.scoreCandidate (cognitive 18): queue-intake-monitor-service.scoreCandidate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, 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/queue-intake-monitor-service.ts"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b189d5d4396322a9098c7c3aa2c9de5dc84e5ba3664cd873ce9a6ce3af30e32"}},{"ruleId":"D2","level":"warning","message":{"text":"time-breakdown-service.eventToBlocks (cognitive 18): time-breakdown-service.eventToBlocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, 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/time-breakdown-service.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"18480c4c3fc8366fa11fb469c2755a4c6f059d3dcd632a4f06f90cfff4b616ab"}},{"ruleId":"D2","level":"warning","message":{"text":"lessons.router.get(\u0022/\u0022) (cognitive 18): lessons.router.get(\u0022/\u0022) has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). 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, name the conditions: bind each compound test to a well-named local or a small 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/lessons.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"884bd441404df46689da8533c9873125aac29c98f12274123bf8094d41764004"}},{"ruleId":"D2","level":"warning","message":{"text":"automation-draft-service.parseCronField (cognitive 18): automation-draft-service.parseCronField has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (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/automation-draft-service.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e574ef126a7aa264fa01844031d844508c064605c380c0d84dcacf13c330e46a"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge-integrity-service.locatorExists (cognitive 18): knowledge-integrity-service.locatorExists has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-integrity-service.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f30bd56709a6d40449eb0d224ad98f6dcef4ccc8e07830bc967420b1d8dfd"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-conformance-schemas.harnessConformanceSuiteSchema (cognitive 18): harness-conformance-schemas.harnessConformanceSuiteSchema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/harness-conformance-schemas.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed801eee198f8e2722ddd03e9421dc366f919e937e5b6d405d7bf27e6a59f89"}},{"ruleId":"D2","level":"warning","message":{"text":"SortableListItem.SortableListItem (cognitive 18): SortableListItem.SortableListItem has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 3 (nesting depth added 3). Of this number, 9 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":"web/src/components/settings/SortableListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f32029896dea137b2fcd788847270a7d33df7a612afde80503867a63ac9338"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityTab.SecurityTab (cognitive 18): SecurityTab.SecurityTab has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 6 (7 pts), if/else 3, error handling 1 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SecurityTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c547c7312e07546ac612022fc3021532084f11bc20fa2a1138c410f962fc34"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowAuthoringPanel.DryRunResultPanel (cognitive 18): WorkflowAuthoringPanel.DryRunResultPanel has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 5 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"524991b31f1c78eb4e79dcbeacaea2501954e283577d1c916c1d0003ef3e1c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"sqlite-ownership-lock.acquireSqliteOwnershipLease (cognitive 17): sqlite-ownership-lock.acquireSqliteOwnershipLease has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (3 pts), error handling 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/sqlite-ownership-lock.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"374874fdb9de4b60bcc93e140ee315f314ceda9036c41f86b65498f02fb2cdd4"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityService.resolveExternalIdentity (cognitive 17): IdentityService.resolveExternalIdentity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/identity-service.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6356ed876641016f63b49fe59da78a3c9b8f78cb5fba1566ee0bab046d2d9bfa"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAppServerRpcClient.acceptRecord (cognitive 17): CodexAppServerRpcClient.acceptRecord has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, ternaries 2 (6 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-app-server-adapter.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"208ee6dbcd5280f00fa08446bcdb74a2b7d481cce950e02a969fa9b7a00cafd0"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parseMarkdownFrontmatter (cognitive 17): frontmatter.parseMarkdownFrontmatter has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/frontmatter.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe0a8be82b3adf2ecee3c47bed68dd18c7b6bbe4c29f391de2c711f62a3873f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatService.sendSquadMessage (cognitive 17): ChatService.sendSquadMessage has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (5 pts), ternaries 4 (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-service.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481b9fe9e81f10e13b66f954ff937a7f482cbc09cc8cfbecddb13b6c2773acb"}},{"ruleId":"D2","level":"warning","message":{"text":"url-validation.validateResolvedHostname (cognitive 17): url-validation.validateResolvedHostname has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/url-validation.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e06b896d53b3814476acf2fefd55df7c6f58261a84c06026a6a01f6223b1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"transition-hooks-service.executeAction (cognitive 17): transition-hooks-service.executeAction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, 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":"server/src/services/transition-hooks-service.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c130281e347572e498ecd9eab9453b842b66e350ebef586475ce1a0a511747"}},{"ruleId":"D2","level":"warning","message":{"text":"response-envelope.normalizeErrorBody (cognitive 17): response-envelope.normalizeErrorBody has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 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/middleware/response-envelope.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f02c1e7a1e482162784449fefbe7a231633dfbec0593baf34820e69507528c3"}},{"ruleId":"D2","level":"warning","message":{"text":"FileRunOutputArtifactRepository.cleanup (cognitive 17): FileRunOutputArtifactRepository.cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), boolean chains 2, ternaries 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":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"92340046c8cde047df2813e3cac4afcda9ffa057b066d984c782fe3f09af93b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteOperationalProvenanceRepository.baseQuery (cognitive 17): SqliteOperationalProvenanceRepository.baseQuery has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 14 (17 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/storage/sqlite/provenance-repository.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d36ff189266db0c0bbc25e17876d8a617278c45b323c2474bcc150add6a489e"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-checkpoint-repository.validResolvedPreview (cognitive 17): workspace-checkpoint-repository.validResolvedPreview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 6). 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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"982a67bb1d74e27cbdf6c26215cbda88b36ec1cb6139d2253e4f9237febbfe88"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionService.list (cognitive 17): DecisionService.list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 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 133). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the 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-service.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd562c80208f06d3c7054b49868ca254396b0a5577370783c2415021fd1a79ea"}},{"ruleId":"D2","level":"warning","message":{"text":"task-envelope-service.readIndexBlobHashes (cognitive 17): task-envelope-service.readIndexBlobHashes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 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":"server/src/services/task-envelope-service.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4c14fe131d735d819350271ae130dbf0df8757afb76dee95fc8954cb8048ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolControlPlaneService.acpConfig (cognitive 17): ToolControlPlaneService.acpConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 9). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"796c5e0490e498a2bf381a96c31af17107f848a23a189db1bb865cb7352e2f49"}},{"ruleId":"D2","level":"warning","message":{"text":"RunLaunchCompiler.buildRunLaunchEnvironment (cognitive 17): RunLaunchCompiler.buildRunLaunchEnvironment has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 4, if/else 4 (nesting depth added 4). 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":"server/src/services/run-launch-compiler.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ffce762b4625c7bbccabefc429079b0dd380458ecf906af4a7327c3fe3bf51"}},{"ruleId":"D2","level":"warning","message":{"text":"AttemptLifecycleCoordinator.assertCompletionBinding (cognitive 17): AttemptLifecycleCoordinator.assertCompletionBinding has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, if/else 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attempt-lifecycle-coordinator.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34661041a36c49f2b37fce3020054ec2b2608be827fd026b957df8b74dda21e"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-event-evidence.extractProviderEventToolName::visit (cognitive 17): provider-event-evidence.extractProviderEventToolName::visit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-event-evidence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8381d54793ac4d7c4bb7f7b7bdf2272af1636f33ade9b38cca026d3615223226"}},{"ruleId":"D2","level":"warning","message":{"text":"admission-queue-scheduler.orderAdmissionQueueEntries (cognitive 17): admission-queue-scheduler.orderAdmissionQueueEntries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-queue-scheduler.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db80954a3b4f0c1350dd559f31b29e5aeb9181f30584191eda449cfcec173c"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowStepExecutor.recordWorkflowGateTrace (cognitive 17): WorkflowStepExecutor.recordWorkflowGateTrace has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac2977bf159ee7b47aeddee1e5ed8c48b7953a1e0abf69f0196521812e12824"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunService.dispatchQueuedWorkflowRoot (cognitive 17): WorkflowRunService.dispatchQueuedWorkflowRoot has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12, 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/workflow-run-service.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f6c6ad034380f260803b4e71a523bc4ffa07a106c76f0d99787e0f5668db0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.handleCodexSdkAdapterError (cognitive 17): ClawdbotAgentService.handleCodexSdkAdapterError has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 2 (3 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/clawdbot-agent-service.ts"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b375bf71493064c511911d1d8f96532efcbfe27f2e19ee5e10bc047e50f4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"SummaryService.generateMemoryMarkdown (cognitive 17): SummaryService.generateMemoryMarkdown has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (6 pts), boolean chains 3 (nesting depth added 5). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 205, 197, 218, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/summary-service.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"718250f61ec29623ae883e8368ac24f10885539725647af1607ca8125070b16c"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadcastStorageService.list (cognitive 17): BroadcastStorageService.list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/broadcast-storage-service.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1c07a7d2a2fcc7540183f798fc3eb2409b5e8da05f254899efe0634c87c84e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsService.getTimeline (cognitive 17): AnalyticsService.getTimeline has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5 (6 pts), boolean chains 3 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows 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/analytics-service.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"661954d57cb2cdd0420ce99dd593f17851ea7046c4d47fce798bb6d1e05c871a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsService.calculateAgentUtilization (cognitive 17): AnalyticsService.calculateAgentUtilization has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/analytics-service.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"709da35ddc5666968978471744aa274ad6baaa49f3393fb3a86ff3eef339a342"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowAuthoringService.lintOutputTargets (cognitive 17): WorkflowAuthoringService.lintOutputTargets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a33050e037c35486e811e4401543c22bf57ec3779ae9a6d746af12c0f77700"}},{"ruleId":"D2","level":"warning","message":{"text":"automation-draft-service.validateBudgets (cognitive 17): automation-draft-service.validateBudgets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 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/automation-draft-service.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7600075822a0a523e3727c8a02546c3f2b60493d631e8f4262a7756ac14fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationActivationService.apply (cognitive 17): AutomationActivationService.apply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, ternaries 1 (nesting depth added 2). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/automation-activation-service.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e8169959f67cf5694a9e764705ccbbe49770972302ffcaf47eb93c2099440"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpJsonRpcPeer.acceptRecord (cognitive 17): AcpJsonRpcPeer.acceptRecord has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 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":"shared/src/utils/acp-json-rpc-peer.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1732456af7e78c9ab70a86b7c9f3c1a87f1f97b76f06c9fffa3ee488fc2ee838"}},{"ruleId":"D2","level":"warning","message":{"text":"toaster.Toaster (cognitive 17): toaster.Toaster has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), loops 2, boolean chains 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 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":"web/src/components/ui/toaster.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cc4b72abfa78ed1edc4e8d3673596855cb87f74bfb31213bacb21dfa8eb020"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.RoutingRulesSection (cognitive 17): AgentsTab.RoutingRulesSection has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, if/else 3. Of this number, 10 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61c4c7e0a20b52493280111eb4ae911339821c2b4015bd048af96bd0d93f04"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSettingsWindow.NativeSettingsWindow (cognitive 17): NativeSettingsWindow.NativeSettingsWindow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 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 3 function literals inside it that branch (lines 20, 18, 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":"web/src/components/settings/NativeSettingsWindow.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eafe17faf17f2eccebbb7f42bda06fcfa998e17a4d22c7e9116e55a045858c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreExplorer.ScoreExplorer (cognitive 17): ScoreExplorer.ScoreExplorer has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (7 pts), if/else 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 53, 97, 210, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf013a304c1b51bf5f4ed0b5aa51cd04d0f639b4b77a16d8e8465f99c36e712"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunTimelinePanel.EventRow (cognitive 17): AgentRunTimelinePanel.EventRow 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b9f9db364b825905fc60996a60498f51a443b611ac9b32b3987a2e0fd26bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"prompts.planPromptTemplateImport (cognitive 16): prompts.planPromptTemplateImport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/prompts.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0599533cf83d01d02bd8e9e3f57c1443a16b6f9e17a8abb8bf4f4b1a036542"}},{"ruleId":"D2","level":"warning","message":{"text":"queue-monitors.registerQueueMonitorCommands (cognitive 16): queue-monitors.registerQueueMonitorCommands has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 2 (5 pts), error handling 3, loops 2 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 83, 24, 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":"cli/src/commands/queue-monitors.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eedfbef2f2c8ea7b2a8763cbacda6c41254049c9cf9a0c46111b4bfbf661fd"}},{"ruleId":"D2","level":"warning","message":{"text":"BOARD-COLOR-EXPLORATION-1301.html.cardMarkup (cognitive 16): BOARD-COLOR-EXPLORATION-1301.html.cardMarkup has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 2, 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":"docs/design/BOARD-COLOR-EXPLORATION-1301.html"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8aeb5c869118404d9a2c603be14fa716102b1cbe1b9e636bf00f555ccf904a"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-code-adapter.buildClaudeCodeArgs (cognitive 16): claude-code-adapter.buildClaudeCodeArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/claude-code-adapter.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a626f2da2b775582f405cbb63af1e1f0ebdba67eae4a2eca6c347021aaf63ef"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-app-server-adapter.collectResourceScope::visit (cognitive 16): codex-app-server-adapter.collectResourceScope::visit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 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/codex-app-server-adapter.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"848f839ed43fbb8fe43b11e42d26ea2b35c5567cd2441d689e9d8e963401f5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeService.adoptLegacyWorktree (cognitive 16): WorktreeService.adoptLegacyWorktree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1. None of this is in the body itself: all 16 points belong to 5 function literals inside it that branch (lines 375, 366, 435, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"83766791ec318096708007e2940ce10bfe7b8cbf8a3ecfb319a5f6a192993ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAdmissionReservationRepository.claimOrEnqueue (cognitive 16): FileAdmissionReservationRepository.claimOrEnqueue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 82, 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/storage/admission-reservation-repository.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"902e3270298913da0be882fb02427b0443181c22294023ab841cd5fbfcb80db8"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWorkspaceCheckpointRepository.inspectCurrentFile (cognitive 16): FileWorkspaceCheckpointRepository.inspectCurrentFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, error handling 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c18b612337cd487d2bb4b9fc86b1f67104c3b7989cb825d6429add9c9c74f71"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem-sandbox-runtime.runtimePackageRoot (cognitive 16): filesystem-sandbox-runtime.runtimePackageRoot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 2, error handling 1 (2 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ffb08128fee9a9eb4b6d761336db8b9e081e9f27106c4b353294a9c53da89"}},{"ruleId":"D2","level":"warning","message":{"text":"RunEventJournalService.append (cognitive 16): RunEventJournalService.append has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (9 pts), error handling 1 (3 pts), loops 1 (2 pts), boolean chains 1, 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":"server/src/services/run-event-journal-service.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"891ebf4b21eb0ed5c3d823a4a879a02660d2875822312e86d326c81dcad667bf"}},{"ruleId":"D2","level":"warning","message":{"text":"RunEventJournalService.subscribe (cognitive 16): RunEventJournalService.subscribe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), boolean chains 1, error handling 1 (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named 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-event-journal-service.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b85bb30e3cfdbc661ec6b1c2a656077913babe33038398ef719c235c70e4bc"}},{"ruleId":"D2","level":"warning","message":{"text":"run-egress-gateway-service.forwardHeaders (cognitive 16): run-egress-gateway-service.forwardHeaders has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 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/run-egress-gateway-service.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d603389f2a76f4127375c71c4e029fc167f3743a168efbb3a666a649df7555"}},{"ruleId":"D2","level":"warning","message":{"text":"task-envelope-service.parseGitNameStatus (cognitive 16): task-envelope-service.parseGitNameStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (5 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/task-envelope-service.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0838975effdfb12967a9810ad96db74dc419068451d4ffeb06b808e8acbe3e"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-launch-credential-plan-service.compileProviderLaunchCredentialPlan (cognitive 16): provider-launch-credential-plan-service.compileProviderLaunchCredentialPlan has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 2, if/else 1 (2 pts), loops 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-launch-credential-plan-service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1458fa501277856401e1e2b5d7bc38b377a82ffe7c546c6e946e8238f6892f92"}},{"ruleId":"D2","level":"warning","message":{"text":"RunLaunchManifestService.compile (cognitive 16): RunLaunchManifestService.compile has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 11 (12 pts), boolean chains 4 (nesting depth added 1). 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: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move 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-launch-manifest-service.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"193e2e84265bdfeda04dc39fb57c1589b7994c094ae425b3ca1156b9fb3ee2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"run-approval-broker-service.canonicalizeExactAction (cognitive 16): run-approval-broker-service.canonicalizeExactAction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, 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 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/run-approval-broker-service.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e6a4fe1c411b90d956bb4e306549f8b1e0497497b726eb1c972be867de51c0"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBrokerService.withCredential (cognitive 16): CredentialBrokerService.withCredential has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 4 (5 pts), error handling 2, boolean chains 1 (nesting depth added 1). Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"132ceb1fd67f5266ce44ec354c0c6c9f32561b576e9933c482b734e15a987af3"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolControlPlaneService.compileCredentialBindings (cognitive 16): ToolControlPlaneService.compileCredentialBindings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b429df71647336336cccea8544c58dc203b492915eed8e7fd35328979d345e"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-event-evidence.extractProviderEventPaths::visit (cognitive 16): provider-event-evidence.extractProviderEventPaths::visit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 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/provider-event-evidence.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc63bd3da252e405e128b42fe0f38f138763bf173cb5063b94752f980f84b69c"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-checkpoint-diff-service.parseWorkspaceCheckpointUnifiedDiff (cognitive 16): workspace-checkpoint-diff-service.parseWorkspaceCheckpointUnifiedDiff has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-checkpoint-diff-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e2ffb3c5f9a36a9807a8ca348f994bad39ac1a7f97d85a4896f5ebddd629be"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRecoveryPolicyService.classify (cognitive 16): RunRecoveryPolicyService.classify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-recovery-policy-service.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"487828eb2128731f992190c4932b29511efd21bf8d4ca3264eb2a43c4f746be6"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRecoveryCoordinator.reconcilePendingRecoveries (cognitive 16): RunRecoveryCoordinator.reconcilePendingRecoveries 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":"server/src/services/run-recovery-coordinator.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea04306e38bafc1d5c27d74f51ce63fcb9cf0a82e7bdbb1b09143157ef45dc5d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.persistRestartedProviderCompletion (cognitive 16): ClawdbotAgentService.persistRestartedProviderCompletion has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 4, 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/clawdbot-agent-service.ts"},"region":{"startLine":2846}}}],"partialFingerprints":{"codehealthFindingId/v1":"316aafebabf860cc769ff435c28032dd4963f4dd5d4be012dc23bcf98e483b21"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdbotAgentService.recordCodexEvent (cognitive 16): ClawdbotAgentService.recordCodexEvent has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 6, 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7968}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc95f39aeae284e8eea2b4a2a3097ec18464ca571bd8e17ed458277ed8300ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ChangesService.getChangesSince (cognitive 16): ChangesService.getChangesSince has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 2 (6 pts), boolean chains 2, ternaries 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":"server/src/services/changes-service.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ef8812254f3417279c76d7a1366238ba2be46624d2597ed2a887cd42793a27"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSecurityService.auditWorkflowSkills (cognitive 16): SkillSecurityService.auditWorkflowSkills has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 6, boolean chains 2, loops 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 975). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the 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-security-service.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"65133d6e6afb43911ba41d84615a74be538a2e9b6fcd93263162e2039d58b57a"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-security-service.extractSkillReferences::collect (cognitive 16): skill-security-service.extractSkillReferences::collect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 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/skill-security-service.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14252cb94f91907699ad8c4da7f7c19d297567c2c3dace27039bc93ac54a23a"}},{"ruleId":"D2","level":"warning","message":{"text":"buzz-communication-service.parseBuzzInboundEvent (cognitive 16): buzz-communication-service.parseBuzzInboundEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 5, 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/buzz-communication-service.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e19c25e1077a43767e2cebdf7e6c1342452ee4e992746a0d829ef9686b7502"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlitePortabilityService.writeHumanReadableBundle (cognitive 16): SqlitePortabilityService.writeHumanReadableBundle has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), error handling 1 (2 pts), loops 2, if/else 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e471c14a41cdbf7e479cef71e062b8a914a74474d4063c130a052a2346cc095"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteKnowledgeCollectionRepository.transitionProposal (cognitive 16): SqliteKnowledgeCollectionRepository.transitionProposal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, loops 3, error handling 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own 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/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a175512b9d37d72f4371581b5f2716f71311d2b8ce19a26b96325d269ea415e3"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeCollectionService.transitionClaim (cognitive 16): KnowledgeCollectionService.transitionClaim has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (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/knowledge-collection-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"427938dddb44867d2dc16f947da8b81c870cec6ac543f3b32cdca7d771d7f163"}},{"ruleId":"D2","level":"warning","message":{"text":"FeatureSettingsWrites.flush (cognitive 16): FeatureSettingsWrites.flush 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":"web/src/lib/feature-settings-writes.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef6aad08cb0e5d271375b0d0b89c7e65e08532ac34bb902b5f59bc5be3f56a8"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMenu.UserMenu (cognitive 16): UserMenu.UserMenu has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 2. Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (formatExpiry, a function literal at line 86, handleMenuKeyDown). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/UserMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11cc14eca3b44537a515eb299ab20dfc5f83a30f58f0118e5ab946885a2d90c"}},{"ruleId":"D2","level":"warning","message":{"text":"useToast.reducer (cognitive 16): useToast.reducer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 7). Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useToast.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca6186d5ce333fc8a2d51a1117a90d0d3ef5a842839b2940208e5de7b48401"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopBottomPanel.DesktopBottomPanel (cognitive 16): DesktopBottomPanel.DesktopBottomPanel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 5 (7 pts), boolean chains 2 (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 5 function items inside it that branch (handleResizeKeyDown, handleResizePointerMove, handleResizePointerEnd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopBottomPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2047e407c2eec5636eb1f897932eee22e089b2898c2cad1c3d2428bc41ef10d8"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsTab.RoutingRuleItem (cognitive 16): AgentsTab.RoutingRuleItem has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 4, 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"345a74a8065057b5a3b641626e38957a401d71321a83b17322c14a6e784e2a0f"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateComponents.AddTemplateForm (cognitive 16): TemplateComponents.AddTemplateForm has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 2, if/else 1. 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 (handleSubmit, a function literal at line 114). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef88f2724d8cc2443be44d32448bb50281f3ed5eba83903c311e3c293c9257"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportDialog.ExportDialog::handleExport (cognitive 16): ExportDialog.ExportDialog::handleExport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d62913fa82126e24301eceeec576babcc8adad9f7a18da8bc4f64002566c7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactPreviewModal.PreviewBody (cognitive 16): ArtifactPreviewModal.PreviewBody has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5, boolean chains 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":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d8cd191eaa8fef53c243447e90d5fe9dd6b5fd827b53c78a42c6f6badfae4f"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockedReasonSection.BlockedReasonSection (cognitive 16): BlockedReasonSection.BlockedReasonSection 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). 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 (handleNoteChange, handleCategoryChange, a function literal at line 123, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/BlockedReasonSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3288963c72770fd0c64d36dedc5d9fac41676ee5db7a7520ca40d9c792008ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionReviewSessionsSection.DecisionReviewSessionsSection (cognitive 16): DecisionReviewSessionsSection.DecisionReviewSessionsSection has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 9 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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"af235022030e002fa8a92ba726ac5a6eae34d06a3a46c89060708961275edbf6"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskMetricsPanel.AttemptRow (cognitive 16): TaskMetricsPanel.AttemptRow has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 2, ternaries 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":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"157e0b61846315d78a56a09fdb67371f10674867d6314c9a0aa192f653064fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"useBoardDragDrop.useBoardDragDrop.handleDragEnd (cognitive 16): useBoardDragDrop.useBoardDragDrop.handleDragEnd has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), boolean chains 5, if/else 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc028f2987a214a257757c92caeaec71ae45c10fafbef317e77099056f081dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop-task-links.desktopTaskLink (cognitive 16): desktop-task-links.desktopTaskLink 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":"web/src/lib/desktop-task-links.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dee20fe208e38d932f63be328195acae2568a77173f04c268443856759b6df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClawdbotAgentService: ClassTooLong \u2014 6749 significant lines (blank, comment-only and punctuation-only lines excluded), 139 methods. The bar is 400 significant lines; this is 6349 over it, 16.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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7405f8a05a9a80c29c69f5f9e23d3cc8dfb060b6beb44efadb46607a40ac96a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/clawdbot-agent-service.ts: FileTooLong \u2014 7540 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ClawdbotAgentService (562-9140). The bar is 500 significant lines; this is 7040 over it, 15.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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a109617bc2a4e774ac661dec4c2a773aba1e606f8d80a825906db1fadefda4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MultiUserTab.MultiUserTab: FunctionTooLong \u2014 MultiUserTab runs 915 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 815 over it, 9.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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731e9971f911a0fdf9a274bf62c273777be57ed6bbcffca05a1f9ba4445f66e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agents.registerAgentCommands: FunctionTooLong \u2014 registerAgentCommands runs 800 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 700 over it, 8.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":"cli/src/commands/agents.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b57a2fb3981e41c91176f1f011e28b78fb1db84dbe07064f05d85de088688c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoringProfiles.ScoringProfiles: FunctionTooLong \u2014 ScoringProfiles runs 705 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 605 over it, 7.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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2655a5dfdb757e7a144c49ad0e53acd5d13ec03bdf35c368f4cbc4f90636dda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentRunTimelinePanel.AgentRunTimelinePanel: FunctionTooLong \u2014 AgentRunTimelinePanel runs 650 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 550 over it, 6.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"90666ad833412e1f5111c2814a8509df6b350740e60c842250d205635c4d39a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskWorkView.TaskWorkView: FunctionTooLong \u2014 TaskWorkView runs 622 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 522 over it, 6.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":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4d48a06aef096b93bd743ab1c067bf3ebfcef3f0153793e6539b9663cfd283"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PolicyManager.PolicyManager: FunctionTooLong \u2014 PolicyManager runs 620 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 520 over it, 6.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7934ca2f0c135e7547118fa15c3e6bcccb0333718d8bcd453c2a9d064d5800"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunLaunchCompiler.compile: MethodTooLong \u2014 compile 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":"server/src/services/run-launch-compiler.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da9e4a944dcecf2f15297ac92bce393d14e9220873686a235eb6bc08fe64c30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentPanel.AgentPanel: FunctionTooLong \u2014 AgentPanel runs 582 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 482 over it, 5.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":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c305001fa9d5c0d64cf19472d89694b075eb3e908da5e5664bd20140ad1896d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.startCodexAppServer: MethodTooLong \u2014 startCodexAppServer runs 571 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 471 over it, 5.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/clawdbot-agent-service.ts"},"region":{"startLine":5554}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fdcf42be42e58ae1ad178ee88f09bdeb8a21b52361543c7125cfc092b6b496"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateTaskDialog.CreateTaskDialog: FunctionTooLong \u2014 CreateTaskDialog runs 566 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 466 over it, 5.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0eab3ce041f41d3ee64171ce62c440612920d99aae2961c5109f24e548ed6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KanbanBoard.KanbanBoard: FunctionTooLong \u2014 KanbanBoard runs 553 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 453 over it, 5.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"86205038b9cb0e058db3771fa0f6a291e7424d7bcb781f0ff67c4672fa49c363"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Header.Header: FunctionTooLong \u2014 Header runs 551 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 451 over it, 5.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":"web/src/components/layout/Header.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9248e1b20b96d1f47b9017f1752ffe75a84dfd0906569e1b8eadb08f40415b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsDialog.SettingsDialog: FunctionTooLong \u2014 SettingsDialog 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":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8720fa3d25cab960d0f1db61ca70af657cdf0edcb48ebead55bda1b53e8af48f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotificationsTab.NotificationsTab: FunctionTooLong \u2014 NotificationsTab runs 536 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 436 over it, 5.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"508311edfa6be5d6d34487504e1e3d5c821a98571b1dec4642c0b75e419ec623"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/AgentsTab.tsx: FileTooLong \u2014 2676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2176 over it, 5.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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f9057322355e7f45bd4787e740228fb210885df354764d14d4aacaacdb1252"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskCard.TaskCard: FunctionTooLong \u2014 TaskCard runs 528 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 428 over it, 5.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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b0898adb39d7e2ce74c13e4e9e7607fca25555b15b5214fae9eb01ea88ba1e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkflowRunService: ClassTooLong \u2014 1967 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 1567 over it, 4.92\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/workflow-run-service.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"21338e443a096ec26ffa3926523ba1b86973c9011bff634b577d16b7c465f36e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClawdbotAgentService: TooManyMethods \u2014 139 methods. The bar is 30 methods; this is 109 over it, 4.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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3df7675a2690a6a4eb987c9c49680d3d6ca19f5b3264f8ff0ae535e4cbe3a3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowAuthoringPanel.WorkflowDefinitionEditor: FunctionTooLong \u2014 WorkflowDefinitionEditor runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"423f8dc00a2b090dff790f2f3c9d804c35d8c171449b5787381fb76247450cc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskDetailPanel.TaskDetailPanel: FunctionTooLong \u2014 TaskDetailPanel 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":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a12f8e43fa1c3bf9e0d570db1ee3e83840a0db50c9d1c40d7f5603cd6ed3c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workflow-run-service.ts: FileTooLong \u2014 2122 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: WorkflowRunService (118-2732). The bar is 500 significant lines; this is 1622 over it, 4.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/workflow-run-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0882ac40daff1346378839e570db3223f0486f1ef76919d4f2dd7f96d8d539c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkProductsSection.WorkProductsSection: FunctionTooLong \u2014 WorkProductsSection runs 421 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 321 over it, 4.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":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f638d56b5ba731c56d8349bfbbe64aeba435daee4dd8eb7a4a1aec44c6fd6ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommunicationAdapterService: ClassTooLong \u2014 1660 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 1260 over it, 4.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c716082c8da29258d7179dc4e3557b9ef84cc34cccabf3e398f357fe8520672"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorktreeStatus.WorktreeStatus: FunctionTooLong \u2014 WorktreeStatus runs 411 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 311 over it, 4.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5006f025fc07fb9e71d2f357c30f9a6f50d217cd6f7ab8cd4cfac4d9ceac9ff7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConflictResolver.ConflictResolver: FunctionTooLong \u2014 ConflictResolver 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":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"731f93bd72c63a3d66f864ef4b5b4102732a2b39eef17490b5df8215fc266bc4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdmissionControlService: ClassTooLong \u2014 1608 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 1208 over it, 4.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":"server/src/services/admission-control-service.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8971815ecd536125b12bd7c489ac2d80f77c615f627925dd2ecf1b8eefc283b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/communication-adapter-service.ts: FileTooLong \u2014 2000 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: CommunicationAdapterService (412-2435). The bar is 500 significant lines; this is 1500 over it, 4.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/communication-adapter-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b47937cbd89689d8542ffa6e1108b78339c73edfd326947732385aff24826da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArchivePage.ArchivePage: FunctionTooLong \u2014 ArchivePage runs 386 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 286 over it, 3.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":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc300b09468b173ab753c9828b33f3da0c8e715a18da43a002e2e5ec30e08865"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BuzzConnectionPanel.BuzzConnectionPanel: FunctionTooLong \u2014 BuzzConnectionPanel runs 386 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 286 over it, 3.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":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d576df1c590e23296f37c23f2ff1a9c04c5488dcc9b578849e3d53f18936666"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApplyTemplateDialog.ApplyTemplateDialog: FunctionTooLong \u2014 ApplyTemplateDialog 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":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"16395ad3fb26cf14647b7dc839b85560cb24b314f47b7f6d4cd427ae348e6f62"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqlitePortabilityService: ClassTooLong \u2014 1495 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 1095 over it, 3.74\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"757670af6df9408fe395f22d79cd37e98ebed3b0d73dde2b6d2923b1d6094d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunSessionSharesSection.RunSessionShareView: FunctionTooLong \u2014 RunSessionShareView 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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce774116f5d10287ff4c74fddee85837e418128a3b39328d9bd524bbba88bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OperationsDigestPage.OperationsDigestPage: FunctionTooLong \u2014 OperationsDigestPage 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":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c99311ae66b8889618d2b390a81edda8fc6f5e2609c29c1d217ab83e9020f99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MaintenanceTab.MaintenanceTab: FunctionTooLong \u2014 MaintenanceTab 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":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931a160ad143bc9c638163bae8edfb887230ff76eb4590bc439e1ca7833673b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/knowledge-collection-service.ts: FileTooLong \u2014 1829 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: KnowledgeCollectionService (117-1721). The bar is 500 significant lines; this is 1329 over it, 3.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/knowledge-collection-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907436888e8a41824df258e0d5e28ab4ef03f9843fd69add279fb6edebf83c25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NeedsAttentionQueue.NeedsAttentionQueue: FunctionTooLong \u2014 NeedsAttentionQueue runs 357 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 257 over it, 3.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"f995ee3f66f063948c7535ddc56acad074095d700ba4b46812357bdcf03fb446"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/admission-control-service.ts: FileTooLong \u2014 1781 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: AdmissionControlService (180-2235). The bar is 500 significant lines; this is 1281 over it, 3.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/admission-control-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db4e9f479508edcd7f4cfc224228f0363f9265d6517f26d04f3650991352b18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopOnboarding.DesktopOnboardingPanel: FunctionTooLong \u2014 DesktopOnboardingPanel 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":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"109b45225de7072b823a149672a9cd915b0dedc5faedb2db326baf412cb35fad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/sqlite-portability-service.ts: FileTooLong \u2014 1735 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: SqlitePortabilityService (274-2270). The bar is 500 significant lines; this is 1235 over it, 3.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/sqlite-portability-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b0914f387d7a29feb6216748af084c7903bdfac3bd25591d8db1f3cbdfdc77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NeedsAttentionQueue.buildNeedsAttentionItems: FunctionTooLong \u2014 buildNeedsAttentionItems 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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ce39091b9a59600f36da844c3e0bc1c537f5ea4ab60d264f1a7c9a49aeba13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SchedulerTab.SchedulerTab: FunctionTooLong \u2014 SchedulerTab 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":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33a3afde4636d4be519d83d523a21e757d41069011fac191851a6ceee64ab21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplateEditorDialog.TemplateEditorDialog: FunctionTooLong \u2014 TemplateEditorDialog 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":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"961466c5ce3b23fc129ca67a2fcc6aa8d2184cb79a745217b6a8b68b907c6996"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FilterBar.FilterBar: FunctionTooLong \u2014 FilterBar runs 342 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 242 over it, 3.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53f229081b5d704a2804f9fd91cc3097015132d835ac0a418bccda8bf5a829c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandPalette.CommandPalette: FunctionTooLong \u2014 CommandPalette 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":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"37955c0327c8df429e8e9fef1e014e41c3c309eb31911dd9763af408fcdf47cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowAuthoringPanel.WorkflowAuthoringPanel: FunctionTooLong \u2014 WorkflowAuthoringPanel 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":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"18952aaf4980493711655b3079907a9347991019b21e7bc00de96f44a255da5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SquadChatPanel.SquadChatPanel: FunctionTooLong \u2014 SquadChatPanel runs 335 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 235 over it, 3.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"86786f6aab0d47a15f61148a3643f0bb2d85b6d620adbbcaf57447f80781a2d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskService: ClassTooLong \u2014 1331 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 931 over it, 3.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":"server/src/services/task-service.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"98acbce2706674dbc792089d284e800bde966f07ab5e4d29e1923ee3a7bc4eaf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KnowledgeCollectionService: ClassTooLong \u2014 1295 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 895 over it, 3.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":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee27c23337177d7d131e480187633f69b5ffe3a5305212fd399621534cb21b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorktreeService: ClassTooLong \u2014 1284 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 884 over it, 3.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d83d12d1c9d0635017be34a3e1ed07ea4fd0394664d1530c04e018e364de4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Dashboard.Dashboard: FunctionTooLong \u2014 Dashboard 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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e2df274ea178cd63e953a54fe3c6742dbe0a10ba96154558edf548dbc387b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowDetailView.WorkflowDetailView: FunctionTooLong \u2014 WorkflowDetailView 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":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c3a6c707289e17c2e06616da9c6dbe9a35984aa99d6527d6dc12cd1e736821"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ManageTab.ManageTab: FunctionTooLong \u2014 ManageTab 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":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50d71ff79d2fe44ec5e7c67fe774f3c589503fbeb80fd9b04431b1a00a35060"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunAccessPanel.RunAccessPanel: FunctionTooLong \u2014 RunAccessPanel 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":"web/src/components/task/RunAccessPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"09141fd742db22816b9c3750c7f12b2dc860187e5fb2bc9029184e519fa2b22f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/workspace-checkpoint-repository.ts: FileTooLong \u2014 1561 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: FileWorkspaceCheckpointRepository (187-1642). The bar is 500 significant lines; this is 1061 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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0185d3ec66e9f3afbe76f08a4211f6b9f7622c240b199556be71b2ac4e842533"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server.wss.on(\u0022connection\u0022): FunctionTooLong \u2014 wss.on(\u0022connection\u0022) 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/server.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93f857cbc03cc405fddf42f3cb3916226cd6bd6731eafc9a2d00c9d57540fca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardPage.DashboardPage: FunctionTooLong \u2014 DashboardPage 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":"web/src/components/dashboard/DashboardPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7865de629b87fbc79a61a7ecc84d85fa5f5912df45a8890b085c516cd071f17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workflow-step-executor.ts: FileTooLong \u2014 1543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1043 over it, 3.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/workflow-step-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bda45d9f939ff6c818802ef3f69385e6912f94e567456bf9ba27eaa16cc9042"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/AgentRunTimelinePanel.tsx: FileTooLong \u2014 1540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1040 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e2bbce335463db626b4bfa66cc3ff3ed5daf411f4bef72a5fbc088d040f251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/worktree-service.ts: FileTooLong \u2014 1526 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: WorktreeService (206-1947). The bar is 500 significant lines; this is 1026 over it, 3.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/worktree-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422ff018172369445785895eb6e6e0a0e6bea0a3630df5e36c8282c2a23bebcc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.startClaudeCode: MethodTooLong \u2014 startClaudeCode 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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6479}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa930a8eb763d0531a489f7b1319629d8b5d6fd7f57c35401aa478d16bbcf451"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskService.updateTaskMutation: MethodTooLong \u2014 updateTaskMutation 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/task-service.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cf68624d48c659052603fa1d528f505c81d15926e5876c7400a243ae645bda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentRunTimelinePanel.buildAgentRunTimelineEvents: FunctionTooLong \u2014 buildAgentRunTimelineEvents runs 297 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84fcdcef1dce756ef566367a8713bc8c695084353872b683e3fdc7723e78374"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TrackersTab.TrackersTab: FunctionTooLong \u2014 TrackersTab 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":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ff7064ab69cb47a4d42d0c7c08db24b753065abca1f19a9fc4e022cb3484d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceCapabilitiesTab.WorkspaceCapabilitiesTab: FunctionTooLong \u2014 WorkspaceCapabilitiesTab 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":"web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ea02ae5e2a091a225fae82af6276b45d91aeb99fc1b60126c6971a5ec5bf35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/task-service.ts: FileTooLong \u2014 1438 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TaskService (123-2256). The bar is 500 significant lines; this is 938 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/task-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5044bc52a0e4b7cb17f4946ee29194ce5ba83276505ec89941b85502789e529a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataTab.DataTab: FunctionTooLong \u2014 DataTab runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/DataTab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"11899228d42b407c316d03027dcdb8b5ba89683f49b2baf4b62b860c911a61e5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileWorkspaceCheckpointRepository: ClassTooLong \u2014 1130 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 730 over it, 2.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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0d82733b57a7b81af76ac0818c9c4deca42a60e5142facc32ec5e59bc7b51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/tool-control-plane-service.ts: FileTooLong \u2014 1410 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: ToolControlPlaneService (152-1275). The bar is 500 significant lines; this is 910 over it, 2.82\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181be93a5832cb03739e04c1882cf5ca9d17e20caf7e53612bafb0e6975410a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workflow-authoring-service.ts: FileTooLong \u2014 1386 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 886 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":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5e2136bb95949114ef6f1f7061ea8c65c7fda3cb08c8522d10e3fd6f14bbd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BulkActionsBar.BulkActionsBar: FunctionTooLong \u2014 BulkActionsBar runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BulkActionsBar.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7794b40bdaf0070c71e24aa19e5239cf40fc8c615f90ec317e8e280a22b9d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.completePendingAgent: MethodTooLong \u2014 completePendingAgent 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/clawdbot-agent-service.ts"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"147cce1afcb57a148390e3425cc30f49d7f3b2b4853d57d57d9c734e2fabcfac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.BuzzDefinitionImportSection: FunctionTooLong \u2014 BuzzDefinitionImportSection 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5e49d09a551a27801a46b8900fa8467f091d423b73fe2f286f6c94c6b484a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.SandboxPoliciesSection: FunctionTooLong \u2014 SandboxPoliciesSection 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52cceb22ee8f4a3fdc5dfa9a82b504a17050c390a17fea723d428bb2122f421"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillRiskDashboardPanel.SkillRiskDashboardPanel: FunctionTooLong \u2014 SkillRiskDashboardPanel 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":"web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f251a74e8bdf1f32295bd646c52a5640cbe6d386dd9f3bc3159aa1c199b0929"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginScreen.LoginScreen: FunctionTooLong \u2014 LoginScreen 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":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba0981c5f1a7529b75149155cfbb19843efe2bcc5f1563285fcecd6d3bbe9be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TimeBreakdownPage.TimeBreakdownPage: FunctionTooLong \u2014 TimeBreakdownPage 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":"web/src/components/time/TimeBreakdownPage.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d34e2a113db5dce254949284892b9703c609a9fb5a811444cea02c199b79717"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TimeTrackingSection.TimeTrackingSection: FunctionTooLong \u2014 TimeTrackingSection 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":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c071f051faa47b780b0ff07e71890823fba3f976f596193570b945fae83a0c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocsViewer.DocsViewer: FunctionTooLong \u2014 DocsViewer 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":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1352c9b24a1baeef029c499ff59439d15a35094da854c63b0857795233a5da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdmissionQueuePanel.AdmissionQueuePanel: FunctionTooLong \u2014 AdmissionQueuePanel 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":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5069f6b55d345d611ee4b62fbd2fdceaa8f060e3c83fe06ed51b55ec99a25236"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/credential-broker-service.ts: FileTooLong \u2014 1275 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: CredentialBrokerService (171-1300). The bar is 500 significant lines; this is 775 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/credential-broker-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb15b1adfc03b386bf5e36b5e034e86550aecb912e60216cf29fa25901975005"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPoliciesTab.ToolPoliciesTab: FunctionTooLong \u2014 ToolPoliciesTab 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":"web/src/components/settings/tabs/ToolPoliciesTab.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40f7662f33002ec733aeb73b0f1983e8a7cfd01b48e42daee97588918252ff6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentStatusIndicator.AgentStatusIndicator: FunctionTooLong \u2014 AgentStatusIndicator 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":"web/src/components/shared/AgentStatusIndicator.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f537563e8d2050f701794f0ae6383f869affa33b0dd0a253aab4144a09ff81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/WorkflowAuthoringPanel.tsx: FileTooLong \u2014 1267 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 767 over it, 2.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":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb94c812717be05ab06db8b774ef69e8c99a50767adf66f5a1c4057c46eb3972"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionExplorer.DecisionExplorer: FunctionTooLong \u2014 DecisionExplorer 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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b99f380fad62c311ea399a88723b5b2b6b7bef0fc25a846fa794e225f4ce09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionReviewSessionsSection.DecisionReviewSessionDetail: FunctionTooLong \u2014 DecisionReviewSessionDetail 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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d856d97331eb2b9a942323cdcd30937f487ba94297f7340f07479925ca83ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scheduler.registerSchedulerCommands: FunctionTooLong \u2014 registerSchedulerCommands 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":"cli/src/commands/scheduler.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeac927cdddfb51b005a48d7f09655deddb440e7f5b7bc2d308c6fa3a5ef1b94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdmissionControlService.admitInternal: MethodTooLong \u2014 admitInternal 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/admission-control-service.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb67414d0360f321a1ffb5834b078332d9ea78125437077691fa80599849dd7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommunicationAdapterService.ingestBuzzEvent: MethodTooLong \u2014 ingestBuzzEvent 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/communication-adapter-service.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f145ae10bf8cb037961390cd5af2be0f1e3b9b077c40c704ec81c42e3522683"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowRunView.WorkflowRunView: FunctionTooLong \u2014 WorkflowRunView 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":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5101b012bf45dea2593a7f308ad851c04dabb7b485d68f7d572c35c36cc0fb81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useBoardDragDrop.useBoardDragDrop: FunctionTooLong \u2014 useBoardDragDrop 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":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49da4cb6eed1555815344b3948ede8a96432497377a6727854d3bf3fb382464"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplatesPage.TemplatesPage: FunctionTooLong \u2014 TemplatesPage 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":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"607e7f2c56d58701b68c41c8a77a7a186abd21811bac0d9d0c2dc9120decf6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchService: ClassTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 562 over it, 2.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":"server/src/services/search-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f1a7819b1b7baae657268d2c1c2674721ff7594f9115ff29697ff9e20aca81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DeliverablesSection.DeliverableItem: FunctionTooLong \u2014 DeliverableItem 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":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafeff049203d818666476475c011c757766bd2e62113c2ea88732eb8f2d9f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EvidenceTimelinePanel.EvidenceTimelinePanel: FunctionTooLong \u2014 EvidenceTimelinePanel 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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba91f4413f5cc88359521de1127ace5c729c1ddfd35b088ecc466fc0232b29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowSection.WorkflowSection: FunctionTooLong \u2014 WorkflowSection 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":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d13039b4637449e14a59816d9a5f53e1c40966f1aa690fd5f6e536d9fb03a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubtasksSection.SubtasksSection: FunctionTooLong \u2014 SubtasksSection 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":"web/src/components/task/SubtasksSection.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2041c9d485fbfc8d88a5c4e918ea5813835e7c63d870320825106564ba54339"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorktreeService.mergeWorktree: MethodTooLong \u2014 mergeWorktree runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eec19c707d84fc9df996554f7c6942723a04afd11930018c9cc6f2ca1c96a66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchDialog.SearchDialog: FunctionTooLong \u2014 SearchDialog 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":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"550a52782b04a725c7f8f42dbfb8223e982eff22ac881ad0cdef6b52c3270f6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlitePortabilityService: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1101647832e6f89332760d20dba1861b85a8151f906b940d4a227e14c017d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MultiUserTab: ClassTooLong \u2014 915 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 515 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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33162cd7c3fdfab149915e474f7671424d3cb6c86addd4b3f76b952ea14a1bba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DependenciesSection.DependenciesSection: FunctionTooLong \u2014 DependenciesSection 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":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"22672f971eb51ce3f7d6f2da7c5ff1a35cdfbccb63fc4f3665c2129a966e9b56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskDetailsTab.TaskDetailsTab: FunctionTooLong \u2014 TaskDetailsTab 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":"web/src/components/task/detail/TaskDetailsTab.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ffbe2323c7e7aa1c650626e1159aeaf3abaff455655d81966242f91f81f376"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentComparison.AgentComparison: FunctionTooLong \u2014 AgentComparison 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":"web/src/components/dashboard/AgentComparison.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5380c5416ab054797aea193b4486a0c35f8d6c661699f9a7a2c02c0cf86dc0be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunAccessSummaryService.project: MethodTooLong \u2014 project 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/run-access-summary-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae4de015393b4109c2051be0f6d370e725b8f8f5e545a4f3fb5c3d0646d8388"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BoardTab.BoardTab: FunctionTooLong \u2014 BoardTab 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":"web/src/components/settings/tabs/BoardTab.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d908173908297bed37b83a1a68463537731ee511ce3353f36b40b24586f5fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/tasks.ts: FileTooLong \u2014 1121 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 621 over it, 2.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/routes/tasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81041a6dadb4aac3bc66ffc18a74b4c7b650e163c18107c4d2bf10ac8856b213"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/queue-intake-monitor-service.ts: FileTooLong \u2014 1120 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: QueueIntakeMonitorService (129-1003). The bar is 500 significant lines; this is 620 over it, 2.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/queue-intake-monitor-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8da4683f05d41d7e1a84d0e251a269f34931f0a2a9f6f1bcf018555fcee4f19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.AgentsTab: FunctionTooLong \u2014 AgentsTab 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a690b4260b546432acdf3683b2221c599b4aab9c68e8ccdb381ba3942ed35c8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskMetricsPanel.TaskMetricsPanel: FunctionTooLong \u2014 TaskMetricsPanel 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":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5ca0df3e7bc133dd3c21d3070880a662747b28be3aca3b07ec8a17f6541f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/buzz-definition-import-service.ts: FileTooLong \u2014 1105 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: BuzzDefinitionImportService (555-1388). The bar is 500 significant lines; this is 605 over it, 2.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/buzz-definition-import-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e628c1d252f5b5e10c23367879b3dc169ef2ab122386fa97790b4d7419cbdbab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowsPage.WorkflowsPage: FunctionTooLong \u2014 WorkflowsPage 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":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"768395089b137495fe4c30861097502bf8353a62a590595f31a112e8718acc01"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CredentialBrokerService: ClassTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 468 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7238859d3046d1f13891139f39cd3eaa90dedfa31dab96401916e98f2613fa56"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunLaunchCompiler: ClassTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 468 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-launch-compiler.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e202fddd3d79e86ebc3124620ec083fdd1ee820a731c1c564d956832c62416"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QueueMonitorsTab.QueueMonitorsTab: FunctionTooLong \u2014 QueueMonitorsTab 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":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe60bd5a2883c0b1f4d2aebc4e1a5df0c07f127012ba004a65d283d16cabec0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolControlPlaneService: ClassTooLong \u2014 861 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 461 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":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f21cfea4503989fca7f8ceeaa0ced06f45cd192656a01e2b8329ee7d3d449a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunService.executeRun: MethodTooLong \u2014 executeRun 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/workflow-run-service.ts"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fa164827b3cc6cfe4b6d582fcbfbf3846d8fdab606fe47596f7a96d7acf69c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/MultiUserTab.tsx: FileTooLong \u2014 1073 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: MultiUserTab (197-1259). The bar is 500 significant lines; this is 573 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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a94ea3b647b464b3fb9fca3580b733b57ed8059152ce42a8c9bc62d8ff2a9fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/search-service.ts: FileTooLong \u2014 1067 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: SearchService (120-1459). The bar is 500 significant lines; this is 567 over it, 2.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":"server/src/services/search-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf2034cd7fdece836e5ae2e5950fced8a569eb48a31c37f6078e8568cd3660"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileWorkspaceCheckpointRepository.rewindLocked: MethodTooLong \u2014 rewindLocked 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec4e362f6c08e1a8fd7a3e42ccf1d716fd86da100b98c8e1257365fbdb4844e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolControlPlaneService.invoke: MethodTooLong \u2014 invoke 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-control-plane-service.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"314a8214a42131ff39a828e1e82629932b768703e71bb85e6593ed5b4ea65e0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admission.registerAdmissionCommands: FunctionTooLong \u2014 registerAdmissionCommands 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":"cli/src/commands/admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fff4afd2eed073a7f40ea9743f1357071307604d66c2678a8fec3c77df43d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DelegationTab.DelegationTab: FunctionTooLong \u2014 DelegationTab 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":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bab55883dde68e32deae899c2a23e77f2ccfe64f65d5499edf2b3c6100f43be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuzzCompatibilityService.probe: MethodTooLong \u2014 probe 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/buzz-compatibility-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e435ae164c6c97e0c368fa090f409ae79289da7d63acf9e8e71b02ce35d342a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreviewPanel.PreviewPanel: FunctionTooLong \u2014 PreviewPanel 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":"web/src/components/task/PreviewPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b302d9a3dc04c7a0324677a0dbf213e37576228e7cfe7ba94ac54ff04f2f2356"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskService: 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":"server/src/services/task-service.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad7c8ac0f5d61bea1aa645397bb9a5caf996405ad7843aec8acc7a6e7efb841"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopShellContext.DesktopShellProvider: FunctionTooLong \u2014 DesktopShellProvider 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":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e4e582861207c5a3664d3e2ffcf9cd9322d9836e6af8567fbbf2ec8211448f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EnforcementTab.EnforcementTab: FunctionTooLong \u2014 EnforcementTab 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":"web/src/components/settings/tabs/EnforcementTab.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d0aab20114872c297b487e17e48742360fab7e3bff0699472c5f1fab7a6420"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useWebSocket.useWebSocket: FunctionTooLong \u2014 useWebSocket 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":"web/src/hooks/useWebSocket.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22980fac0fa0035e729f55312fbe99cc4e203b94b8471324e36fb30c088588d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreExplorer.ScoreExplorer: FunctionTooLong \u2014 ScoreExplorer 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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b932ded70fb68008dcf7c3364ab88ed94ed3a443aa62266c5789e3e371d526a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionReviewSessionsSection.DecisionReviewSessionsSection: FunctionTooLong \u2014 DecisionReviewSessionsSection 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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4ad4299c461ee394fc50aa12ba5c6fb10961e1703a71788cf76ecc6365f9d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.executeRunTerminal: MethodTooLong \u2014 executeRunTerminal 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/clawdbot-agent-service.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d77ab632758ce690c54d58e6f43c044d904c5aa843786df525f3cc256a9951"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboard-metrics.computeAllMetrics: FunctionTooLong \u2014 computeAllMetrics 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/metrics/dashboard-metrics.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc34c9f1a4eb56e00a3c9bb2465c902254805327157f553cf7f4d49c9a2da70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunModeGateSection.RunModeGateSection: FunctionTooLong \u2014 RunModeGateSection 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":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"667910507ae1fff0a3fc4e392fc98fc8983f794d048264c46ee64ff20994752b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.AgentForm: FunctionTooLong \u2014 AgentForm 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfe003ee8e530b0e9f118bea5678e06c75d2ad66fbe1eb4df13028c0ef3d721"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewPanel.ReviewPanel: FunctionTooLong \u2014 ReviewPanel 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":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6723b23fec8680b93419628807b1591978350465d0c682869d7003c7032824"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskMetadataSection.TaskMetadataSection: FunctionTooLong \u2014 TaskMetadataSection runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/TaskMetadataSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a07cb48bf90b3f2b3c93e00e717b39732922f7cf0e3d82af9d4090e887bb8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/NeedsAttentionQueue.tsx: FileTooLong \u2014 973 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 473 over it, 1.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0654d3d3493508ab80ba840d4922f2bda46d58b0dc7e96166a87c3e220d95"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunLaunchManifestService.compile: MethodTooLong \u2014 compile 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/run-launch-manifest-service.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb983c32b4a546e04ac93f0551650614ced2e75ea4895f40d7990126a43df392"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BudgetCard.BudgetCard: FunctionTooLong \u2014 BudgetCard 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":"web/src/components/dashboard/BudgetCard.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36375903e7f24ba9d8e7da7d23b53ae5e0e8f2fa004ad1bfeeea49e6c301c4b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.RoutingRulesSection: FunctionTooLong \u2014 RoutingRulesSection 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ab6919943d6a7cc7df14722c77b41ab97d84cf3a6cd79b8d2ee6b48b93bdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-launch-compiler.ts: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: RunLaunchCompiler (88-1207). The bar is 500 significant lines; this is 465 over it, 1.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":"server/src/services/run-launch-compiler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f8924785a93fda2cb963185b7bc7359f5fff03267c12af8eacc77322a72725"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/agents.ts: FileTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: registerAgentCommands (205-1243). The bar is 500 significant lines; this is 461 over it, 1.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":"cli/src/commands/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cee2379b03f504099096927443f2566f1bd625a20ea7c327a541e0a0118431"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-terminal-service.ts: FileTooLong \u2014 960 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: RunTerminalService (112-940). The bar is 500 significant lines; this is 460 over it, 1.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/run-terminal-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"602c998416fecd68f0a8e1705308c830b132dc57d83d037bf9cf89ef7a3b95fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArchiveSidebar.ArchiveSidebar: FunctionTooLong \u2014 ArchiveSidebar 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":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d24b1abbecd47e721e122ecaf6efc20e211e71714cf141b580a5c87324877d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetupScreen.SetupScreen: FunctionTooLong \u2014 SetupScreen 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":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c80468e9921220d1bbb808708137178effaf9f5a28c6f57614f3f367f1120c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.SandboxPresetForm: FunctionTooLong \u2014 SandboxPresetForm 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e3015b1fc29516b44d19c35431372c15524838b14212da0cc1572bedb760c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/TaskWorkView.tsx: FileTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: TaskWorkView (425-1119). The bar is 500 significant lines; this is 451 over it, 1.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":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e037cdd3cf8daf34aaa3e734d1ad46ce8b24f789e28d03dc2557450086587"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdmissionControlService: 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":"server/src/services/admission-control-service.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c64e7edd45bb787046cf9e7f937c74cd9747ce2119633596d152b564681860d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileWorkspaceCheckpointRepository.capture: MethodTooLong \u2014 capture 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8625069f60fca3bf265603a423fffacc1f439e3c572dbfead8708c5f69ed8576"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkspaceCheckpointRewindPreviewService.preview: MethodTooLong \u2014 preview 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/workspace-checkpoint-rewind-preview-service.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8a027561bece38406e7d1cc8bfe2425e4060f98b5957b5678cc5b15c88b7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DriftMonitor.DriftMonitor: FunctionTooLong \u2014 DriftMonitor 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":"web/src/components/drift/DriftMonitor.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"54056ac1182a9fed70e706935daeeaa0c6cd58e78e53fff89487ccf65e158544"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommunicationAdapterService.sendBuzz: MethodTooLong \u2014 sendBuzz 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/communication-adapter-service.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bae4203c0dfe02d65ede71675a6d621da6770bc6ac16b31ec9c6874267ddd70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.startCodexCli: MethodTooLong \u2014 startCodexCli 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/clawdbot-agent-service.ts"},"region":{"startLine":7168}}}],"partialFingerprints":{"codehealthFindingId/v1":"02879da19889d929ecf15e9ea8ad0e9a4a80b81bfd3852ae7d838f056b99d3bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/automation-activation-service.ts: FileTooLong \u2014 902 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: AutomationActivationService (77-911). The bar is 500 significant lines; this is 402 over it, 1.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same 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/automation-activation-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86eff1becd6bf94705fe7e262b22ccb813a62b6105e1297c09e9c2e054bc741"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/skill-security-service.ts: FileTooLong \u2014 901 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 401 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-security-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46004a33fb07a2fe98e48cf896d94f5ad4404bd8cbe123bd847dd5953235689f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchService: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/search-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e88c09e1008ba2d5c505127d180a8405bf02d998eb370c487823fd047b94e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqliteOperationalProvenanceRepository.baseQuery: MethodTooLong \u2014 baseQuery 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/storage/sqlite/provenance-repository.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"34695931cec7478756409545ce2f6ec6d78ac894fa18663eeed0bb961049e4a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArtifactPreviewModal.ArtifactPreviewModal: FunctionTooLong \u2014 ArtifactPreviewModal 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":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"67724f93e02a90a13bd8f65e4bcf2ec70bf3ca248a02184843647a42ab6716c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/journal-maintenance-service.ts: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: SqliteJournalMaintenanceService (359-1158). The bar is 500 significant lines; this is 394 over it, 1.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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff6e54fd32a1f6221c5f3eb105ae6bb076de16ab08143d8d504d753b203351"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExportDialog.ExportDialog: FunctionTooLong \u2014 ExportDialog 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":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abbaeeefa48193bc53fcc44bb498616269152b36270035cb515d2366dcad027"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/agents.ts: FileTooLong \u2014 888 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 388 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":"server/src/routes/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04f2276e34d3dce265a1febff51d2d5f9289e993f0fb506b9579bd546752e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/automation-draft-service.ts: FileTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 386 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18da30963d81b55578ba5956b6b460ef17c83f4b516f5aec4e92227d5bfc145c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkflowAuthoringService: ClassTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded), 25 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":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"a542c818e20be82e8423702f171a47534fa20e9499a0ed8fadd40a78a3e3b06c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScoringProfiles: ClassTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 305 over it, 1.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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0fa94c6e98e7844783fff13eb508a2539d510fea054abd0d2a562d53c08957"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/knowledge-collection-repository.ts: FileTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 378 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fb1a7cdc10ecdb8f89bc3dfdd9787fe27d7835ce47ee25f759503955de7858"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: identity.createIdentityRoutes: FunctionTooLong \u2014 createIdentityRoutes 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/routes/identity.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f4e89fd39816a6f5cd81e8d779444bbf65339d9757f62872e521bda38f68c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: digest/AdmissionQueuePanel.tsx: FileTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 365 over it, 1.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6bfeb3d70f5dc4edfa4fc2932019378aa714bc4f45e0c744bcc90252e0e55f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowAuthoringService.lintDefinition: MethodTooLong \u2014 lintDefinition 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/workflow-authoring-service.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dbce46ebe156832b704da24cef1bfeac64596bee3c36e1ac0c4fdc1315d926"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.RoutingRuleForm: FunctionTooLong \u2014 RoutingRuleForm 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b7fb7c8f9d071a0bec93085ab4c8b7031b916803cbdf5dd5f0eebcd923f3b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SecurityTab.SecurityTab: FunctionTooLong \u2014 SecurityTab 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":"web/src/components/settings/tabs/SecurityTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa6944bce2d3442249cde941d11c15c0e5b53a64ec18759e89abcc43a618e4c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueueIntakeMonitorService: ClassTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 291 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/queue-intake-monitor-service.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a488451cc4e1c7c2363dda540e75d1593ccf06c4e09e15363b4238e5ad7b8ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BacklogPage.BacklogPage: FunctionTooLong \u2014 BacklogPage 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":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08e5bdd16f134ad24522dc04f7e969de4202e629365e736d43275a3010f2fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserMenu.UserMenu: FunctionTooLong \u2014 UserMenu 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":"web/src/components/layout/UserMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bd3350529688f5f62d41b14fa8c64a979555c52be9f980db096a7b5bf4d107"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/filesystem-sandbox-service.ts: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 358 over it, 1.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/filesystem-sandbox-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"823a360ee4ea2fe16fbfab78c82f44db3a40343e6d972739a3d7d216afaa3413"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-egress-gateway-service.ts: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 358 over it, 1.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-egress-gateway-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac41b4a125cc41c1ab71486a79cce6aa1b9f808b2ed3f63eadfbc3f5e0bfaa5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goals.registerGoalCommands: FunctionTooLong \u2014 registerGoalCommands 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":"cli/src/commands/goals.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0b8f1376881afd7ad9c16b041dc23e57fd900e12f5f6e2a79cb8651ca3cba4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tasks.registerTaskCommands: FunctionTooLong \u2014 registerTaskCommands 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":"cli/src/commands/tasks.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c73875ad68f4e6b02b36042489909089db3155f4eef2b82c0c9535f000920e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarkdownEditor.MarkdownEditor: FunctionTooLong \u2014 MarkdownEditor 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":"web/src/components/ui/MarkdownEditor.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4f77d91ac4cfee1a13aa0e32e34132f407850d908176f4bd2bc0fba76c9cee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: policies/PolicyManager.tsx: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: PolicyManager (296-1031). The bar is 500 significant lines; this is 353 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a053dcb10c36f1ec4da78d6302653af144bed396ac43fa7a77b71bf2bff1b8cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/scheduler-service.ts: FileTooLong \u2014 851 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: SchedulerService (72-911). The bar is 500 significant lines; this is 351 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":"server/src/services/scheduler-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8b675b010f77fd39d511983822adc4a3091bc4e595371d0008cd1cf33f159"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowDashboard.WorkflowDashboard: FunctionTooLong \u2014 WorkflowDashboard 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":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef72fba1988c9fc609c9c946081a495e8ce2ad288d163349c7f2c8fddd87919"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutomationActivationService: ClassTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 277 over it, 1.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":"server/src/services/automation-activation-service.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c2ff0b4c229943da2a3cbfea8fae8d23ed85f70263468329b864414021ad18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SchedulerService: ClassTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 272 over it, 1.68\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/scheduler-service.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"113bae05b83751c52f6e4b8f3b92d733ccb8eef9386096fc6ef6982354a984ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/digest-service.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":"server/src/services/digest-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e1956a111f37d71c2bd9b20bb7771fe759b546207248aac390f4d4a9cbc664"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkProductService: ClassTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 268 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":"server/src/services/work-product-service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd8e82985d5d6b3edfeea79124fc19de08bb96527b1759ae004e009271bd015"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KanbanColumn.KanbanColumn: FunctionTooLong \u2014 KanbanColumn 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":"web/src/components/board/KanbanColumn.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fedb6bde0f156ef57ef1cf4891cfaf8847632733d5cc785c9dc83391a053b70"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuzzDefinitionImportService: ClassTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 267 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":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9863b3e8e5320bb6bd6e880fe7ba9922f2d5ec5de2a3bca56e885a6edbd825"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommunicationAdapterService: 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":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce9d9bbb7a554daa4d549bd8a6319c9a990c3087bffa4e16486cd45556e9ea6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowStepExecutor: 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":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6528a309052f9549d4152ca09b51d77caa28a0a06c356567041ab53b19b6e95c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SquadChatPanel.SquadMessageBubble: FunctionTooLong \u2014 SquadMessageBubble runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d202562ea0e327432a4be367c1fef2b2d5a70693790047ae9166f044b829186"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutomationActivationService.claimRun: MethodTooLong \u2014 claimRun 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/automation-activation-service.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"45755b3085868ad1a5511dbaafd5efff80e9ea57e4f1baa6e3e339a243ad3825"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunService.handleStepFailure: MethodTooLong \u2014 handleStepFailure 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/workflow-run-service.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"859a5afd33b2aa71a74cf6b6867bc8018cb091684f19918464490cbfadb2165c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeneralTab.GeneralTab: FunctionTooLong \u2014 GeneralTab 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":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"39742d5ec73ca09ce6b90d742018cf8132aa705f8f2db5c8adbd6fa963fc5963"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommentsSection.CommentItem: FunctionTooLong \u2014 CommentItem 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":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff5affa3acffaed8749177cd360ab4bcf4961ce795203b1b4a9e6ab599aae3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.ts: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae92d43bcc0ddf642a5b8b9b4ff2c0d854b23af4c83da1524f3d3712a45d2bea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkProductService: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-product-service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b57b0ee0090f15c90c40ee5a136777694a5ea23f919884920193b2ce0423576"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowRunService: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e680dd14cec0c456d00e66afc573be3e0b6ac0391e280f5f437f1cd3c5b44f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunTerminalService: ClassTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 253 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-terminal-service.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"13db93a9ebeee7d1ad189a1e9b48954e5d3c23b2fae2e832705b7b4965bc50f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TasksTab.TasksTab: FunctionTooLong \u2014 TasksTab 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":"web/src/components/settings/tabs/TasksTab.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a5ac4ce7586276a6a0ae9ea485d4e18a72bc37259bc1edb0fdd1a885eb4992"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentRunTimelinePanel: ClassTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 250 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023bc3f75c27d85f36c1258dcb9a9bb52538e6dd2d791da53be64f19c2e7020"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdmissionControlService.executionTreeBreakerEvidence: MethodTooLong \u2014 executionTreeBreakerEvidence 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/admission-control-service.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3103208bd3ec81266a772bcfba78869db560596e7c869be2c2804552d60d3638"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.boot: FunctionTooLong \u2014 boot 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":"desktop/src/main/index.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"784c2f109a2d40dc0593d5ce6ff44761d1ccd1a8ced3b00e5616b01cd7d1bacf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunRecoveryCoordinator.reconcileRunningAttempts: MethodTooLong \u2014 reconcileRunningAttempts 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/run-recovery-coordinator.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56878b0634da644e06fd38b6ab4a806cbd55be09190e6b0c6118615123705ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MobileShell.MobileShell: FunctionTooLong \u2014 MobileShell 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":"web/src/components/layout/MobileShell.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2f71d076a0066d8a5c85b65c44311b7357bd3558d3ce6380738c5decb7f688"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schemas/knowledge-collection-schemas.ts: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"466139584df6566621c0341a90cf906951f13125a7791166859c04bdc2772e92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/acp-stdio-adapter.ts: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 286 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/acp-stdio-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c55c5f56dfa28e39166510b7a8c2121839215bdcb6b5e741aa9518bb6d2b2c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/work-product-service.ts: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: WorkProductService (42-929). 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":"server/src/services/work-product-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2721293867ea37070541e323cbbaac400290fc27240bae1f58ef03c3953d8e26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scoring/ScoringProfiles.tsx: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ScoringProfiles (97-940). The bar is 500 significant lines; this is 278 over it, 1.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ef4ee598b82fb72d07b49675a6c7f051cca82ee0e286ef298615442be2c73e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskWorkView: ClassTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 222 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefbc2b7ab0dbd67f995daf8d8d2c102bc7040ab686714f2c4420fe4b506dbdd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PolicyManager: ClassTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 220 over it, 1.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f89f620f63ff0b30aca909959d47ac3f128255dd6024d05714eda5ed4000d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sprints.registerSprintCommands: FunctionTooLong \u2014 registerSprintCommands 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/sprints.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"342012c4dfc7dba989deb6b075a971687705de6f1f8c589048013c05958efb54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdmissionQueuePanel.QueueRow: FunctionTooLong \u2014 QueueRow 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":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d6e2904a1bf1f2e659e3a84d680c5bad5d9dbe7f4897ac39453241bc895977"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplatePreviewPanel.TemplatePreviewPanel: FunctionTooLong \u2014 TemplatePreviewPanel 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":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a57613f05fd7dd7a67f7021306902fa5ccd48b93437241a217cc3a2e031159"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useKeyboard.KeyboardProvider: FunctionTooLong \u2014 KeyboardProvider 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":"web/src/hooks/useKeyboard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2967c7cb0fc451153261070b93b3a811f24df8a2046ac0f2ac43543915f948"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/external-tracker-service.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/external-tracker-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d736f7273a6638a386963a28b6c3b5c6fdc5606c15dec168e63ce1fb4613631f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ViewContext.ViewProvider: FunctionTooLong \u2014 ViewProvider 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":"web/src/contexts/ViewContext.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f13484b2f5f29fa920c6bc59279ab8e69d723520074cf1c696d553b0d392162"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqliteJournalMaintenanceService: ClassTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 211 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"053597356c1f5b57f505bc9cd719be0b9e666f6b5912f3f2e61bc53ad2c73814"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/codex-app-server-adapter.ts: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 260 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-app-server-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ff1029bc2789dbd835fb5b8dedb79e7ec4407e523865a2cd6b96e0652c7946"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SortableListItem.SortableListItem: FunctionTooLong \u2014 SortableListItem 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":"web/src/components/settings/SortableListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"de604d4ba36d864035db021f672e2eb2f7d5e9bf612b9d05722a9ff5e8162981"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTemplateForm.useTemplateForm: FunctionTooLong \u2014 useTemplateForm 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":"web/src/hooks/useTemplateForm.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc59721ddcec57941eb9ac4d40fb2de80a756131eb0b9bb94cf8019ad4fa4d24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/doctor.ts: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 255 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/doctor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dadfce640369e95fc2b68e2da057e1454133df72b9053a9222a08d11f1079d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KnowledgeCollectionService.preparePageBatch: MethodTooLong \u2014 preparePageBatch 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/knowledge-collection-service.ts"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf2a8067438916fa88c836569f854821f492dea3d2e84f6f930aaf9bb593cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqliteKnowledgeCollectionRepository: ClassTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. 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":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fbff512083bd6c2e733b62e553ebc0d99897f7f25b55141a354435087f0646"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunRecoveryCoordinator: ClassTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. 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":"server/src/services/run-recovery-coordinator.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"555a52c1cc2fbabd9f1966ddc26d22cf824a29cac4f4a106dbf07e060061db1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.createProviderAdapterRegistry: MethodTooLong \u2014 createProviderAdapterRegistry 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/clawdbot-agent-service.ts"},"region":{"startLine":4655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a43a0a784696839168f3fca854ef3704cc4464d1e7e1e36ecdfddd3554716c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SettingsDialog.tsx: FileTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: SettingsDialog (266-908). 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":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"599183c898563c1939d536ea108cb72d8f83380cad2977766be2fc9e4ff1ba51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboard-metrics.computeAgentComparison: FunctionTooLong \u2014 computeAgentComparison 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/metrics/dashboard-metrics.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"118e03ee632a5e59beeae32352f11256e58eb02ef2d40a29f45238f5e1086024"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentPanel: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 182 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64211b7483f952ee887e2e6446c4fad10ce20e7ce15872dc8ea332ab82b219c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: digest/OperationsDigestPage.tsx: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 227 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30131f28f985b84cec61b262b1d0cf308c3ed5a2a03c439eb87ca85d219fde65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CredentialBrokerService.issueLease: MethodTooLong \u2014 issueLease 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/credential-broker-service.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf7425af9958e62602d7b6931872f980499abb570f868651d9595257cd9971f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup.registerSetupCommands: FunctionTooLong \u2014 registerSetupCommands 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":"cli/src/commands/setup.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af2c7eb40cb2b2ed164f1757acdd741f69bcd64b2b63074a6834a7a4ab929c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorktreeService: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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/worktree-service.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbef68562ff8423b309a02dc06375ea5562f0347adda4175baf126671cc640bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemHealthBar.SystemHealthBar: FunctionTooLong \u2014 SystemHealthBar 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":"web/src/components/layout/SystemHealthBar.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b6a8783590bf8a873b1d171f21be8eaf9ce65927de4db80d1021029c3c9f45"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workflow.registerWorkflowCommands: FunctionTooLong \u2014 registerWorkflowCommands 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":"cli/src/commands/workflow.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcb0b1e3661ab00f9f97ada32b748ccd48696c8af8221997b26fcedcc862fa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttachmentsSection.AttachmentItem: FunctionTooLong \u2014 AttachmentItem 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":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eea0fb26ec5cc6a38e6da2db810cb9a7633202e7a87faea183cc134a73d60e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CreateTaskDialog: ClassTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 166 over it, 1.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":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a342eb46242b1386b4c45145697bb83c5557734b31169a25ecfaf9b0f8da0b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/buzz-compatibility-service.ts: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 206 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/buzz-compatibility-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1937438afe8ffc31876e362088ff82f4e0fc7a42d5eb87f86866388ec552c34a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notifications.registerNotificationCommands: FunctionTooLong \u2014 registerNotificationCommands 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":"cli/src/commands/notifications.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0210d14ada40dcdab548a4173b073b57ce0fe87189faea24530f60718527cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorktreeService.buildCleanupPreview: MethodTooLong \u2014 buildCleanupPreview 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/worktree-service.ts"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"042b4a628ce07a96f34a7e751051df35a4bd5d8cb90e7eaab13a19fc3636033b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/maintenance-service.ts: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: MAINTENANCE_CONTENT_REDACTIONS (85-740). The bar is 500 significant lines; this is 199 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":"server/src/services/maintenance-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e899883180ec56ecd440600c9b38fd96bb81d57b443dcc8ddf341cfac923400"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/knowledge-collection-repository.ts: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: SqliteKnowledgeCollectionRepository (67-792). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1e87cebb1a51f227e5ab297cdbcc7737e0ac843b32f54bd24360f0cdb5d4a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KanbanBoard: ClassTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 153 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7218f00a7f1e1942893a6dec5049c20edbe359be6d86d34365c72d4fc6d15d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-recovery-coordinator.ts: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: RunRecoveryCoordinator (98-898). The bar is 500 significant lines; this is 191 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-recovery-coordinator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c253923af492885fc826f5570b338a8771b28f316de46a81a8258800e5a51370"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-launch-manifest-service.collectBlockers: FunctionTooLong \u2014 collectBlockers 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/run-launch-manifest-service.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e4564d53939789c664e46b044552ddda0085f4be5e0e8c11896dd3bf37305f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-execution-trust-repository.inspectWorkspace: FunctionTooLong \u2014 inspectWorkspace 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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"f043c1fda575c914503ab18b7716a7d536f12b7fc05e4784da49a3b37c42d9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BacklogPage.BacklogTaskCard: FunctionTooLong \u2014 BacklogTaskCard 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":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87dac15c05ba600f44212d02e699b23fd2c6e25ab05acf529a6610bd9905177"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionDetail.DecisionDetail: FunctionTooLong \u2014 DecisionDetail 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":"web/src/components/decisions/DecisionDetail.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac46b411ad39148f0b47360a3f1c58923811b4ed6df145fafa0e6c797812c27"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Header: ClassTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 151 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/Header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8cc342e7a848cdba6eb39f01f6034161ad7f1ee117fcdac16fd166dd3b05ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutboundIntegrationService.deliver: MethodTooLong \u2014 deliver 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/outbound-integration-service.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"55720db91485591d8087c256f8135ffdfb725ce8de24caf1aafd4aa948d4dc4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: middleware/auth.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/middleware/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244add8acd513717a756c66c9af01c3f95f93f2cd31ec0cca37a5bee3ade569b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsDialog: ClassTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 146 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79ba07bbf64a0c92f7c1e2205e20ec26a572fdfbd369382b1cb096513a53f61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared/desktop-bridge-contracts.ts: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 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":"desktop/src/shared/desktop-bridge-contracts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43939f6e3c3f82370f126a2a8f148b960daf886aa7a682c9e93e411b0040a80b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-access-summary-service.ts: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 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/run-access-summary-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5110fe3077dc5fde74e1e523187ad78fc37b4df2af7cf686d3917b030e8d9447"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/TaskCard.tsx: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: TaskCard (195-823). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"291307c821f9630256297072f77f028f58d87282a309dc2b674a5fffa7382c24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/task-envelope-service.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/task-envelope-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d70e74adbd6e992bc17ad86c51103e77481193ee2687e8fab6cf268ec7bbf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/NotificationsTab.tsx: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: NotificationsTab (179-784). The bar is 500 significant lines; this is 177 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":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97627ffd9ee2b08b742049b38624c3856518bee0ce1dc708d5cbd6020da94e7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/device-session-service.ts: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: DeviceSessionService (226-763). The bar is 500 significant lines; this is 175 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":"server/src/services/device-session-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ca0b028404f2a45a2e59276def86b0200be53a9e1adf617dbcee3f11dffbb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gateway-chat-client.sendGatewayChat: FunctionTooLong \u2014 sendGatewayChat 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/gateway-chat-client.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6620dfb8ba025bef3bc175060de304c7d9c4d11f25bb934fa33beceb658294fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplateComponents.AddTemplateForm: FunctionTooLong \u2014 AddTemplateForm 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":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62fa17bb1730a2fb2f825496dedf3e18eb511664e09b55ebe746e8dbde576c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotificationsTab: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 136 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c052de8c08617dd58623b09730cc4fa9a0f2f12694133f7d70d7f3a3dfe6b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MaintenanceService.buildSummary: MethodTooLong \u2014 buildSummary 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/maintenance-service.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb99a0be7ad77f240bbc9586b73f2a2cd51752ef4c87ba749c76d8c72c3b27e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.AgentProfileCard: FunctionTooLong \u2014 AgentProfileCard runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3c1be7022a04085de22ba351b626af51727ad3396f62175ecd8ac6f3066a61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/SquadChatPanel.tsx: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705fe2f62e743d88940cdb9f42c4c20fbf11a03d45cea614f9cba984d88522d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metrics/dashboard-metrics.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/metrics/dashboard-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc967029d0cbafb431a9e705285a80c155ef1c1c55923336a824ba831c3431a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskCard: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 2 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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b256fb5a0eda4478e451ddec5218c245986ea55413cf6a36dc17344186b27c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolControlPlaneService.prepareRunCatalog: MethodTooLong \u2014 prepareRunCatalog 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/tool-control-plane-service.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"76494590dd964ba3ddddda7ce6f668b4f3f785000690e4e7b462d979aa54f18d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BoardSidebar.AgentStatusPanel: FunctionTooLong \u2014 AgentStatusPanel 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":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25fa9fa17895fdcd512fc45a12fa579b7a81c70bdca680a9baee1f1b896a95e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/Header.tsx: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: Header (141-788). The bar is 500 significant lines; this is 159 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":"web/src/components/layout/Header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf214abb101ee9ff3ad9ffd8aa11ace0f1cf71a08d4d61c578ec8d76405400b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/sandbox-policy-service.ts: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: SandboxPolicyService (189-722). The bar is 500 significant lines; this is 157 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/sandbox-policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c76485fe61e8a167614cb05b1322d07bd7e40fb8e61f204bdfd8b04115902e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: harness-support-profile-registry.normalizeHarnessSupportProfile: FunctionTooLong \u2014 normalizeHarnessSupportProfile 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/harness-support-profile-registry.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8cade127371b7eb837cf64dd912adfa7595b0293626c2d6fdaa24e88f290b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/agent-host-service.ts: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-host-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cddc020b38a427284fa5be623f53fc0731e488a08fcc921fb826158f4573b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/AgentPanel.tsx: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: AgentPanel (77-774). The bar is 500 significant lines; this is 151 over it, 1.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":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd9d44d0772c2ddab4614af318e2051d140391a9c259f113ff4ede81deed2c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileTaskRepository: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/task-file-repository.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8eb13ffb4771cf28ef874df0de8e8ebdfd43ac5e10ff48e687f8b2b9dbcd76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-app-server-adapter.classifyCodexAppServerServerRequest: FunctionTooLong \u2014 classifyCodexAppServerServerRequest 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/codex-app-server-adapter.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d269907373634e07d3d498ae57f562a4eb8f964984cefc9568db95ad4e01dc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CredentialBrokerService.withCredential: MethodTooLong \u2014 withCredential 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/credential-broker-service.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"16226d7787f9bc43e6bb0ddce04c4e93cc3ef72b90b519ff2ed53577d4fe0fa3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemSandboxService.compile: MethodTooLong \u2014 compile 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/filesystem-sandbox-service.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4bc2509a45d2d76d66a447c8002587d8bb45f1706f6f11f037f787644a94e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KnowledgeCollectionService.searchCollection: MethodTooLong \u2014 searchCollection 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/knowledge-collection-service.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"506dbe23509487063ae36bb9e2e7f43c840bd0cbf74a76efbe0f8bb3d0792bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: board/KanbanBoard.tsx: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: KanbanBoard (111-821). The bar is 500 significant lines; this is 149 over it, 1.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":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8d75bbd6b5a66924bed7bdbc8eeb68f07061a010d77c29ed591649c83ba0be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaces.registerWorkspaceCommands: FunctionTooLong \u2014 registerWorkspaceCommands 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":"cli/src/commands/workspaces.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"31444b643eccf7c7b3637d084d26d8799bc4e7fa0d88878830ad5ec87013c31e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentHealthClassifierService.classifyAgent: MethodTooLong \u2014 classifyAgent 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/agent-health-classifier-service.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e35552b5a1fcfcf13ac90aea187fb597722520599b6334fbf5355269f00ab39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KnowledgeCollectionService.createIngestionProposalInternal: MethodTooLong \u2014 createIngestionProposalInternal 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/knowledge-collection-service.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eb7ae2c468b40c36ba4316175854c79bb8947756c3d58e244830cf31f03b88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ObservationsSection.ObservationsSection: FunctionTooLong \u2014 ObservationsSection 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":"web/src/components/task/ObservationsSection.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"81044e5b3539bf843a1c58c1f85edff0f80032b2d1faa52577ce19a94f3fc877"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VerificationSection.VerificationSection: FunctionTooLong \u2014 VerificationSection 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":"web/src/components/task/VerificationSection.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"04217db2c3da9b5063f8a551ac498198a2ec8b9badcc0b4ee3c0fc7ce3a65b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuzzDefinitionImportService.previewPersona: MethodTooLong \u2014 previewPersona 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/buzz-definition-import-service.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"465eae00c5aa76c6ad6e7cda40b0cd10a9dfba50ef2d3b798e7002bdbcb7e6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.startHermesCli: MethodTooLong \u2014 startHermesCli 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/clawdbot-agent-service.ts"},"region":{"startLine":6990}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dbf4c7bca486ef580cd33ec53ec06efb38812d140271dcb67956f1a35a65a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentRunTimelinePanel.EventRow: FunctionTooLong \u2014 EventRow 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"de18fecc42f281ef1ef785c4864aa6702252ed1d1fe01466a7183a691f54015d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-servers.registerToolServerCommands: FunctionTooLong \u2014 registerToolServerCommands 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":"cli/src/commands/tool-servers.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d408e65f84220f2e6045baadc090b4a8d7d490419f4e69b0924df35cf88c1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.startAcpStdio: MethodTooLong \u2014 startAcpStdio 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/clawdbot-agent-service.ts"},"region":{"startLine":5139}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6d8b06f5de9e2c7b6f195eb4c33042c7432f757b884f36c93840f7c64f8c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqliteJournalMaintenanceService.executeScheduledOperation: MethodTooLong \u2014 executeScheduledOperation 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdd5b250f76a7b3e06a02c4a188341363beae35abacf1e3f5a07edfc216cd6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FeedbackPanel.AnalyticsTab: FunctionTooLong \u2014 AnalyticsTab 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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfe10e0463367f9dee717c04673214fa8420b77a62a9408c3145b987eddd9d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DeliverablesSection.DeliverablesSection: FunctionTooLong \u2014 DeliverablesSection 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":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ad7d68608571b4db0e2bc291f99efe05c66b2b0ed06f6857cefd900048fe87"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqliteAdmissionReservationRepository: ClassTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 107 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":"server/src/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5144b86101e4933c0a3f17e5b3b2e51cc46cb1dcbddb3f0f9aea61c9f64dff32"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KnowledgeCollectionService: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"65865e00ea96f8183c92fe3cdca832c6d8e79c2dbae05ce1d24db5d2b2847f62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-launch-manifest-service.ts: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 131 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-launch-manifest-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fc798a0f016b6ed993ebdd3f6f4e32f0018dffb4d9fa02fd9f2687d114c7bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/acp.ts: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ac224ec128c78648fa0acda0163286e9a6296cd5cbe75428c3839f0c321c87"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhaseTransitionService.transition: MethodTooLong \u2014 transition 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/phase-transition-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38f10b036d43f57a264f1becb465f73e19a3a7263c4435e06ab1f220754934b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/CreateTaskDialog.tsx: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: CreateTaskDialog (60-723). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfc7b020df5d931864d0c2f4903f63fa67c9795954a4ee29d028cd558b2a65a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-launch-manifest-schemas.RunLaunchManifestSchema: FunctionTooLong \u2014 RunLaunchManifestSchema 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/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"41911ab01ce54b8c16313ffdd5465c914a156c49f909e48d5ef604893f6e46fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommunicationAdapterService.reconcileBuzzDeliveries: MethodTooLong \u2014 reconcileBuzzDeliveries 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/communication-adapter-service.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab8aba279d9b8439f660813b115c3d6899080f906f679030805efbe2a732fa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboard-metrics.computeTrends: FunctionTooLong \u2014 computeTrends 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/metrics/dashboard-metrics.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b8d7f29499304375cc01f7504236ae1fe356b7f019d0075b20f932a5d81a50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowAuthoringService.lintPipeline: MethodTooLong \u2014 lintPipeline 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/workflow-authoring-service.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e434a1507fad88804d1a7310e6494f21bb53338beb61386822ff1aa7a1653fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LessonsLearnedSection.LessonsLearnedSection: FunctionTooLong \u2014 LessonsLearnedSection 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":"web/src/components/task/LessonsLearnedSection.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b00e2113df532e5fc5566091d8696f7de6bb3ed631f8a250888418d82eba9df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MultiAgentSelector.MultiAgentSelector: FunctionTooLong \u2014 MultiAgentSelector 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":"web/src/components/task/MultiAgentSelector.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3144253f17630ed53908e0aed99e2be9e95831ae67a58cb136f2a3a5620d885c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-supervisor-service.ts: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: RunSupervisorService (106-683). The bar is 500 significant lines; this is 116 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/run-supervisor-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2667e305e5e7e76e9c124e337c8fcf03c682691e5dad211f53a917faf25db340"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: work-products.registerWorkProductCommands: FunctionTooLong \u2014 registerWorkProductCommands 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":"cli/src/commands/work-products.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35aa919c2720f5cc8b9a4e44031e3a52dc8656e17d2b53e0658b75ec6934794"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommunicationAdapterService.ingestReply: MethodTooLong \u2014 ingestReply 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/communication-adapter-service.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc08462b05e6d182ce20efcf649fb690879e54f86d5ce9a1324768c51539163"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/work-product-artifact-preview-service.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/work-product-artifact-preview-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8591593ed23eff1a273f44faf4ef8e237a741d3889a35f240a14821226f9c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.startCodexSdk: MethodTooLong \u2014 startCodexSdk 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/clawdbot-agent-service.ts"},"region":{"startLine":7447}}}],"partialFingerprints":{"codehealthFindingId/v1":"043cb7427d74272a595fc7dbeb6d6a4fc3efdd393e1fcc56400c272755cce9de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: harness-support-service.evaluateHarnessSupportStatus: FunctionTooLong \u2014 evaluateHarnessSupportStatus 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/harness-support-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60601971038841587d82a3307c62f07dbf2162a39c6e7357f4acc7c3f5ea8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkProductArtifactService.registerUnlocked: MethodTooLong \u2014 registerUnlocked 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/work-product-artifact-service.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"63134f189c2db7d1615af5c6390430cf8624418ceaee964a2bc90c981bfc4aae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActivityFeed.StatusHistoryPanel: FunctionTooLong \u2014 StatusHistoryPanel 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":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aec94afcd39a872b5522f0e9bd60fddaaa4b54756f94157b3f70f5eee8edcf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReflectionTab.ReflectionCandidateItem: FunctionTooLong \u2014 ReflectionCandidateItem 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":"web/src/components/settings/tabs/ReflectionTab.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff0ec19a06f27f8df024d8097393fc6a63a17bb60d9776a55c8a796749478ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitSelectionForm.GitSelectionForm: FunctionTooLong \u2014 GitSelectionForm 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":"web/src/components/task/git/GitSelectionForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"971242e6baa6c1c4da8b367b3499524ebd654bc9715b35fab55f46f467084048"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/WorkflowRunView.tsx: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 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":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c92504eb72f9f8835966090f7f4e620b4d5c11e43d40c9103948c51d32e0b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdmissionControlService.claimNextQueued: MethodTooLong \u2014 claimNextQueued 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/admission-control-service.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"8645fbdca8c7ec434e83ca14cb451b3d620e7696526c141bfed5005dd131fc23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutomationActivationService.apply: MethodTooLong \u2014 apply 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/automation-activation-service.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4726b4d6faf97433d13590aea26dc5f0f3782a167d10bd8bf188904f54f819"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunEgressGatewayService.start: MethodTooLong \u2014 start 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/run-egress-gateway-service.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"108abf6dbc3df1f5640ab56c5fda4b9fbfacdb81af003109c2f614b945034b36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkspaceCheckpointRewindService.execute: MethodTooLong \u2014 execute 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/workspace-checkpoint-rewind-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9669e73432b963489b5b52d80ac958d7605e34726130a2670da8b79700a3e8ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/reflection-service.ts: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 95 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/reflection-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"331a8fc2cde2c31b0a9b39cf11a4ff621aa54c654d47d4843b95d8e5300102da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileKnowledgeCollectionRepository: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 25 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":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d5d177d37ba2071774c7e378d356b5d85e08c657e45816a97bc9ef0d24b275"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: backlog.registerBacklogCommands: FunctionTooLong \u2014 registerBacklogCommands 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":"cli/src/commands/backlog.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa4f75685a53fbb3745551aead570334450c6e29b75044060236ef43ee262a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/auth.ts: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 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/routes/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"350bb19c09e333e6f1cf2803ca24b91954502f8ff4999e2f95c32ad5209712b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/DesktopOnboarding.tsx: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: DesktopOnboardingPanel (289-694). 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":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32a0e0905966720fba7ca3b7f9d684d07c390a0da82a3bb92b5351a5945ca6b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SandboxPolicyService.evaluateRules: MethodTooLong \u2014 evaluateRules 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/sandbox-policy-service.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd509905d6b8064164134e5f829f676afba5d2e72e7607b2645b316044713460"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunService.admitWorkflowStep: MethodTooLong \u2014 admitWorkflowStep 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/workflow-run-service.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"951da820f96b19da6a1fb3b3f9a8500dd0d9c2429405cdbae42add1e2231922d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdmissionQueuePanel.TreeControlPanel: FunctionTooLong \u2014 TreeControlPanel runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8499e94edc63486ce028eb597f13450ec4faf58237972941937607206b184ff5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileWorkspaceCheckpointRepository: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b08df5153f05159b4dde8e4b1d7c48372afe03f88899530bbedd84c28fb173"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/agent-routing-service.ts: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: AgentRoutingService (75-735). 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":"server/src/services/agent-routing-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75bf90fe995ebd8994077eb925c597e3e02ba4ab5fc2c2248106aae1e593bf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillCapabilityProfilesPanel.SkillCapabilityProfilesPanel: FunctionTooLong \u2014 SkillCapabilityProfilesPanel 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":"web/src/components/settings/tabs/SkillCapabilityProfilesPanel.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f99c1af19ac17ff10b722ab15ef7a219e288738fc03f383278d0a5d03081bb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentRoutingService: 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":"server/src/services/agent-routing-service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0618c10dfce0b7b4af9b945604665b85cf2b194e64ce281957184cbe3282cf9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileAdmissionReservationRepository: ClassTooLong \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 61 over it, 1.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":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"309eee9ea694637a8a43687fe2e5ce6f633bdee3116791a32caf943246a191ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuzzDefinitionImportService.previewTeam: MethodTooLong \u2014 previewTeam 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/buzz-definition-import-service.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f1e6bd8c23cbb300a8b8ffa486e5fb9fb1f5619e82dbe09fb50eaa1e06b8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunService.reconcileWorkflowStepQueue: MethodTooLong \u2014 reconcileWorkflowStepQueue 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/workflow-run-service.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88196e39521c857e4dc59396725e3fc757864946c00fab8209af8ca83622803"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalTrackerService: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 53 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-tracker-service.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17f8d9765d9e303e13dc32431afb9bf5652a7589895f6b2645ad2f097dc0140"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/useTasks.ts: 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":"web/src/hooks/useTasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe8c466e69ac142fc89eacb265bb5fb6b2305f9e635b69a4df647ea91fda0ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.AgentProfilePackagesSection: FunctionTooLong \u2014 AgentProfilePackagesSection 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e98f62169f289f51225c89f5bcef256f99fd7df783981b44c98f49e14376e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/governance-repositories.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":"server/src/storage/sqlite/governance-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55481b288271bdcdcf950e97d1053a0642bad43c141529511039522c127a616"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunService.startRun: MethodTooLong \u2014 startRun 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/workflow-run-service.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e03f16f52764e84cba0355330b902e4097754ab1d233e6f307be179e0e7cfdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowStartDialog.WorkflowStartDialog: FunctionTooLong \u2014 WorkflowStartDialog 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":"web/src/components/workflows/WorkflowStartDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a717666fb93d5e8e322113918b6136e37e6fe80e07467aab67c954d26e51db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/durable-goal-supervisor-service.ts: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/durable-goal-supervisor-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80939b297414c1bc54bc3bd2bac57ea58915bfb23fc788cce6bb0820cd3e8de5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/evidence-timeline-service.ts: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/evidence-timeline-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb12bc217ba83b2d82d330bd18a85548d880834904e81b6d39d55654ffb26209"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/identity-repository.ts: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: SqliteIdentityRepository (151-618). The bar is 500 significant lines; this is 59 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/storage/sqlite/identity-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531956f0b5f89e8c9ef67bb127eed067045c569e843b2e89e254763a084a40b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunSupervisorService: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 47 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":"server/src/services/run-supervisor-service.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c4e383a5ebfc4e3d9cec03623d7db0fe4daaced8422afefb144a02c7a7107a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-access-summary-service.projectIntegrations: FunctionTooLong \u2014 projectIntegrations 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/run-access-summary-service.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1686d5d211b279852019bd3c5ffd97d56319140b540389f2ec4d375019441e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunRecoveryCoordinator.planTaskRecovery: MethodTooLong \u2014 planTaskRecovery 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/run-recovery-coordinator.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8f63943f4bc2eabbe35c6c8234518f1d6059cfdd9424bda7e8e4e6c50df4b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptRegistry.TemplatesTab: FunctionTooLong \u2014 TemplatesTab 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":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d5877372512473821ad43edc580e56eb3ab93afd3ea2acca1a79b8f716f6a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunSessionSharesSection.RunSessionSharesSection: FunctionTooLong \u2014 RunSessionSharesSection 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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4d0a736de920211c05c53ee6e1c33f95ca7125492c66e9506af04ef3bbab66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schemas/admission-control-schemas.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/schemas/admission-control-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"580959c5a703323677b4785d65348323e9ec098c15193026ee8609be99c903ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sqlite.registerSqliteCommands: FunctionTooLong \u2014 registerSqliteCommands 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":"cli/src/commands/sqlite.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff58bef2d68f15728e53f9b5e5db190b4db7e3c5fb47632d8f9015f2cf14f6db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdmissionControlService.projectQueueInspection: MethodTooLong \u2014 projectQueueInspection 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/admission-control-service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"584a553001ab539a87a0804135ddc9114efcf9a16921125e807dad5de3f548af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutomationDraftService.validateResolvedFields: MethodTooLong \u2014 validateResolvedFields 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/automation-draft-service.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7774fdf689b5bcfe3260cbf33d805ef27b487a5fd08004fde1019851dd3323"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProgressTab.ProgressTab: FunctionTooLong \u2014 ProgressTab runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/ProgressTab.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd500948ccad72df64cabc7c661ca745cc192ea217fb1020a8bf001069b2ef17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/RunSessionSharesSection.tsx: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: RunSessionShareView (212-637). 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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fb56aef28b60228bfafd4207e2b7d839c3e11f92f10b2060a6fd53270a54cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/snapshot.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/snapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1d716ea796ccde10bec19913b1268c958c0d77a604d5257d22e88e7c145b37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/admission-reservation-repository.ts: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SqliteAdmissionReservationRepository (40-663). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a64b278222f1e81178331074c57c8c3bb2cf2dd901b7c5d41d33aaec528a1e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/workspace-execution-trust-repository.ts: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e2df82b35a66081b9da92bbc285f3ee0f3d6b75969e45bff3fe3bcd2cb5da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/MaintenanceTab.tsx: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: MaintenanceTab (201-621). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"483b15aa0ecd1a371a93bb84a32faa67e3a0cf54989a229620f4d458ca2b1fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agents.handleAgentTool: FunctionTooLong \u2014 handleAgentTool 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":"mcp/src/tools/agents.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d78066a6d2c2a2f5db40a9570cba3c2dbb56421cdcccaf88fb9193ae8891af6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueueIntakeMonitorService.evaluateGates: MethodTooLong \u2014 evaluateGates 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/queue-intake-monitor-service.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a780c7b9673d86d57a5707bb3ded0de5d956755cb2a0676747218d4187c195c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkspaceExecutionTrustService.evaluateForLaunch: MethodTooLong \u2014 evaluateForLaunch 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/workspace-execution-trust-service.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8489d157a643bb38b34ed325d2251ccf10f0591bdf6c6557f60f5444a2aa348a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GovernanceTraceDetail.GovernanceTraceDetail: FunctionTooLong \u2014 GovernanceTraceDetail 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":"web/src/components/decisions/GovernanceTraceDetail.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e5a07c9c26ec69d964cd1c6230ae732ac0025c050daace620220b0f71154b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsTab.AgentItem: FunctionTooLong \u2014 AgentItem 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8e3d29604acfe63e6260a4e7d899e264f24418ac750e902e388e915992960a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/DecisionReviewSessionsSection.tsx: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f00d486d5719235dc25084161fbdb3bd2a38fba5bbc5f3b101651369b6c3c7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemSandboxService: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 29 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/filesystem-sandbox-service.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2427b59fb23447123b7359da2d981e3d33bd07ebd9e00464988270cd9d6cbc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/skill-capability-service.ts: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 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":"server/src/services/skill-capability-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d3aaa4f9f91dd70a7990f88a6565ef8f810b692eb791dc66659b7ec486b299"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/filesystem-sandbox-runtime.ts: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 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":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"924bd8aa42d1ca0b8f9273038c55f0dc22d5397e483782f837ff335b3048b9c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskDetailPanel: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 28 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":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8e542fbd045fd9627d0195782a0977086cf7ddd0ae538e83de148899c40b2b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.handleClaudeCodeJsonLine: MethodTooLong \u2014 handleClaudeCodeJsonLine 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/clawdbot-agent-service.ts"},"region":{"startLine":6851}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eb7145f8e1ce340ad0f80287f698a354731fc4f2103ffe7cb7c5432e737a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunLaunchCompiler.buildRunLaunchRuntime: MethodTooLong \u2014 buildRunLaunchRuntime 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/run-launch-compiler.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba27b60bda5d6de2d05b7a4c909f30a8136a9c288acf217f38eab12671c1174d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorktreeService.adoptLegacyWorktree: MethodTooLong \u2014 adoptLegacyWorktree 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/worktree-service.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c070a77239b99100ffbc734baad447f78667297c12caa90e0280f4609681df"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqliteTaskRepository: 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/storage/sqlite/task-repository.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddea0003c3e5524fce1f477cff93d98114ae92f125596465876cca94b0c14531"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SandboxPolicyService: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 26 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/sandbox-policy-service.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fab49bcb97abda012093554537f54687315dc45ef25f1029180eb13c83d75f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReflectionTab.ReflectionTab: FunctionTooLong \u2014 ReflectionTab 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":"web/src/components/settings/tabs/ReflectionTab.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc6fe4576c41c60382128b95d5dbed81a7b2c4c2d147e4e4da6cb160cb49f50"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatService: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 23 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-service.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"007cf203c5512b7aa5f014b773461771c98aac66e6242bccb1394d7c9c99f06b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PolicyService: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 23 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/policy-service.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a12c3e1f2ae4d9411d64f377491a2c4e6b1b5a406f2d25a93174686390ac035"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/outbound-integration-service.ts: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: OutboundIntegrationService (203-684). The bar is 500 significant lines; this is 27 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/outbound-integration-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf6e755331ddd1c460559835686f4a4d02bef277c0413022142ec4bf06af0c5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkProductsSection: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 21 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60ad08f940a189b325ba0544c5e56258f44b19871b2656caaf3bcb4c1c49d32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mime-validation.validateMimeType: FunctionTooLong \u2014 validateMimeType 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/mime-validation.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3987a383bb67dac75e52e8f7d00ffb33ff8bc3b9733610bf0c7e0e4aaffce39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunTerminalService.executeNew: MethodTooLong \u2014 executeNew 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/run-terminal-service.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22bd7be8d5b6bcc991338ae3adb64b484f94a62ee4b81378893a504cbb4f45a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActivityClock.ActivityClock: FunctionTooLong \u2014 ActivityClock 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":"web/src/components/dashboard/ActivityClock.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefa5164791eecbb5bca1874568a3b5a8c5dafefe07b84f1584c97aef7efaebf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PwaStatusBanner.PwaStatusBanner: FunctionTooLong \u2014 PwaStatusBanner 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":"web/src/components/layout/PwaStatusBanner.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e252c7adae705d61d971afd126a6347d0276032d718a9a717959714fe1f31631"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeneralTab.AddRepoForm: FunctionTooLong \u2014 AddRepoForm 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":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d8b3384469a1af903d57d361ade6a99b45312d2ba833b4abe21309add041b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttachmentsSection.AttachmentsSection: FunctionTooLong \u2014 AttachmentsSection 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":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"44133ce5a44dc312fd0d6f08cc537a4e0c58b2c313b4d3d55c23d2ce4f305939"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github.registerGitHubCommands: FunctionTooLong \u2014 registerGitHubCommands 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/github.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b9bb727d4697e2d8966818b853a983064881736b3776bf59c15f4d47a055e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArchiveSuggestionBanner.ArchiveSuggestionBanner: FunctionTooLong \u2014 ArchiveSuggestionBanner 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":"web/src/components/board/ArchiveSuggestionBanner.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c2f2436a442ac5bdf0f4d4fa5f9f61f1b70f3b12943a581c7bcc2645603352"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopBottomPanel.DesktopBottomPanel: FunctionTooLong \u2014 DesktopBottomPanel 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":"web/src/components/layout/DesktopBottomPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8c3fb7004c2f166c8293446b1f82f9ef84e9a27c8d7d571cecc987bdc89ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: time/TimeBreakdownPage.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":"web/src/components/time/TimeBreakdownPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ecb69d7a6efaa0b8c0eb5d089ac4a07f541278821b0093c1b39715d1eea96b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorktreeStatus: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 11 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":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2b3b528f7bd4b27833ea3af51f28d903e5145b150d36ff2cf2902e022364cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schemas/run-launch-manifest-schemas.ts: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: RunLaunchManifestSchema (35-427). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"764463a5528856ef281c576a8e4b947781e81dfe008d0bab5f2fd33788792b51"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeviceSessionService: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 16 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":"server/src/services/device-session-service.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1122fd9d7be0ab8946061600a282041eb0196761b3a64563a0df2a9452d6d8fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConflictResolver: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 1 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":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7386ddfb1bd54540bba1dade1cae28a26107da484de1ebdde8c0245849fdbc11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/scoring-service.ts: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: ScoringService (217-697). The bar is 500 significant lines; this is 10 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/scoring-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"235e6e4c7dbb3356d1fdda440695e62842022c8822361ec325409718af6e2921"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KnowledgeCollectionService.transitionClaim: MethodTooLong \u2014 transitionClaim 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/knowledge-collection-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53c0d7ae13548a2bef77cd81bead4b9684b23c331af8b824f8558999aef9578"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunService.getStats: MethodTooLong \u2014 getStats 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/workflow-run-service.ts"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4594ab458a85f9ed66e4e449d8519d61abbedc5188c75d89daa92a51707a84c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowEditorRoute.WorkflowEditorRoute: FunctionTooLong \u2014 WorkflowEditorRoute 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":"web/src/components/workflows/WorkflowEditorRoute.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ddd0b121c928ee4064101eccf0ecc1fca3f001c3531ddf046a91d9c7bedf78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-registry.createCommandRegistry: FunctionTooLong \u2014 createCommandRegistry 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":"web/src/lib/command-registry.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0676ce3f5d7a7a526d98f31b657c6da4d65c463affc869d4ac20552e99748b88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/WorkProductsSection.tsx: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: WorkProductsSection (108-597). 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":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb467df8e4fc909b71a52c1b40fa391b9d54e911c508934d879c8f9fe03a5ed8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GitHubService: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 16 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":"server/src/services/github-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf231ca51e148057cab945dc801d9349b3efed19bc7a364db78f95461cc755a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: feedback/FeedbackPanel.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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38615f4c722f911ec608058e0bdb2483cd4821390dd98ffd23c997b9810da144"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawdbotAgentService.handleCodexAppServerNotification: MethodTooLong \u2014 handleCodexAppServerNotification 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/clawdbot-agent-service.ts"},"region":{"startLine":6287}}}],"partialFingerprints":{"codehealthFindingId/v1":"40de40cb84534b20921adbdd59e36cd24ed0b4668002912375f3907bd0b00cf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: knowledge-integrity-service.lintKnowledgeCollection: FunctionTooLong \u2014 lintKnowledgeCollection 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/knowledge-integrity-service.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8a5586588643ea5e7eb6cc4b7dbe7cb8a76e2bd3c10e372371ab6bfdca7f16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunFileProvenanceService.record: MethodTooLong \u2014 record 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/run-file-provenance-service.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb44a9acbcc351e79d009abbb371a34d9d6c11cc62628bb7f1829c34f2a27d42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTaskMetrics.aggregateMetrics: FunctionTooLong \u2014 aggregateMetrics 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":"web/src/hooks/useTaskMetrics.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e84563ee461af4d2cb4a96805aa51171c03c0f14a5f863399fa49c320e1b9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/admission-reservation-repository.ts: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FileAdmissionReservationRepository (48-648). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bfd4690dadca0f84ec6c14caca6a6e2a94f3349b4d5b9883a86aa86f509ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/policy-service.ts: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: PolicyService (88-700). The bar is 500 significant lines; this is 3 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/services/policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e869f29d16120aae0b7b6ef1a7b68b5790225809fbe4b9d268c65f860cc2c1de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/work-product-artifact-service.ts: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: WorkProductArtifactService (93-538). The bar is 500 significant lines; this is 3 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/services/work-product-artifact-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8f8b82cb5179ad375d9d890375251d36b26af0f7eb5bbb2e84bbe05b183e84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task/TaskDetailPanel.tsx: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: TaskDetailPanel (81-585). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6451dd1bec97faddc66b7d31658cd24e7ea77535459b428de65156c28405faf2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AuditFileRepository (LCOM4 4): AuditFileRepository\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/storage/audit-file-repository.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2729346eb30578bdd91761a634f62eabf977b4ab92cc4365cbaaf13808d6da17"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/agent-status.ts: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/agent-status.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4e64472b46edf4d8d1698b5e7413be8c54391307189a4fc4078d39c95b5d6a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/automation.ts: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/automation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a71e62bf139cb6df42d477834cc5fe3f6af7174663bf3a13b87dd576edd405"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/backlog.ts: 20.3% line coverage (13/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/backlog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb1286c4db7507df9b6e893fe22aaa1461fa984fce178a0c5e10cabe732f878"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/comments.ts: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/comments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14e21b45dbae9b528aa05861a007a1d0710bfd1f690e6a5ddc2474e62a462fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/github.ts: 39.4% line coverage (26/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6372ccf0ab8633037341b5eb3229173e0d4cba5dd79e3c2b61bce0c5165bf13b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/notifications.ts: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/notifications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a88bad5c812a8d93f4909b6dc786925bca3bb9fe1ef6e1dfea99e6d61f32d81"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/projects.ts: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/projects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16cca59ee824640083b4d0267e9250958e2ff334b8c46aa57f3b914ceab0227"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/queue-monitors.ts: 0.0% line coverage (0/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/queue-monitors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4d8424f11b722a95e2104984b4e869b41f93e26723bf5ca8a672e71e78be25"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/scheduler.ts: 36.2% line coverage (54/149)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/scheduler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2299ff250b0f605a5fa47fbbc1112bb6da2aa77e839aaae4876316e8206cba5d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/setup.ts: 0.0% line coverage (0/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/setup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de8b5474c16a35f6b4c509494cd122b5d08b6121530c640a8e789ec1c8d4ae7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/sprints.ts: 19.4% line coverage (19/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/sprints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cd7f22735d4ab9ec2c3ace6d21c1a315ab9c7e4b20b5513ba7f87cde4945f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/sqlite.ts: 28.6% line coverage (18/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/sqlite.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9385b0ffdf50f9f5327b4dccdd598fb7c05e2bc6fd62f27ae2945e814f7c6ef"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/summary.ts: 37.3% line coverage (22/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03111381cd460c8997d066f28c003cd68ecee5704a91f08e12c2136c53fec2a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/time.ts: 0.0% line coverage (0/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/time.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7973c24c2f7f735afb49efc07e113cc08695c465255bd85f764d5555d175f6e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/tool-servers.ts: 0.0% line coverage (0/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/tool-servers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3f8dcc3d01ceb7630a34919c8aed12098c6f852bbb463b6371f9c933df9d8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/usage.ts: 0.0% line coverage (0/113)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/usage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1cb1a38dac3ece41f6d13e2e04c6ba3d9bdb7b2f88c08afb964d071cc237f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/workflow.ts: 0.0% line coverage (0/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/workflow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5d2d25a28b2412c22baefc635e74a37bced56d80f594f7efcf2c4c7cc0e335"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/commands/workspaces.ts: 0.0% line coverage (0/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d136218e2d503cc7b71308d9260af12811f53951e52850cda69a7841982c6e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/index.ts: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf1f12a397f907a7f0631262347944f89cb8334596ec7124f4812dc7e2bee8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/utils/format.ts: 3.8% line coverage (1/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/utils/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b031e23f6c616da764245177eba051edd348e0b24f964e5ac0993ef082b0a124"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: desktop/src/main/index.ts: 0.0% line coverage (0/225)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f29a1d1880d3ab62cc979694f52626c384118fa87a0034820a953d7c03a47e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: desktop/src/main/runtime.ts: 25.8% line coverage (16/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c19e5575abd75152cbd280256dab84cf2ba41b5e0ae20cf85d00b0362b4afb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: desktop/src/preload/index.ts: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/preload/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ca0b65451a6d05b7d1a12f62ba08e884a92827399f9fca6b2757a52941a1e2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: mcp/src/index.ts: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80958a629932970a7a438f7dcbaa8b671acf7527044b6aafbc2ce6b0a22a0b8b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: mcp/src/tools/automation.ts: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/tools/automation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1849c0e6ce7cf86d67ee0c44321194e41f3bc78163c34a66529486589191d224"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: mcp/src/tools/notifications.ts: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/tools/notifications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fa7dbb2691eb921d02bcf14127fe7a73d954e42bdd5b91a0e2ad180c8fd32e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: mcp/src/tools/sprints.ts: 48.7% line coverage (19/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/tools/sprints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e238c3d726a2e334c830927e38a76436f8d115647366badaa5f336e51bea1b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/config/swagger.ts: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/config/swagger.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebf783ea724c02e1a370be68329ea00341baa723dc722fa6b976d9413ea7845"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/middleware/metrics-collector.ts: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/metrics-collector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77815e2e25c2c86457e868f6d9c328e86f8bdeb09241a45d1d23841cdcc9aeec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/middleware/workflow-auth.ts: 41.2% line coverage (7/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/workflow-auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e609fbbcf5fc36999f1ec58cfdebb060ae0e5ba3a1a5be4edde1494769cb05d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/agent-permissions.ts: 42.2% line coverage (19/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-permissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b671b811498bfc9c347951b0df9e24568194ba00902c879622350d28b5e83"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/attachments.ts: 13.1% line coverage (11/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0042b5ca5304a324defd5af4dc56205880e62f209ea0e20871b06036482af8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/audit.ts: 30.0% line coverage (3/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/audit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9774ae32a922cc77334a95327fe4d31e33b195d0f854797d5810f2378bd2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/backlog.ts: 16.0% line coverage (15/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/backlog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1bb160f6491ea905fe2bd04ad5c31b77a6f1e2db4e489f58c3f038dda18fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/broadcasts.ts: 17.2% line coverage (5/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/broadcasts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0bb40bef7a1ca368e4dd4f8b9afdd4b93eadc1d7362b1076f4728489538249"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/changes.ts: 26.7% line coverage (4/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/changes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d2513bc611df8b0d12fad3efea8a65c528df60370ee193a54f413078b9da67"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/conflicts.ts: 19.4% line coverage (7/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/conflicts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084dc266e7b05855d0c6b21b3a424aed58aa7deae4208ee262df0a7044b73f9e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/delegation.ts: 22.2% line coverage (6/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/delegation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97a6dc6a0c218e0842ec1efbe1db25831c9db4f1aae310abaffe41b8f70b621"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/doc-freshness.ts: 17.2% line coverage (10/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/doc-freshness.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"275a7ff3490336bf4b0248ce1dc8a43a02c22eac9e467c563b0ae01c5f41c5bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/docs.ts: 18.2% line coverage (8/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/docs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ded27bb4f1b4d81d7fd31ed086c80172b9513dc05e6fc80e71a85315295f7c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/drift.ts: 19.4% line coverage (6/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/drift.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7903691d2e570951c1aae09d1d22caf3a9a9398ff5a12ee1e258a73dbb6177d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/error-learning.ts: 26.5% line coverage (9/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/error-learning.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce65987055cc655f2f9c2238391e65660e2ba5ebab7aecc2d3bd94b3016280c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/evidence.ts: 30.8% line coverage (4/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/evidence.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f5150eb29f0ae058697e667b794dcfc34d7df5d1604fd6ae8f2c2d2ea29d5e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/governance-traces.ts: 45.5% line coverage (5/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/governance-traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ca02a07629e35aad85457e8f2f5d063c23e8c1080279e153145405c6f6784d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/identity.ts: 39.7% line coverage (31/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/identity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1a99e094abc2706179781b785aed8c3781ce7239837bb52443f8a34cd9be0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/lessons.ts: 7.7% line coverage (4/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/lessons.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bd62b3c1373e534ab4d79c8d28d0f44fdbec89883820334b8bfc2339d75319"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/lifecycle-hooks.ts: 25.7% line coverage (9/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/lifecycle-hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c1335cae821ec0c2c4f6cab593b215e087c121e672d2bdc7a40578858e45dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/managed-list-routes.ts: 18.4% line coverage (9/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/managed-list-routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd943b432f1b3f80cc97a2198a479d4ce48620de459c6555cd682d5d3461c4a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/metrics.ts: 20.3% line coverage (13/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25213ba72faade87f26f8efe92b89430e0ac8ea0b73fd12051f5e3c5cd28252c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/preview.ts: 29.2% line coverage (7/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/preview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"056c6d3016f81da070d339bd75610f5e0d39099e2e5b9e886519e99ef2171c4f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/prompt-registry.ts: 25.4% line coverage (17/67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/prompt-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fa3452938a34bdecd4907f9a0c72f1a7fdc6fbf8c7f4cd87bdf92d1830509b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/queue-monitors.ts: 43.5% line coverage (10/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/queue-monitors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa72f3a3620a4554b260b70b758fe9f5452a3c5d4caba8617c8aa817a737ae0c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/reports.ts: 21.1% line coverage (8/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/reports.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3570b4e6470b6df0cb0c4fea52268397b1010bf4884c4dab9192852514d6ff9d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/run-tool-bridge.ts: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/run-tool-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60c32cd18937a36a64f3645cf0f6352461a8a1af93d01a600ab90fad3654a89"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/scheduled-deliverables.ts: 21.1% line coverage (8/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/scheduled-deliverables.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fc12fc6e8acd991e590dea8210ffce6abff59d77806e55883642138b031aac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/scoring.ts: 19.6% line coverage (9/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/scoring.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c9256d0ef2f900b183cc095a770f0b03de52f84f263177bc997cc5e8c79067"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/shared-resources.ts: 25.4% line coverage (15/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/shared-resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92018185f27ffbef6526ed286af65734e1f729a771debd57561cb04c21ba6dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/skill-capabilities.ts: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/skill-capabilities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c689b56db2fb07e34da29476fd172542dc36dd7c38da44690303026c14d8f4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/skill-security.ts: 30.8% line coverage (12/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/skill-security.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"086d25c27e493a4b63de10782286e15aab11f1ed251091ee153c6ebc51f5a283"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/sqlite-portability.ts: 37.8% line coverage (14/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/sqlite-portability.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"633b258c27d4ea66eae14ee7fd425c51d421fbc42b5c3a2be8218c9ba12b2403"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/task-deliverables.ts: 11.1% line coverage (6/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/task-deliverables.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d99e66fec7ea3efb3f7126462d33a8b7a32afaa6f03c252cb295537e88d6834"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/task-observations.ts: 36.4% line coverage (28/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/task-observations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f530a875759eef2dd357d91722a3fa7fe28f3940b0b404cef7648e05848403b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/task-verification.ts: 15.2% line coverage (7/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/task-verification.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4893618ceb02dd01e1d721d0d0065a8a1a9c7adb5baf21cd07cffbfcc1821e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/telemetry.ts: 11.1% line coverage (9/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/telemetry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41026f7e07e27d021e23478dc7574055068045068cce754faaeb8191a2f91ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/time-breakdowns.ts: 25.0% line coverage (3/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/time-breakdowns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e816e4e0942fe61839039979bde554bef0eb42495a2e750088ea2a87693fbb8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/tool-control-plane.ts: 30.6% line coverage (11/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-control-plane.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28bbe25c9164b62cec244f216b38b38d2fb4f9bbc7666a00a095fe4365074fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/tool-policies.ts: 40.4% line coverage (21/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-policies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0b3c3a2ad8d99075a5b5bbbe3d6a30e607023840cfe992dbb51bb358410503"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/traces.ts: 27.3% line coverage (6/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1aa3a507905db7bb0b7358350e48e79a15d28196ea6923fbede14ef05dfd8d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/transcripts.ts: 20.0% line coverage (5/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/transcripts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f0fe9b402bf8c789014a07381741ac97ca2b07acdd7c2430444b847b172bdb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/transition-hooks.ts: 15.7% line coverage (13/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/transition-hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4939293d231dadfa5cc426a511f82c29a69bbe82a4147e978d6a4f17441af8d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/routes/workflows.ts: 47.5% line coverage (126/265)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/workflows.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fead72852ea3b950cd3e3071f7bc8ecca3cb9d0cef7c496659daebf3d742562"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/schemas/changes-schemas.ts: 12.5% line coverage (1/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/changes-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7176ef5f4335d2ccc829687fa992fd6b2f1d6ab73e82155c17015059e98e8616"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/server.ts: 0.0% line coverage (0/491)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4875e9fc7d1521a28719bda7d018dc234c4f920577353e08e3fdbcdf0554b9b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/activity-service.ts: 44.3% line coverage (39/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c8267f2f49f29a7197f6ba09d1af204997f57876b4d0e819bd4e6ad1b51d54"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/analytics-service.ts: 3.9% line coverage (6/154)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/analytics-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7d16ddf7b86aaba64f9c145fdf33032e5f05b5056a7a77a27d3b38429b8c4c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/api-token-service.ts: 13.4% line coverage (13/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/api-token-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81f83df2ffa1060b4ceec81ed4fafc7be19a2815b3d827f0b12405e8c65d463"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/backlog-service.ts: 12.1% line coverage (12/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/backlog-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c2478074c31b4545be47b69ceefbf00199278bbcc2ef62719d22636d73474"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/codex-health-service.ts: 7.3% line coverage (3/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-health-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cd6e8129195c83277a8affb9a78d019789775fe3fc0aa40f845f10d31a831f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/conflict-service.ts: 28.7% line coverage (25/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/conflict-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76b54da8a27487c1c1aa2d46e1afe09389235c4d158068c57d88e6a4ac87da6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/cost-prediction-service.ts: 33.3% line coverage (39/117)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cost-prediction-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b33d7c72de78f707479a318f13abbd53f73652c28d4ea256c0e9ceb70aaffb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/desktop-setup-context-service.ts: 12.5% line coverage (1/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/desktop-setup-context-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41934ada70b60de3a60b5f45bba753687db43ae8c01ad5f6ee407992b6f7e4a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/device-session-service.ts: 9.9% line coverage (23/232)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/device-session-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60795a5ff62acf759e8b248af8610fe29db1061cd96ac80e514bbd1a509d7a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/doc-freshness-service.ts: 4.1% line coverage (6/145)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/doc-freshness-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2632f6637cac0454fd0b11df7020599695ddf9f4de393a9695254a2008c768"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/gateway-chat-client.ts: 0.0% line coverage (0/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/gateway-chat-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaecd0a67392b6442922faa4c0216a87dc5475aa02d1d8293568de4e654856c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/github-service.ts: 46.2% line coverage (96/208)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fbd4a4c31489f59a5d1804e45b3feabeae0e8089df15dddcb2d8b64e65f3ca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/github-sync-service.ts: 6.8% line coverage (10/147)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-sync-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0825ea6b685032152db8ca5a2be535f662ceac85da0e283c5f83128e3821d90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/identity-service.ts: 3.9% line coverage (5/129)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/identity-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e1925f1ab5d64c9f1d8c77da0f00fa0f6b5db26c1caa3812db55f17a422d0d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/knowledge-launch-policy-service.ts: 7.1% line coverage (1/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-launch-policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92624a5e634352f73ee4b67f0ada53bad81f6eaa1d57c079b46a1af2271cb58b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/lifecycle-hooks-service.ts: 5.8% line coverage (6/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/lifecycle-hooks-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e860f61f5046de76c5ba00adaf459fcd26b2ec99ed7076759e9b59082936f888"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/dashboard-metrics.ts: 1.1% line coverage (3/278)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78220ac64759b48a79db1970c030cf15fed6f4ade92f85ad45d45e64cc50184b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/helpers.ts: 40.4% line coverage (42/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4881fce572d2b329f4265ac7863236a62405fcf5477b2af6052de4c2ba85c4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/metrics-service.ts: 40.0% line coverage (8/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/metrics-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8cd8991fee6f6bb8cb89614bddec9361331dbc96dcf8af335991978a0a7329"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/run-metrics.ts: 15.0% line coverage (12/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/run-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc1b8e952661524cfdcd479fc7a68360f8024e802601b6b4ac8c32d47fd1e09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/task-metrics.ts: 0.0% line coverage (0/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/task-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e204f8e8efa940dde90cfac73faafb30b860a3d45a955d094f57e8db216cb637"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/telemetry-reader.ts: 24.0% line coverage (23/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79af90ff31c322dbe5c84d3c203b1eab0c5e99b7fca124f7ee9fdcaa941501fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/metrics/token-metrics.ts: 1.2% line coverage (1/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/token-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ca8a1ca7433793f327abfa38ae04542ad142277e66a9447291e60731ed847a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/preview-service.ts: 28.5% line coverage (35/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/preview-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c3f0be708af2b46c7208dc9cb5dc80814dccaa2a0f80cc1dffadebe40073e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/sqlite-portability-service.ts: 39.9% line coverage (222/556)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe51c330a1a3f38fa3772ef91d2072392a8c51fe8938ed65fff26672c9ed39d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/tool-policy-service.ts: 24.2% line coverage (40/165)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f25f4e22e9241eb09787586036b5196bb3c773cc2a0f6ec271928c901b069a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/services/transition-hooks-service.ts: 10.4% line coverage (14/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/transition-hooks-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bb9bbc7a5452ca945319e1e45be1656ccdab13d56fbdbc7efd6e3bada7cc37"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/append-activity-repository.ts: 38.0% line coverage (70/184)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/append-activity-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9a92677a3ab3827fee8108dfd604df3937cdf78cb275759e672d0bd8c1d952"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/backlog-repository.ts: 11.8% line coverage (10/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/backlog-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ec0c9fe667d26b737c2dc7e59544f71cc8cef2e259c8301da8c348983a3601"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/activity-repository.ts: 9.5% line coverage (2/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/activity-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bbb03d11768a6c8b0ea1309e2fdb809aff251c2182c571ea93d562d40be3f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/admission-reservation-repository.ts: 0.5% line coverage (1/220)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3662dc371ef15d01b5f4212e73897cb68dfdbb161127c2bcccf56ad2e01e781e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/api-token-repository.ts: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/api-token-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e6898d175d7374749a76c132d9709edfc86b4b96faef1def79a0c8f3eb8f9c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/audit-policy-repositories.ts: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/audit-policy-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94e375f9e877c9753af491b3392c14199828e6186bc0c97b11003df7fe55564"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/chat-repository.ts: 28.6% line coverage (16/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/chat-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b583f21042aedef761b75432e238fa8f7fd2ae2fe37d26824dd729deed27c6e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/device-session-repository.ts: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/device-session-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107b038b29ae9ff2ab2513ae844081f4e5d948a5323c03e20c6d032c2e839f75"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/durable-goal-repository.ts: 2.2% line coverage (1/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/durable-goal-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1655fd202ae32bf10f39e25b94b300a1cad7eb7d6150ce0d9b3d7d1d95c8694c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/governance-repositories.ts: 0.0% line coverage (0/155)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/governance-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d28c48d814066cc9da6eedb3b9dadfc9e981e49599457d6176b523e4714314"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/identity-repository.ts: 2.6% line coverage (2/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/identity-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce17c03b10804fac1e8ffc29f4b4771c3cdd2aa946679a95fc3dc68ab8b4cfe7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/journal-maintenance-service.ts: 13.2% line coverage (56/423)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3fe84b3865efe3ebcd90d2d81691b3aa6ee71224b696ccb327261fae789184"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/knowledge-collection-repository.ts: 0.0% line coverage (0/237)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c3f5fd32f0f9ce32d6e7e51209df854104deb64a7d80fdc0d5a9860596568d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/managed-list-repository.ts: 1.3% line coverage (1/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/managed-list-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39986e75b1c2770fdcc9da5da48ae3b59339ac241b705d1dab15eadbd205aed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/notification-repository.ts: 0.0% line coverage (0/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/notification-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19bd2d5b85f65f1d4fd91379763606641f78f6804be750cad092b2776b6c42"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/openai-oidc-transaction-repository.ts: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/openai-oidc-transaction-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b19aa14b9458dbb76d110888ca0a86ac045ce0525e0779657c475cb41e3d204"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/phase-transition-repository.ts: 2.7% line coverage (1/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/phase-transition-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bac545fcaa8c6ab705e3a1354f92a8cbca2ec94fec0f34870549cca08390e8b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/prompt-registry-repository.ts: 1.0% line coverage (1/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/prompt-registry-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c715b2f20926b73b3c723bc661e3237f7508c50e5f96584d62c2b375247c21"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/provenance-repository.ts: 6.3% line coverage (1/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/provenance-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ec75ef279f42b6354c8da70548c595eec7e67008da17ddcefa3611625cfbd6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/reflection-extraction-job-repository.ts: 1.4% line coverage (1/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/reflection-extraction-job-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fe1bf7baa0af6f463f1b981328590b822fa76cc439c43c3bc29b89a6b7f165"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/run-approval-repository.ts: 2.0% line coverage (1/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/run-approval-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7609da56856fd97eb0e9945cc0f6130acc8a8459dbcdf7537040207e56df62c7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/run-supervisor-repository.ts: 2.3% line coverage (1/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/run-supervisor-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e73483d94a805b218ccd91e0cb473b3fc6284553377765939f9d604473370b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/scheduled-deliverables-repository.ts: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/scheduled-deliverables-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76da7385abbd7f9e79600723fd1b06c86108b7a6b5a445d7dbc2e12c8039a3b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/settings-repository.ts: 7.3% line coverage (4/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/settings-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf64d7512312cc391af34d1625ed45a5eadd2bb40b4d285f892924c466617704"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/setup-context-repository.ts: 22.2% line coverage (2/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/setup-context-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83aec3eb91b19aa5294c3168b4262e522ba2e68a8ef606cce4cd85e635e696a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/status-history-repository.ts: 2.5% line coverage (2/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/status-history-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49afd655e7d1801138f090cce97d290ccda3e279443d648a6e7b219db268e81"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/task-repository.ts: 0.9% line coverage (1/112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/task-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a74aa5ede1363eaee973df5c66288237af678dc9e3b4db0984352258aa8322f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/telemetry-repository.ts: 6.7% line coverage (6/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/telemetry-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392a4bd45c36540df4aa55abf8945a64d9ca1de852ec159787f7cfa07f9a3ba3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/template-repository.ts: 4.3% line coverage (1/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/template-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f77507bf902a1b47519b1477d34dfa748cd57b841a9f5d9ad354d2dc7971f85"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/tool-control-plane-repository.ts: 4.3% line coverage (1/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/tool-control-plane-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2698f7a870434dd1fee3fe5f449307ea76a9efbfdd638517cad8b36d965444de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/work-product-artifact-repository.ts: 2.2% line coverage (1/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b71e68acf9d03ffa7a54dfb4296e72a019210a4b1de20bd59c285960c06f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/work-product-repository.ts: 0.0% line coverage (0/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b159719b9a8d239037e6412fbfed4e88841e6233490a119de1790e84b1352438"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: server/src/storage/sqlite/workflow-repositories.ts: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/workflow-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"253c23cf515b441ac65e99fc0108319922c07b5184e141f93e068fcc05644dc3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/auth/AuthGuard.tsx: 40.6% line coverage (13/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/AuthGuard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a830b2a2ade7fb94f23f2ceaef62ce157597b90e0cda530241409c251fcb08"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/backlog/BacklogPage.tsx: 48.6% line coverage (36/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6697a9f4aef6427e47f22d0777e20f61cc7f64d64455bbabc94c225366fb06c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/board/BoardSidebar.tsx: 46.3% line coverage (38/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde319be48cb42ddda412af163214d8936481133ee83ed155cd2b5780061bb0c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/board/MultiAgentPanel.tsx: 36.6% line coverage (15/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/MultiAgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28679e51e686880a70da0eece623dfe1bdbdb85f9e1989862ac1b09881e74bfc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/chat/ChatPanel.tsx: 45.9% line coverage (50/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374d1313201a226c871b0aa2e6ed5d8ecaa77cc0dba5ef08991a743d1436d73"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/layout/DesktopBottomPanel.tsx: 40.9% line coverage (18/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopBottomPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceec8b1b2372b17e65b2a591f97df8a29d17f19757276088603c11e18c6c2a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/policies/PolicyManager.tsx: 34.1% line coverage (57/167)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef23ce341a937a5d4edb46d36d8c1d01ad1a6d8b8e78443f2b1313b5b1bb6e78"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/settings/shared/SectionHeader.tsx: 37.5% line coverage (3/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/shared/SectionHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5be8bec471cc10944c7c4bfba975e94fe3fc2708513a6cf1cc9b663325e975c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/settings/tabs/BoardTab.tsx: 48.1% line coverage (25/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BoardTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c78b16c4a1ba7a9bde45dcf666011ee39721d60ce4c24771805e5884a2efd22"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/settings/tabs/MultiUserTab.tsx: 49.6% line coverage (120/242)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671dbb0ccd654eb187d63d5a233169a921e5b07af6a7577f6b32f9ec722adfe6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx: 48.1% line coverage (26/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8724807471b4e393fdbb16b6abb0eeea8019df402a173f9d1bf35ae728aa1ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/settings/tabs/TasksTab.tsx: 29.2% line coverage (7/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TasksTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4cc8860b92cca6227b6f761b26cc502ea3dfce66c1996e2c3ab7725208c054"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/shared/FeatureErrorBoundary.tsx: 28.6% line coverage (4/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/shared/FeatureErrorBoundary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00831eb806f5568b843418e8e8431b57e8dea987e4172027ebd9557c8662a01c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/shared/MarkdownText.tsx: 20.7% line coverage (6/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/shared/MarkdownText.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4722986814703def437822b8c1f153e411ec6c00e7a2ba7cfc8438041b60c1ba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/task/RunSessionShareLoading.tsx: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/RunSessionShareLoading.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb1ec7aab38446562d6baa0bb18e39ebd1aff1a52a5bf90681a57c6b4de1e59"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/task/detail/TaskMetadataSection.tsx: 44.2% line coverage (23/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/TaskMetadataSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5f9fb3113db5d867213716d3e229c3cd5efae62dd1f6a97c205323e50f3a90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/ui/MarkdownEditor.tsx: 16.7% line coverage (13/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/MarkdownEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"451937d2b8e2f47cce634b4bcdec5013d716133ad9c9e2e0389ca369705580b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/ui/UiOverlayGallery.tsx: 45.5% line coverage (5/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/UiOverlayGallery.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37e259b874629fbb77039a01b9a5db8bca9f90a0c9e1b87a3fcd0c6e2a25fbe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/ui/popover.tsx: 42.9% line coverage (3/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/popover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eb52b3dd5e64b779c00dc049c550621500580d5eff110ca6d457cf5cc75f4e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/components/ui/scroll-area.tsx: 37.5% line coverage (3/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fbae37b44b4256f3e15d35487183a518d799650500165de99ca556b67dfc9a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useAgent.ts: 29.8% line coverage (39/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAgent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d4acfc77d9d1ec9674b8b1bf24deec556c90d9bb332fd8a8a24e03ef24bfa8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useAuth.tsx: 42.3% line coverage (22/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAuth.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb42e1f2f76cde2f27ec833c5d5bf326e35c388fa54df039a1991e5f68175a2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useBulkTaskMetrics.ts: 1.4% line coverage (1/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5748fd1657f6bce2f1fa80b3bb8797c166a8861e43a6ba4f30271521c5befd28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useChat.ts: 47.5% line coverage (48/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useChat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0396d2d7e590ab27b20e77c0a0174e859e22ba18afd363887ca9e264936320be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useConfig.ts: 1.9% line coverage (1/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eb0ecad45db0c1e41edf432fbacf84fa05bc970ae28a2e0ab3940bc2d46001"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useManagedList.ts: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useManagedList.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5a7e485f07ded6c866f0c8e86d3b43f9f0d86599c776b93b943b7c7e98b0a4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useMetrics.ts: 15.3% line coverage (13/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useMetrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb224995628d5243c7456fefc5bb5d331ed9def13ba0cacad918340d804a7b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useProjects.ts: 12.5% line coverage (1/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useProjects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b920a36eb9ff306a2f5fed2a16b58fe1bae14d9b6d655e81c4f0a17674b7d81"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useSortableList.ts: 45.7% line coverage (16/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useSortableList.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63d6479be3171c4160c94486911388885ca842044691a6776884038aa319abd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useStatusHistory.ts: 37.1% line coverage (13/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useStatusHistory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d186c176d4178afa2ba24f922dd1bbda3e64cad06f29151edb17953009a46c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useTemplates.ts: 18.8% line coverage (3/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTemplates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd0a48659f1a343f3ca732ebea099efc683eb1059ec7cc35d94d2fccc0bce35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useTimeTracking.ts: 37.7% line coverage (20/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTimeTracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ada5fe923f417a781fed6efc39985a3e9070153225a803bdaea4450656437be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/hooks/useTrends.ts: 16.7% line coverage (3/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTrends.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b10065944079af5a60a4d9af1b1b865bd210814915450a6379d2453b36ec49d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/admission.ts: 4.8% line coverage (1/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/admission.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90ea191fed871dd7dd75b914998c4ba5c109e68ded2214c4fe23656d3f4e60a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/agent.ts: 25.5% line coverage (13/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8231d0d9429de8225a7737e3399c8ff9c933f8c049a55cb57616104aa00094"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/backlog.ts: 5.3% line coverage (1/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/backlog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32a509a6264b7c880ff53f334be5ae98675cabb65f7b9fd3537a58458d33ec5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/ceremonies.ts: 9.1% line coverage (1/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/ceremonies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fe9e932ab1387160a256349596dd4f52fce53cdfc4a5d8e03a9dd242455bd7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/chat.ts: 42.3% line coverage (11/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaedc3e32501843f394c685f07b1a006e38abf8567d2d5092bd4ccdd07a2796"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/config.ts: 17.4% line coverage (4/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f79c3d97edf58b885986977be417844509200a04fc19adb24b472583f373ba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/decisions.ts: 3.3% line coverage (1/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/decisions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d4b2de1eaa07b35bb367b76c2ffc0adcd934014a09f68a6e9bcb0f19176d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/deliverables.ts: 11.1% line coverage (1/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/deliverables.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d221607e3fdff0f825b21f20a8c533070d0573c5d6162d3bb59317ec41fb7401"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/diff.ts: 18.8% line coverage (3/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/diff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cfd4067804e03d568a02eac67e04390c9bbd3c2a7a2e67a173aed756af20d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/digest.ts: 7.7% line coverage (1/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/digest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7399789dd7c1b5be1a14d83c67f558e8c3a3e5dff37ae49a77ee542481ee5a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/entities.ts: 33.3% line coverage (14/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/entities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aa2d448925d7108ef7111941fb7c9bd90da4e71000e1bc6e45bdd975f8298f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/evidence.ts: 6.3% line coverage (1/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/evidence.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f33ad674e00ae53cc15f0b313c9a4418fd0fb81252eccd9f44045b2c4a3742c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/governance-traces.ts: 7.1% line coverage (1/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/governance-traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a435d3ef3a2d476e083772bc291ceb1b43b3ab51183c7078f2b20726315c872"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/identity.ts: 40.0% line coverage (8/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/identity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725e1b477c1d25a29d90a8f274850e94b986acc9d219c546bfbb19ae3c424046"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/integrations.ts: 2.7% line coverage (1/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/integrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96894c381ddbbaa77ac0f4e7d21b3bce58beb5715b5142a63c554e38775b3a4b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/maintenance.ts: 8.3% line coverage (1/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/maintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aee6f6d73695e8004148781161b82ee0945fd351fc6c0cbf5cfa3545f940fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/managed-list.ts: 9.1% line coverage (1/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/managed-list.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb795f999d67f7e9e3c92994658ac521abe6fdffc91c93ba07c3bccca8a0f09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/queue-monitors.ts: 9.1% line coverage (1/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/queue-monitors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b37ad585e7023f42ee7eb6aa72b2b6800d798dbdf3b6e9cadf79139c6418fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/reflections.ts: 6.7% line coverage (1/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/reflections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1e4a3faadbbc0be4b6502d26601d6eac20d7a367d62cb90c29ee1c127826b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/run-sessions.ts: 6.7% line coverage (1/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/run-sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bef0601fece45af53fb5b8c44fae7adcd3d1942bd4f2429210ce8813a468021"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/sandbox-policies.ts: 16.7% line coverage (1/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/sandbox-policies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d716c41f3378d96350ecdc503fda046e61dc8de82ff66ed7b3d98f79e6f96a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/scoring.ts: 7.1% line coverage (1/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/scoring.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b81aaab3b166c4273f7b703fad2eaed8aed2e4f356ce7392945973a6a42b65"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/skill-security.ts: 22.2% line coverage (2/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/skill-security.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"678458dfe55bcc375565cca45d421bf362e5705daa61ebaddc5d2444b6a31d29"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/tasks.ts: 31.9% line coverage (15/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/tasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f889d1a875631f3a779632a9a0695b6375ff955855f72ab075fb5a482056ef"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/time-breakdowns.ts: 6.3% line coverage (1/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/time-breakdowns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0753b670cd75db928948503a752451d4754c7527a3342f9545d24e3dbd1cf5e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/time.ts: 15.4% line coverage (2/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/time.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c32059faa43970fdde7c679943a67fb05fddafcbbbbbb68635c3339dd148d2e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/traces.ts: 25.0% line coverage (1/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f22b8a251f1be632c03bef075bd6fea4ae23062ad6f8afdb3f69de05328caf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/api/workspace-capabilities.ts: 10.0% line coverage (1/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/workspace-capabilities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7746fba0b6ee9a4764fecfe5e1b7cb4859c7fa81383a4dfe6f445fdc09d75ee8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/template-io.ts: 1.9% line coverage (1/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/template-io.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10a81d29faad39e0c4d49e2bea3863321f9f6354b1e1153abf8e2691d5b8e90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: web/src/lib/views.ts: 27.3% line coverage (9/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/views.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f266cce4dc5ec66a41f9aab79c3488f3fb4569c96a18c5bb7f220a5a2787619"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: server/src/services/acp-stdio-adapter.ts: 1 line(s) (408) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"178488e57706f2e709e93752991d3b5b6d7121768cf93737482fe9d946f14f38"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: server/src/services/admission-control-service.ts: 1 line(s) (2121) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"07afe4111c27b1cd3f9a9b7a99e493a347c47b2342970db88e5d4a0a6c4e9c48"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: server/src/services/clawdbot-agent-service.ts: 1 line(s) (8146) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":8146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1646543b4cceaca6fa1f349f66a29fc0ec2f5229d6b51622c00c0191c32460b0"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: server/src/services/metrics/prometheus.ts: 6 line(s) (363, 365-369) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/prometheus.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ceb683b17599a004ed0d8b14016f3da84b4e116bf12de143d189d5297265ca0"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: server/src/storage/admission-reservation-repository.ts: 1 line(s) (359) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee769c19597e2c6ab5292c1bf7535db96e7affcc10815f7b80831bb1af3d01f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not throw when hook unmounts during an in-flight fetch: 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":"web/src/__tests__/useRealtimeAgentStatus.test.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc84e5143d9ba6c7dfab1798e909fa13d7799f209454ad52b75caa9f6892aec9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should do nothing when wss is not initialized: 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__/broadcast-service.test.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8288f7a67413782f3b9f017b2bbc41b66be2bdeb2622809f579b56255a7592b5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should do nothing when disabled: 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__/trace-service.test.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e73767ee379f67fc2792c483ea01a3769ef510fd40b1740def1ead33eb268a5"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): getStorage throws before initStorage is called: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/storage/file-storage.test.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2232f88d54e8da169d3406e6c6872ca99900003956934702812438ec7a3a5687"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: queues a versioned agent launch and replays its exact options exactly once: This test starts work it did not wait for (\u0060service\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":"server/src/__tests__/codex-provider-service.test.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4e10a16e2a9eddbfebc2a852d4cddbe7c16ae42956f02ff62f45d2b30a6aa"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: does not let an older finisher clear a newer queued waiter: 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":"server/src/__tests__/task-revision-atomicity.test.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f94a465c2eaedf930e7206f17018a98c02f6fd8a7a048c51b0870873b742d7"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes %s behind an existing task mutation: This test starts work it did not wait for (\u0060blocker\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__/task-revision-atomicity.test.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5f836f1c40513f20559789a41d917536e82c4e8f497a1eb82744f9895c462"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes restoreTask behind an existing task mutation: This test starts work it did not wait for (\u0060blocker\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__/task-revision-atomicity.test.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63adf26899c322dc04465268e4daf1db0f498f09d57c781cead8c7865838f77"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should queue concurrent locks (second waits for first): This test starts work it did not wait for (\u0060lock2Promise\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 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":"server/src/__tests__/services/file-lock.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f242d3a934f132b8fdfff58038880187f5dba848c1648b39f4892f05878fd2e7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies a saved board view from the saved view selector: 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":"web/src/__tests__/board-chrome-mantine.test.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3266e1daad63babafdb429b8b2913f1d6a664a210621507100a231e88191d059"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the actual %ipx toolbar height without changing Home navigation: 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":"web/src/__tests__/mobile-board-scroll.test.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61737499e405f960da2d3c0f453455257b2e9d20fce2ca6d2d0da759b581f65"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: announces import completion only after persistence and reports failed saves: This test sets up 4 test doubles (for example \u0060vi.spyOn\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":"web/src/__tests__/settings-dialog-mantine.test.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7669384b11af0582b11603e0402abe0c396b2b2c158258fc9378fb98fd32c174"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: auto-starts and stops time tracking when enabled: 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 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-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__/enforcement.test.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"88917445f8429840ce642d966ced333d2e8a37116834cf9d52b5c49d5d09b1f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes configured Codex executable overrides to SDK sessions: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/workflow-step-executor-codex.test.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a080366a92db078f450d41953f6d6cd46ac31b98cb2b83c2400005b219e11c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the original parent when an old operation is retried: This test sets up 4 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__/workspace-checkpoint-service.test.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1763094369649976eceb68006ea62fa330f45a37059b662812de465cbbae68"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: cli/src/__tests__/client-body-deadlines.test.ts::real CLI text/binary callers bounds \u0027standup\u0027 through a \u0027headers\u0027 stall after successful preflight: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"00469ad8f1f473f50b9f406b435e63cae5de7c2bf45a92ef7e00192fa8379fd1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: @types/react-grid-layout: @types/react-grid-layout 2.1.0, declared in web/package.json, is marked deprecated by its publisher: \u0022This is a stub types definition. react-grid-layout provides its own type definitions, so you do not need this installed.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da231c9b5af33b7388845701af71c18fd4aa2afd01938bdaae5e80a4bceabaa"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @ungap/structured-clone: @ungap/structured-clone 1.3.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Potential CWE-502 - Update to 1.3.1 or higher\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d86ec1a2e3fe24653321fa508fa45166202fd89a0cafb5280abaa41358253e"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: boolean: boolean 3.2.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"46961dc0ab90eacc8ba1a42729f6d0242c4014a870fe65a3ee139215b82f2401"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: fstream: fstream 1.0.12 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022This package is no longer supported.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"601fbe0af50135100793ebbd9fde15b651643f63f6e04fad4d256b0b5c0836e2"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 11.1.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aea5043151b35bb100d36c0729a1ca57c572baa7da27303eacadf44c20a97d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"599f5d090855bc7f5321605430a57d469ecd9c495b058b933dead3b3e9599a24"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":3076}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2184d7a11499e8ddfd4472a972a193f33bf06bb5f3b139fced0662b3309d6b5"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: lodash.isequal: lodash.isequal 4.5.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022This package is deprecated. Use require(\u0027node:util\u0027).isDeepStrictEqual instead.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":3563}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dee2fd843ecbbdd5869283e5c890f48512ebe0cf0ea5e441ddb3c448ec38c2"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 2.6.3 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":4458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d047cf4bcae1d1bc58cf37d2e86dc7f7086f16676cc481e2e19c30d6a8dd1c0b"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 2.7.1 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":4463}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bedb87273ada1e78a81fe6f02c7f5748aa5585917328c3b853ec562f8acfa1"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: remote-helper: \u0060remote-helper\u0060 is declared as \u0060git\u002Bssh://example.invalid/remote-helper.git\u0060 in server/src/__fixtures__/skill-security/malicious/unpinned-dependency/package.json, which names no releasable version: a git source with no ref tracks whatever the default branch holds today. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c7beded28830cde81917d0a1f92a4a978549bd804f0a4f3e561fc2c93278fe4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/clawdbot-agent-service.ts: server/src/services/clawdbot-agent-service.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in ClawdbotAgentService.startReservedAgent at line 1384. 3 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/clawdbot-agent-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/clawdbot-agent-service.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1ca6c7bb8664e32f9972df2ef994dc665f262a5798fec5ede7a0e4596d5c2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/TaskWorkView.tsx: web/src/components/task/TaskWorkView.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 108 in TaskWorkView.TaskWorkView at line 425. 3 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/TaskWorkView.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69a50a84de75486c6ddd0831cd9ae79cba8d2345ad081ce36dd14d6e4d986d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/layout/Header.tsx: web/src/components/layout/Header.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in Header.Header at line 141. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/layout/Header.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/Header.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"489cf64d225ebbab6fe904a9582e18c795cea5554c49740a4c2f91a98313f784"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/TaskCard.tsx: web/src/components/task/TaskCard.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 125 in TaskCard.TaskCard at line 195. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/TaskCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ed792bd34242912f8532c3af2f8aebd7c46b6628200a9b482032119ec1ab76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/board/KanbanBoard.tsx: web/src/components/board/KanbanBoard.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in KanbanBoard.KanbanBoard at line 111. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/board/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":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d44c4e162c70ebf5098eccc6b812e32c6b8b29fa0814f9d13e5087ace473cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/TaskDetailPanel.tsx: web/src/components/task/TaskDetailPanel.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in TaskDetailPanel.TaskDetailPanel at line 81. 4 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/TaskDetailPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1966617a339951f9f32bd600a56788a149067a0a8d118438e429ce2b5d5f02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/native-ui/run.mjs: scripts/native-ui/run.mjs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in run.exercise at line 275. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/native-ui/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":"scripts/native-ui/run.mjs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"de055a10a6c717da175474ed06eba198104fc581b9c5730656f2e6f0c13e102d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/AgentRunTimelinePanel.tsx: web/src/components/task/AgentRunTimelinePanel.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in AgentRunTimelinePanel.AgentRunTimelinePanel at line 1094. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/AgentRunTimelinePanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8bebaa4eb4a5fe206ca4e7d8897bfff1f9413263baa8b9f2f3adf6eb19000f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-service.ts: server/src/services/task-service.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in TaskService.updateTaskMutation at line 866. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/task-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/task-service.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a213d95a765da5c4302218b970350681287b9f7b1873ec23c1045e89e7bd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/AgentPanel.tsx: web/src/components/task/AgentPanel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in AgentPanel.AgentPanel at line 77. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/AgentPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b32ad17d6630c08cf04d5dc34129163d87f3b3547137fbebb96e116acc4e57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/agents.ts: cli/src/commands/agents.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in agents.registerAgentCommands 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- cli/src/commands/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":"cli/src/commands/agents.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a12cf8e62ca365d7b05ea96153af5e89700c78a688c148c11b1584310dabd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/SettingsDialog.tsx: web/src/components/settings/SettingsDialog.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in SettingsDialog.SettingsDialog 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/SettingsDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7690d6869f21c3da7372cc4b57c237e570a6f495d29f294826c961050d2f4b07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/docs-media/verify.mjs: scripts/docs-media/verify.mjs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in verify.mediaEvidenceFailures 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/docs-media/verify.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/docs-media/verify.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9a2b12087e0ddb02bb5e5eb5288f1c2ebe16c7b59c71aafaeea287d2a211fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/layout/DesktopShellContext.tsx: web/src/components/layout/DesktopShellContext.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in DesktopShellContext.DesktopShellProvider 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/layout/DesktopShellContext.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2dfcd01cae45dcc24c5c5adf43408bb911f873157baa8f99ed51d67f9d3c62"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/native-ui/contract.mjs: scripts/native-ui/contract.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in contract.evidenceFailures 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/native-ui/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/native-ui/contract.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5845bf99686af657f73ea2d0e0f77391509dff475ae4ac18704c1a44f8f759"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/layout/CommandPalette.tsx: web/src/components/layout/CommandPalette.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in CommandPalette.CommandPalette 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/layout/CommandPalette.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"698134bac57ef4d88c704f6be9ea5d5e6c431d6202059523dda3d978d03ce8cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/hooks/useKeyboard.tsx: web/src/hooks/useKeyboard.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in useKeyboard.KeyboardProvider 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/hooks/useKeyboard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useKeyboard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2396cbb21c472faaca0fa37c956cde0f49c309f6028140e1e9bc2bb70ee0b98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/scoring/ScoringProfiles.tsx: web/src/components/scoring/ScoringProfiles.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in ScoringProfiles.ScoringProfiles 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/scoring/ScoringProfiles.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea48161c90b05e0dd15900d953f336ec8602258b7906d046a688757ba8d382"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/automation-activation-service.ts: server/src/services/automation-activation-service.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in AutomationActivationService.claimRun at line 480. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/automation-activation-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/automation-activation-service.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd22cbb8fba9dfe2e634347bf143607c6a365bf57f6e1e050291362720cf183b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/policies/PolicyManager.tsx: web/src/components/policies/PolicyManager.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in PolicyManager.PolicyManager at line 296. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/policies/PolicyManager.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3def2289375bd6d1a00aff91dcd3c8fa9ea32ba7b85e6fb1273efd6b17404f26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/WorkProductsSection.tsx: web/src/components/task/WorkProductsSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in WorkProductsSection.WorkProductsSection 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/WorkProductsSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c52494ebeb294cd521b1fdb36598136620995ec9f8a5252f4742dbb9309beb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/templates/TemplateEditorDialog.tsx: web/src/components/templates/TemplateEditorDialog.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in TemplateEditorDialog.TemplateEditorDialog 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/templates/TemplateEditorDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"61664e12e65fa2f077b4570570d728249fec923e20c143063a3cc1d4d882e082"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/digest/OperationsDigestPage.tsx: web/src/components/digest/OperationsDigestPage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in OperationsDigestPage.OperationsDigestPage 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/digest/OperationsDigestPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"692c6268fc4d325efca4c9285ac433b66118694cae906ffd1eea41aa05d64a8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/ConflictResolver.tsx: web/src/components/task/ConflictResolver.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in ConflictResolver.ConflictResolver at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/ConflictResolver.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b9ff68f59fbb0a86a3fb7fae362070fc2cd85901c396e18d1304cba53d86fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/validate-release.mjs: scripts/validate-release.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in validate-release.main at line 469. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/validate-release.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/validate-release.mjs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52618d3d52b070a49cc1c70d52e875772604cf56d83215f875bd3f8ee0c50b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/SchedulerTab.tsx: web/src/components/settings/tabs/SchedulerTab.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in SchedulerTab.SchedulerTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/SchedulerTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bda83e9ef39e528f36d2a7d69ee473a11a6cb69ffc537bce0a7bf1e6e3aaed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/MultiUserTab.tsx: web/src/components/settings/tabs/MultiUserTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in MultiUserTab.MultiUserTab at line 197. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/MultiUserTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed4f0ab00265fa2ff7cda289ee24fdfd4b11e682da8946943dde34431b6ca2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/ArtifactPreviewModal.tsx: web/src/components/task/ArtifactPreviewModal.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ArtifactPreviewModal.ArtifactPreviewModal at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/ArtifactPreviewModal.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83fceaa2be82680602c330d3efddf1830c5b78ddc9f769f93217a1e6aafaf65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/hooks/useTasks.ts: web/src/hooks/useTasks.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in useTasks.useUpdateTask 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/hooks/useTasks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eccade3e9550dc8ea3e14092b7241b96d50e4d059f20c61d031496755360471"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/dashboard/ExportDialog.tsx: web/src/components/dashboard/ExportDialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ExportDialog.ExportDialog at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/dashboard/ExportDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a2f4056393d1936d4c9566e36cee59adcf96bdc537303b0cfa5a17ea80f8ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/CreateTaskDialog.tsx: web/src/components/task/CreateTaskDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in CreateTaskDialog.CreateTaskDialog 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/CreateTaskDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6117c161c81f447b4a21c10e0b08eb2bae87965c4d3b25e79a12356bb5a50a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/board/KanbanColumn.tsx: web/src/components/board/KanbanColumn.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in KanbanColumn.KanbanColumn 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/board/KanbanColumn.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanColumn.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c32529642bb7698b2858666c2b39bdac4eea4701c354bd42847f83644f72a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/WorkflowSection.tsx: web/src/components/task/WorkflowSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in WorkflowSection.WorkflowSection 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/WorkflowSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3253a8719e5e64df9d0ae9f70d7cdcf76bed2094246dfab75e38efb7b24e4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/ApplyTemplateDialog.tsx: web/src/components/task/ApplyTemplateDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in ApplyTemplateDialog.ApplyTemplateDialog 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/ApplyTemplateDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dfe381d44f5033ba21aeecc5e34e0bb0adaac14933a53f5f98e493672b93ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/templates/TemplatesPage.tsx: web/src/components/templates/TemplatesPage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in TemplatesPage.TemplatesPage 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/templates/TemplatesPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f73e784955e4098e64b1439be1d3a88bb7c6e3f9df5150c29375a12d7a210"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/git/WorktreeStatus.tsx: web/src/components/task/git/WorktreeStatus.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in WorktreeStatus.WorktreeStatus 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/git/WorktreeStatus.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecf3c94115dad9e0e8bbb2272c78f2a9c49b3ee64dcb48e8fbabeeca2786423"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/detail/TaskDetailsTab.tsx: web/src/components/task/detail/TaskDetailsTab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in TaskDetailsTab.TaskDetailsTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/detail/TaskDetailsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/TaskDetailsTab.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9af384170b8815402d1a23feec74f710ee7143546a84c9b8494d1e66b860b04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/NotificationsTab.tsx: web/src/components/settings/tabs/NotificationsTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in NotificationsTab.NotificationsTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/NotificationsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1385ab244eae6f0f0addf14b1be7bf861b2520256f6937dce1cda496df69cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/ReviewPanel.tsx: web/src/components/task/ReviewPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ReviewPanel.ReviewPanel 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/ReviewPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53c4cf9d97815a0c83811e465392ba217005888da89354306b00131f53c39f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shared/src/utils/api-client.ts: shared/src/utils/api-client.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in api-client.createApiClient.api 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- shared/src/utils/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":"shared/src/utils/api-client.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b7d3152533ae17162b29d1ec349710e34ad657ec50996b8542a972bbcab46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/PreviewPanel.tsx: web/src/components/task/PreviewPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in PreviewPanel.PreviewPanel 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/PreviewPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/PreviewPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb4459e8c3febea22387f630e79ad0e1fe3a9680d8fd2ddc8487156000234e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/chat/SquadChatPanel.tsx: web/src/components/chat/SquadChatPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in SquadChatPanel.SquadChatPanel 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/chat/SquadChatPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fc1cde87ad60fa343ef90124734f62b6b61e72cfac812ed765930b112ab1a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/SecurityTab.tsx: web/src/components/settings/tabs/SecurityTab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SecurityTab.SecurityTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/SecurityTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SecurityTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abf225c64b79bb47bf79d6d16459f7dd22591486e7ba7f43116a4cb8ce359fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/board/FilterBar.tsx: web/src/components/board/FilterBar.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in FilterBar.FilterBar 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/board/FilterBar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ce5fafe22298d5b9a80f6cbb9dbb1bec8770191272336a7d0fb7329e6dfbf2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/chat/ChatPanel.tsx: web/src/components/chat/ChatPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ChatPanel.ChatPanel 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/chat/ChatPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"db173bda7e4163cdc62cd9f95a59614482d9f75efa02742fcc3522bf4884d637"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/TimeTrackingSection.tsx: web/src/components/task/TimeTrackingSection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in TimeTrackingSection.TimeTrackingSection at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/TimeTrackingSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f4b7e959f21f0904ec8970dbfb526aeedf47852c975b68b6402c7688222f84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/ManageTab.tsx: web/src/components/settings/tabs/ManageTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ManageTab.ManageTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/ManageTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dcd1ddcbcda537a7ed08b9a2347453b313cf7605916283a5e296984c695af9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/dashboard/Dashboard.tsx: web/src/components/dashboard/Dashboard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in Dashboard.Dashboard at line 139. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/dashboard/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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ac7e427876c2628be60a99bbe6891774714d63c09321b96d729eea830dff33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/drift/DriftMonitor.tsx: web/src/components/drift/DriftMonitor.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in DriftMonitor.DriftMonitor at line 304. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/drift/DriftMonitor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/drift/DriftMonitor.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f927acc9f7934b531c752e622f53e2b8d5847bf86948d27a9017a81f7e190d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/MaintenanceTab.tsx: web/src/components/settings/tabs/MaintenanceTab.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MaintenanceTab.MaintenanceTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/MaintenanceTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f56ec6844c8c8ce27e6e3e4f466e7c8d434d329170ea521e28512dd4496ab34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/DependenciesSection.tsx: web/src/components/task/DependenciesSection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in DependenciesSection.DependenciesSection 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/DependenciesSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fc395561bb2bc565658631b3f6ba25f00effcf0a8c033c93f3e9aebe29ce42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/activity/ActivityFeed.tsx: web/src/components/activity/ActivityFeed.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ActivityFeed.StatusHistoryPanel 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/activity/ActivityFeed.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a346ae3f5b0483522f28609998c09eb641a125ecdbfee021e196b691a1cfd31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/scheduler.ts: cli/src/commands/scheduler.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in scheduler.registerSchedulerCommands 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- cli/src/commands/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":"cli/src/commands/scheduler.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c21b3e121f1bde9e621e76ec6407288f7843f5a89d715ffabd5009164895ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/ToolPoliciesTab.tsx: web/src/components/settings/tabs/ToolPoliciesTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ToolPoliciesTab.ToolPoliciesTab at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/ToolPoliciesTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ToolPoliciesTab.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8103a1bf66ebb9ae1967d7652f3624985972c6fa62a5c8e11279d0a4592d85bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/AgentsTab.tsx: web/src/components/settings/tabs/AgentsTab.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AgentsTab.AgentsTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/AgentsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2395abd02350aa12b675f60cde8ae06715cc0884c5edc3d21275d9ca0da837"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/workflows/WorkflowsPage.tsx: web/src/components/workflows/WorkflowsPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in WorkflowsPage.WorkflowsPage at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/workflows/WorkflowsPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee5905c3755b48ff43da9996d4fad496a9c80cf218ba4b7b35b130e3aaa1cf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/decisions/DecisionExplorer.tsx: web/src/components/decisions/DecisionExplorer.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in DecisionExplorer.DecisionExplorer 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/decisions/DecisionExplorer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"574ebafc9415212ab99d47d03c7b7d1283dfe8e2644f3ca634892a1087fa5ca4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/auth/LoginScreen.tsx: web/src/components/auth/LoginScreen.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in LoginScreen.LoginScreen 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/auth/LoginScreen.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a2c9fe7c7065c10dd4c0f23f435433aa815cd4aae89d9313c93684428c036b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/AttachmentsSection.tsx: web/src/components/task/AttachmentsSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AttachmentsSection.AttachmentItem 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/AttachmentsSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ccd7526d0e853afb459cdcbc8ba2b43e2f90436c6b67216497d1d05ee73ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx: web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SkillRiskDashboardPanel.SkillRiskDashboardPanel 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b3915ddc9b854a03a1be900405b52cf97536b9fed703b4fb5da12c8f33ced9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/TrackersTab.tsx: web/src/components/settings/tabs/TrackersTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in TrackersTab.TrackersTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/TrackersTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f305276ade2b5f423d22b8b30f1b879b344f2c6fe3c4d382d352444278e085"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/health.ts: server/src/routes/health.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in health.buildDeepHealthPayload at line 253. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05: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":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea34d6913fb1cb5d05bd45dfcbbaa567fd6277d99c5238c63c70c49941d51a85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/RunAccessPanel.tsx: web/src/components/task/RunAccessPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in RunAccessPanel.RunAccessPanel at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/RunAccessPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/RunAccessPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2bed3238c8b883f8acaf9ed6027cac9668665db72513f1173ff5de537a33a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/DeliverablesSection.tsx: web/src/components/task/DeliverablesSection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in DeliverablesSection.DeliverableItem 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/DeliverablesSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dc6fb10f1c33bfa39d81cc89173bf1579a26bf2b0915c90e8d8b6f111ed045"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/auth/SetupScreen.tsx: web/src/components/auth/SetupScreen.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in SetupScreen.SetupScreen at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/auth/SetupScreen.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e9f3f383fc41340b43f9e65b8b5ed55644ed2f5a85de6affe452bd11462454"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/DelegationTab.tsx: web/src/components/settings/tabs/DelegationTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DelegationTab.DelegationTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/DelegationTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"289e015532cfe1b737360b28de98b5e2388fd61a9d40cb95a517f7be7695790f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx: web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in WorkspaceCapabilitiesTab.WorkspaceCapabilitiesTab at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c511a2c3184d616ef12698b7fd12fdef86ead162816bc0ad4412e03652ad62b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/middleware/auth.ts: server/src/middleware/auth.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in auth.authenticateWebSocket at line 895. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05: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":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dbe5b7e713512287fd6a8e15b8ac541c64983efc9bd4f15aa4f6a693f5aec9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/task/CommentsSection.tsx: web/src/components/task/CommentsSection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CommentsSection.CommentItem at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/CommentsSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07143578554f7905226efd36ebbfda25c8e05b90ea1568a82d23da306891d98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/time/TimeBreakdownPage.tsx: web/src/components/time/TimeBreakdownPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TimeBreakdownPage.TimeBreakdownPage at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/time/TimeBreakdownPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/time/TimeBreakdownPage.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"899e3214cf685bddccef8d159eda391f757fc8cd06fc70f90ad8422b199ac9a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/capture-local-macos-release.mjs: scripts/capture-local-macos-release.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in capture-local-macos-release.preflightCapture at line 180. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/capture-local-macos-release.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/capture-local-macos-release.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d80232e1af03985afc2472ffe9d7fe4899fbaeee823222403d853d33e9dd9d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/tabs/QueueMonitorsTab.tsx: web/src/components/settings/tabs/QueueMonitorsTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in QueueMonitorsTab.QueueMonitorsTab 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/tabs/QueueMonitorsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e4f11df8bee96bd80469f0e07ae091419cc9a8f4909ecc36cbb7777c69a9a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/identity-service.ts: server/src/services/identity-service.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in IdentityService.resolveExternalIdentity 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/identity-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/identity-service.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e9928393664c1c1a11e963b6563d61318f0e02c83728a8961e89bcff748525"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mcp/src/tools/agents.ts: mcp/src/tools/agents.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in agents.handleAgentTool at line 197. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- mcp/src/tools/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":"mcp/src/tools/agents.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"297d5e579257f4846e2005afdd80f32c7d0225b063e1c56923ef37fff2f9d40a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/summary.ts: cli/src/commands/summary.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in summary.registerSummaryCommands 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- cli/src/commands/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":"cli/src/commands/summary.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4f5e448ad4ede3b77b90dbed86544279f4e0a4a67c6e0d6b6d16b82e7edb9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/workflows/WorkflowStartDialog.tsx: web/src/components/workflows/WorkflowStartDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WorkflowStartDialog.WorkflowStartDialog 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/workflows/WorkflowStartDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowStartDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8136e42d2e4c40b263a725d6901f223981bdf6d7cedd6111986f5fd70be371bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-health-service.ts: server/src/services/agent-health-service.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AgentHealthService.checkAuth 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/agent-health-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/agent-health-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"582dccc985de6458fed34036371c17f6447aa24977148e08ac95016c343e18d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/SortableListItem.tsx: web/src/components/settings/SortableListItem.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SortableListItem.SortableListItem 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/settings/SortableListItem.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SortableListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52cda708c692e07671c31f1313a0b5ccb97221c3893f17c3d3dcf5f92594bd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/hooks/useBoardDragDrop.ts: web/src/hooks/useBoardDragDrop.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in useBoardDragDrop.useBoardDragDrop.handleDragEnd 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/hooks/useBoardDragDrop.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac8afc02e3ab222baea2516c9d11d2f5c7d25ac40972b5d17f3bd378bfc6ae2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-service.ts: server/src/services/chat-service.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ChatService.sendSquadMessage at line 332. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/chat-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/chat-service.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee2b11e441b4a7155bc11521e23fb92cf9d0d96b2d658846cf0abc12c35deae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/docs-media/run.mjs: scripts/docs-media/run.mjs 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 5 (its worst body is run.recordAsset at line 163), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: record the actual capture host comparison\u201D; \u201Cfix: target the mobile appearance control in capture readiness\u201D; \u201Cfix: wait for mobile Settings content before capture\u201D; \u201Cfix: synchronize native capture with the rendered frame\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/docs-media/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":"scripts/docs-media/run.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0716d60bedc6e58a69d446857b4a3aefadc04699ede6495ed1b9c0026a5492"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/src/App.tsx: web/src/App.tsx changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is App.DesktopAwareAppShell at line 146), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: retain task-owned autosave through navigation\u201D; \u201Cfix: preserve pending Settings edits across navigation (#1552)\u201D; \u201Cfix: acknowledge native menu actions in the mounted renderer\u201D; \u201Cfix: keep mobile chat entry clear of task content\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/App.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/App.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"03de832bcc23939050e0555a4f4282f55ac861571c77b25401fc98099775213d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/src/components/ui/UiOverlay.tsx: web/src/components/ui/UiOverlay.tsx 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 11 (its worst body is UiOverlay.resolveFocusTarget 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: restore owned dock focus after compact layout collapse\u201D; \u201Cfix: retain correct focus across interrupted overlay exits\u201D; \u201Cfix: enforce shared heading and drawer geometry\u201D; \u201Cfix: restore overlay focus after responsive toolbar changes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/ui/UiOverlay.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/UiOverlay.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f75c5e6b89c44fd592f9a09ff445f69476a969f54dc5ff9444a155a7895335"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/routes/tasks.ts: server/src/routes/tasks.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 12 (its worst body is tasks.sanitizeCheckpointState at line 1790), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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: preserve managed attempt ownership during task edits\u201D; \u201Cfix: preserve template task fields on creation (#1431)\u201D; \u201Cfix: accept critical priority in task APIs (#1429)\u201D; \u201Cfix: make board drag moves atomic (#1314)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/routes/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":"server/src/routes/tasks.ts"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"721fb06a7a1e9ebff86b2be2073cb86ed1b0f5baf30a0fcfff0a7d97b4c55278"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: desktop/src/main/index.ts: desktop/src/main/index.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 15 (its worst body is index.boot at line 261), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: deliver native task links after authenticated readiness\u201D; \u201Cfix: honor the macOS titlebar double-click preference\u201D; \u201Cfix: restore normal window bounds within available displays\u201D; \u201Cfix: restore standard macOS menus and window lifecycle\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- desktop/src/main/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a2ff914e7a8f721c807f6d319e6eadf3a54146641292c53662f20b329116cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/src/components/layout/MobileShell.tsx: web/src/components/layout/MobileShell.tsx 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 12 (its worst body is MobileShell.MobileShell 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: preserve enlarged mobile navigation label width\u201D; \u201Cfix: prevent fractional mobile board scroll overlap\u201D; \u201Cfix: keep mobile chat entry clear of task content\u201D; \u201Cfix: keep mobile navigation and task summaries readable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/layout/MobileShell.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/MobileShell.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89abf7b50e3a0bd62bc4ddb7a2adf64a52186bc7fcb1e7fe8821e9efdb37a37"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/storage/fs-helpers.ts: server/src/storage/fs-helpers.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 6 (its worst body is fs-helpers.writeAll at line 118), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(storage): preserve shared resources on persistence failure (#1683)\u201D; \u201Cfix(storage): complete durable journal writes (#1682)\u201D; \u201Cfix: bind repository publication to managed worktrees (#1308)\u201D; \u201Cfix: harden file and input handling (#1234)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/storage/fs-helpers.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/fs-helpers.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c06cb191832a1c97375be6412fdf0f5e120ce6ad57157240cd02f12ac6859f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/native-ui/menu-commands.mjs: scripts/native-ui/menu-commands.mjs 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 menu-commands.verifyNativeMenuCommands 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: give native titlebar capture room to zoom\u201D; \u201Cfix: honor the macOS titlebar double-click preference\u201D; \u201Cfix: restore normal window bounds within available displays\u201D; \u201Cfix: restore standard macOS menus and window lifecycle\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- scripts/native-ui/menu-commands.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/native-ui/menu-commands.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c010811852916f1cda048ec28fc7d2bf9e58d39ade220b117b0a0383a86e6dd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: desktop/src/main/menu.ts: desktop/src/main/menu.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 7 (its worst body is menu.isCommandEnabled at line 164), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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: restore standard macOS menus and window lifecycle\u201D; \u201Cfix: acknowledge native menu actions in the mounted renderer\u201D; \u201Cfix: preserve diagnostics ampersand in macOS Help menu (#1292)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- desktop/src/main/menu.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/menu.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1937595407a5f5afae59801a945c8d59debb60723cee938fa0ba3c713b42a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/src/components/task/ObservationsSection.tsx: web/src/components/task/ObservationsSection.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 10 (its worst body is ObservationsSection.ObservationsSection at line 169), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: retain task confirmations during pending requests\u201D; \u201Cfix: unify task overlay stack and nested tool geometry\u201D; \u201Cfix: reveal secondary actions for keyboard and touch (#1272)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/task/ObservationsSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ObservationsSection.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfdf5578a7327e52375d78460fec758eb24d5d656c1d0eb73705b9cf387109d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/template-service.ts: server/src/services/template-service.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 TemplateService.cleanForYaml 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: persist clearing optional template fields\u201D; \u201Cfix: harden request and logging boundaries (#1233)\u201D; \u201Cfix: centralize runtime state under DATA_DIR (#1184)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/services/template-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/template-service.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e3a78a5cfe7e314f93e7ce5644e949ad1ace4fded14c437220de2157da8980"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/storage/admission-reservation-repository.ts: server/src/storage/admission-reservation-repository.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 FileAdmissionReservationRepository.claimMaterialized at line 199), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(storage): complete durable journal writes (#1682)\u201D; \u201Cfix: serialize admission repository reads\u201D; \u201Cfix: complete admission snapshot appends\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/storage/admission-reservation-repository.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 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/admission-reservation-repository.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d17a44c305f0f857b3598447d942927ea9013c94bd4efd5f4ad429e978fac9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/utils/api.ts: cli/src/utils/api.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 api.assertApiPermissionForRequest at line 29), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve client resource identities (#1662)\u201D; \u201Cfix: enforce client API transport policy (#1661)\u201D; \u201Cfix: make CLI and MCP task requests safe and bounded (#1548)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- cli/src/utils/api.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once 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/utils/api.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c776611bdf417a715e20e577a4d99f285c66e5d25857fbf74a748d28483b60da"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: mcp/src/utils/api.ts: mcp/src/utils/api.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 api.assertApiPermissionForRequest at line 29), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve client resource identities (#1662)\u201D; \u201Cfix: enforce client API transport policy (#1661)\u201D; \u201Cfix: make CLI and MCP task requests safe and bounded (#1548)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- mcp/src/utils/api.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/utils/api.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06be10bb826405dab59ce0eb9d51f51d55ceb7e04f1048d2758423c05297124"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/src/components/chat/FloatingChat.tsx: web/src/components/chat/FloatingChat.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 9 (its worst body is FloatingChat.FloatingChat at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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: separate filled action colors from dark-mode accent text\u201D; \u201Cfix: keep mobile chat entry clear of task content\u201D; \u201Cfix: constrain shared interface motion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/chat/FloatingChat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/FloatingChat.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf10850185e912108d40abec0ab4cc50678c91ce5a9867c76fbbd400e6d90a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/src/components/layout/DesktopLeftSidebar.tsx: web/src/components/layout/DesktopLeftSidebar.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 11 (its worst body is DesktopLeftSidebar.DesktopLeftSidebar at line 43), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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: separate filled action colors from dark-mode accent text\u201D; \u201Cfix: clarify desktop header controls (#1391)\u201D; \u201Cfix: unify page action and navigation styling (#1369)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- web/src/components/layout/DesktopLeftSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopLeftSidebar.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95a4b55c6ae65e8e67faa3b245d98a1f4ae8017c54e95dec4e32df5c82c75cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/config/security.ts: server/src/config/security.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 security.rotateJwtSecret at line 229), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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: stabilize release validation boundaries (#1239)\u201D; \u201Cfix: harden file and input handling (#1234)\u201D; \u201Cfix: centralize runtime state under DATA_DIR (#1184)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 16:50:16 -05:00\u0027 --until=\u00272026-10-25 16:50:16 -05:00\u0027 --full-history --no-merges -- server/src/config/security.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 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/security.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"16429f978f915e5f9524476b47a1653e9f5c22df65a844ede06de6e40bed973f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/ADR-0002-v5-remote-server-security-posture.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/ADR-0002-v5-remote-server-security-posture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff47f90e935960dc8ba166c02ae048dea72b1d28ffca025272e123af775c367"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/ADR-0004-post-ga-cloud-sync-hosted-saas.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/ADR-0004-post-ga-cloud-sync-hosted-saas.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c5546cb70ec4b44018856a9259be8e00d6e11fb30bc1eaacdda132620e0ad9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060extractJSON\u0060 spells \u0060JSON\u0060 where 74 names in the project spell it \u0060Json\u0060: 74 of 76 names in project veritas-kanban spell the token \u0060Json\u0060 (74 of 76; unit: names in project veritas-kanban containing \u0060Json\u0060). Peers: doctor.requestJson (cli/src/commands/doctor.ts:265); goals.parseJson (cli/src/commands/goals.ts:277); goals.printJson (cli/src/commands/goals.ts:305); prompts.requestJson (cli/src/commands/prompts.ts:425); snapshot.requestJson (cli/src/commands/snapshot.ts:339). Rename to \u0060extractJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/text-extraction-service.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"86557c16bd09ccc4d131772bdb5ff8e817744aead366e5a0b4b54fae640fff40"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060toJSON\u0060 spells \u0060JSON\u0060 where 74 names in the project spell it \u0060Json\u0060: 74 of 76 names in project veritas-kanban spell the token \u0060Json\u0060 (74 of 76; unit: names in project veritas-kanban containing \u0060Json\u0060). Peers: doctor.requestJson (cli/src/commands/doctor.ts:265); goals.parseJson (cli/src/commands/goals.ts:277); goals.printJson (cli/src/commands/goals.ts:305); prompts.requestJson (cli/src/commands/prompts.ts:425); snapshot.requestJson (cli/src/commands/snapshot.ts:339). Rename to \u0060toJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/api-errors.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84e366c0e541635f3cba72ee579c239db4fc4fcd5b0e3498cb61f37a1947655"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get current agent status\u0022 repeats the code it sits on: 4 of its 4 words (get, current, agent, status) are already in \u0060agent\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":"cli/src/commands/agent-status.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24fc44621f399ab725dd679a5d8154bfd552d19c59d02ab6c54dbf563e77017"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set working status\u0022 repeats the code it sits on: 3 of its 3 words (set, working, status) are already in \u0060agent\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":"cli/src/commands/agent-status.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"61caddb101701ce873482399d1bdbe3612c3dbee98cbf5f55dcaa83cec3af73f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set idle status\u0022 repeats the code it sits on: 3 of its 3 words (set, idle, status) are already in \u0060agent\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":"cli/src/commands/agent-status.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf589922080b090206d5b1bb1977e13f70b9ee45c53b82f4e6d230a8fb65b79"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set sub-agent status\u0022 repeats the code it sits on: 4 of its 4 words (set, sub, agent, status) are already in \u0060agent\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":"cli/src/commands/agent-status.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4150f44b99f8a22b51cc47010a671362193de5773c05eabdc8f62d32cd1a7c1f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start agent on task\u0022 repeats the code it sits on: 3 of its 3 words (start, agent, task) are already in \u0060program\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":"cli/src/commands/agents.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9caea4c24fff5c12bf622153888a34348c26722c1a93aafc51adf4648fa483b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get agent status for a task\u0022 repeats the code it sits on: 4 of its 4 words (get, agent, status, task) are already in \u0060program\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":"cli/src/commands/agents.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a80b7b94b45c2d72c06c430aa5a296bd5bcaa100050f981de2de8de475f0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022List pending automation tasks\u0022 repeats the code it sits on: 4 of its 4 words (list, pending, automation, tasks) are already in \u0060program\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":"cli/src/commands/automation.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d0a6a6c854a9caa11cc1a45516bd156c5f5dd60db08f8690aa544d670eb723"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022List running automation tasks\u0022 repeats the code it sits on: 4 of its 4 words (list, running, automation, tasks) are already in \u0060program\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":"cli/src/commands/automation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c941153f5d15c49cc78e330bd3889a86663623f96d42e460ee96f8cfea3a9d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start automation task (for Veritas to call)\u0022 repeats the code it sits on: 5 of its 5 words (start, automation, task, veritas, call) are already in \u0060program\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":"cli/src/commands/automation.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db924c34b41a079125883cd4d72905f630e94d715db6426667a472c08dc3b64"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Complete automation task\u0022 repeats the code it sits on: 3 of its 3 words (complete, automation, task) are already in \u0060program\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":"cli/src/commands/automation.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1b8ed89ac8a60a9aec4f224a0f974fa233e5f9c8e54fb905516c54768b80bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 10, 43, 77, 100, 123, 153), for example \u0022List backlog tasks\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/backlog.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2633ec94ea67ae5e4c7a06cf32ba1c9314d001f8d50477b362d0298e78093bfa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vk github sync \u2014 trigger manual sync\u0022 repeats the code it sits on: 4 of its 5 words (github, sync, trigger, manual) are already in \u0060github\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":"cli/src/commands/github.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0198743fe0a1b169cbf13732d19ff4be11b7a17c31d1453a8e955d2a792ae6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vk github status \u2014 show sync status\u0022 repeats the code it sits on: 4 of its 5 words (github, status, show, sync) are already in \u0060github\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":"cli/src/commands/github.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a87598db0ac223cebdaa314e90b078cef34ee52e451dd92d4eb192efff5022e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vk github config \u2014 show or update sync configuration\u0022 repeats the code it sits on: 6 of its 7 words (github, config, show, update, sync, configuration) are already in \u0060github\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":"cli/src/commands/github.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"40161ec9e9fb7a32e848ab2b95ce4c39a619c14efdb541c890d3fd581800fdc1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get pending notifications\u0022 repeats the code it sits on: 3 of its 3 words (get, pending, notifications) are already in \u0060program\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":"cli/src/commands/notifications.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e3c1fe6bea3de3c88fb9ddd33960f3ea9bfe418618bfa7239a07e44aa51091"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show sprints ready to archive\u0022 repeats the code it sits on: 4 of its 4 words (show, sprints, ready, archive) are already in \u0060sprint\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":"cli/src/commands/sprints.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c7cbcbb576c66d99806561760360f4392306b2af16cce473de5683c74ec05f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Close sprint (archive all done tasks)\u0022 repeats the code it sits on: 4 of its 4 words (close, sprint, archive, tasks) are already in \u0060sprint\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":"cli/src/commands/sprints.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"21660f99161eb5e640c6fcb8a92094e4882c143bc1fe20484cebd492b70d9909"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get memory-formatted summary\u0022 repeats the code it sits on: 4 of its 4 words (get, memory, formatted, summary) are already in \u0060program\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":"cli/src/commands/summary.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ef1666c5e428b2a2cc5f0a58201a51b1a8ef736381624aa9c5ad81bfa1a99f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show task details\u0022 repeats the code it sits on: 3 of its 3 words (show, task, details) are already in \u0060program\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":"cli/src/commands/tasks.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc149db777a6354de6004d6c871a1127a4797c16f88660593fc5d54c23a370f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add manual time entry\u0022 repeats the code it sits on: 4 of its 4 words (add, manual, time, entry) are already in \u0060time\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":"cli/src/commands/time.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d4ec9ac36f73db1464b6627f55adb4112e4d7c2cfd6e15be948ac3a006858c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show time tracking data\u0022 repeats the code it sits on: 4 of its 4 words (show, time, tracking, data) are already in \u0060time\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":"cli/src/commands/time.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe2558e977cbeccf32f0ef2dda0fd71a2b18495a844d45dda74a222949b3899"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vk begin \u003Cid\u003E \u2014 Start working on a task\u0022 repeats the code it sits on: 5 of its 6 words (begin, id, start, working, task) are already in \u0060program\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":"cli/src/commands/workflow.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e09913af993e68756c0ee286da879d4c6b59f269dba23d48ceedba955f64a94"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vk done \u003Cid\u003E \u0022summary\u0022 \u2014 Complete a task\u0022 repeats the code it sits on: 4 of its 5 words (id, summary, complete, task) are already in \u0060program\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":"cli/src/commands/workflow.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bf569b2bef16e67728c0f85e65655e696f7e83652910b45cad336e5152e8da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vk block \u003Cid\u003E \u0022reason\u0022 \u2014 Block a task\u0022 repeats the code it sits on: 4 of its 5 words (block, id, reason, task) are already in \u0060program\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":"cli/src/commands/workflow.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe4df0d421d6582d206ffe50a90fc4cd9265a8072df5aafeb5def78ac3de182"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Click on the Board tab\u0022 repeats the code it sits on: 3 of its 3 words (click, board, tab) are already in \u0060await dialog.getByRole(\u0027tab\u0027, { name: \u0027Board\u0027 }).click();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/settings.spec.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f0680a7f38c55c801e3da2b9ca38215d5c4c57638cd8a3a23c3a66296f0a5e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Close the detail panel\u0022 repeats the code it sits on: 3 of its 3 words (close, detail, panel) are already in \u0060await detailPanel.getByRole(\u0027button\u0027, { name: \u0027Close task workspace\u0027 }).click();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/task-status.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7dae60b3aa8ecc68c0d1c86e2e55c81e639e81791ce9fa246e6e3defad9b6a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a sprint we can force-delete\u0022 repeats the code it sits on: 4 of its 4 words (create, sprint, force, delete) are already in \u0060const createResult = await handleSprintTool(\u0027create_sprint\u0027, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/__tests__/sprint-tools.test.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6867c72afd74af7e3f937f3fddb6a80c0860970757d6f638bc869819245467b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write a config with one repo\u0022 repeats the code it sits on: 3 of its 3 words (write, config, repo) are already in \u0060await fs.writeFile(\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__/config-service-extended.test.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"755a86f889fbad1d475177430496fabc5ea00f4eddcc64d044a3dfba1a44e647"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022getDependentTasks\u0022 repeats the code it sits on: 3 of its 3 words (get, dependent, tasks) are already in \u0060it(\u0027getDependentTasks finds tasks that depend via depends_on\u0027, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/issues-778-780-785-786-787.test.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b4c84aadd00a93ecd050402152fbe839e32052ddf94b06949e6ef254ab43ba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022getTasksThatWouldBeUnblocked\u0022 repeats the code it sits on: 3 of its 3 words (get, tasks, unblocked) are already in \u0060it(\u0027getTasksThatWouldBeUnblocked includes tasks blocked via depends_on\u0027, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/issues-778-780-785-786-787.test.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f34d254cc96422251cbaae5e252bfaca47a39325540d8c86b0a4746d2fb7ad5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up initial secret\u0022 repeats the code it sits on: 3 of its 3 words (set, initial, secret) are already in \u0060const initialSecret = crypto.randomBytes(32).toString(\u0027hex\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/jwt-rotation.test.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0396e992c65cca55b6b9fa1142f109efffc8b0b5444ad223c9a2cd005bc27e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sign a token with the initial secret\u0022 repeats the code it sits on: 4 of its 4 words (sign, token, initial, secret) are already in \u0060const token = jwt.sign({ type: \u0027session\u0027 }, initialSecret, { expiresIn: \u002724h\u0027 });\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/jwt-rotation.test.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e65580dc47518ffbb5f046a434d437180758f0020a1f0765cc9290ebfb386"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write invalid JSON to tasks.json\u0022 repeats the code it sits on: 4 of its 4 words (write, invalid, json, tasks) are already in \u0060await fs.writeFile(path.join(testRuntimeDir, \u0027tasks.json\u0027), \u0027{invalid json!!!\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/routes/health.test.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9a44ea709123d878017ed81e003f2482ca89500ebda6210d0ac085a388b124"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Rate limit mock\u0022 repeats the code it sits on: 3 of its 3 words (rate, limit, mock) are already in \u0060vi.mock(\u0027../../middleware/rate-limit.js\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/routes/misc-routes-coverage.test.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f7e024897dcdfcd0454abb73e5d4205d2c56b326ae54f36b91aa3256b273fc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a first backup\u0022 repeats the code it sits on: 3 of its 3 words (create, first, backup) are already in \u0060const firstBackup = await createBackup(dataDir);\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__/services/integrity-service.test.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f362aaa22a7ca11750a3430a31bfea35b65f07f6a46db3f52345c9778ce8d04"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write invalid JSON\u0022 repeats the code it sits on: 3 of its 3 words (write, invalid, json) are already in \u0060await fs.writeFile(configFile, \u0027{ invalid json }\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/settings-service.test.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e0f89b480f9608e3d1309aa018f37fce91082f07acff7a1800fb4c59877c1b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock telemetry service\u0022 repeats the code it sits on: 3 of its 3 words (mock, telemetry, service) are already in \u0060vi.mock(\u0027../services/telemetry-service.js\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/trace-service.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faaff63607755db91b2a1dcf3a1b7205d8fb278c69687ceb0fc6e7f5d727732"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022No env var, no persisted config \u2014 will be ephemeral\u0022 repeats the code it sits on: 5 of its 6 words (no, env, var, persisted, ephemeral) are already in \u0060warnings.push({\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/config/security.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e386c64f3a8df217705cb8a2c7d84c57f76eebbc1c73b3f670a4ed62fc3fd35"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Error envelope \u2014 normalize the error body\u0022 repeats the code it sits on: 4 of its 4 words (error, envelope, normalize, body) are already in \u0060const envelope: ErrorEnvelope = {\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/middleware/response-envelope.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad307f3b06fa2b1beccb8b66bb868443ba0d8c9a57af751249d3f90c0b646e47"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update task with new attachments\u0022 repeats the code it sits on: 4 of its 4 words (update, task, new, attachments) are already in \u0060const updatedTask = await taskService.updateTask(taskId, {\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/routes/attachments.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2496761c045ecbe9e5dcd16a0290cd0610068d8764fc8aaa8757d0220ecd5254"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 586, 698, 869, 872, 948), for example \u0022Generate recovery key\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/auth.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"088a6a202a7da3472c44cfb4aa63f644e8e656a221157218666d881c71471050"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate task can start automation\u0022 repeats the code it sits on: 4 of its 4 words (validate, task, start, automation) are already in \u0060const validation = automationService.validateCanStart(task);\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/routes/automation.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"939a2888f5bd525650d63e6b71091520a46d255c23587e38b6826ed8d307a639"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get changes from service\u0022 repeats the code it sits on: 3 of its 3 words (get, changes, service) are already in \u0060const changes = await changesService.getChangesSince({ since, full, types });\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/routes/changes.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a82b0957a83ae6774b3f111a4094c8aee1edef00bbcfc4623c8449d2525127"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add user message\u0022 repeats the code it sits on: 3 of its 3 words (add, user, message) are already in \u0060const userMessage = await chatService.addMessage(sessionId, {\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/routes/chat.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f1322c35540e0eaaa4e6f3f1bd6867114ed8f380cfffdda6d685cdabd87f34"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022POST /api/conflicts/:taskId/resolve - Resolve a file conflict\u0022 repeats the code it sits on: 7 of its 8 words (post, conflicts, task, id, resolve, file, conflict) are already in \u0060router.post(\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/routes/conflicts.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e661abc32ce6bd277c6455a72d1cfa19e23e15c7fb7ff73368c3ced940acd5bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 299, 309, 327, 356, 382, 403, 412, 426, 444), for example \u0022GET /api/integrations/communication/adapters/:adapterId/buzz/definitions/links\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/integrations.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b91616241e6b9451c069447c4468c8803ce7cc73f9520dc65c5bbaf6f25630"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter to tasks with lessons learned\u0022 repeats the code it sits on: 4 of its 4 words (filter, tasks, lessons, learned) are already in \u0060let tasksWithLessons = combinedTasks.filter(\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/routes/lessons.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3000a164d8ee4df232ade3df269fdfb17a2a72f39636b8d53741d342f0bc3a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022POST /api/preview/:taskId/start - Start preview for a task\u0022 repeats the code it sits on: 5 of its 6 words (post, preview, task, id, start) are already in \u0060router.post(\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/routes/preview.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db8223bc3cead6cab9691dd229156238eb486a92588f7f88150f70df8c48e4d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022POST /api/preview/:taskId/stop - Stop preview for a task\u0022 repeats the code it sits on: 5 of its 6 words (post, preview, task, id, stop) are already in \u0060router.post(\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/routes/preview.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a448a35c22dc30474db4ec49cea88454479457f576d33044155f8338affca62"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get backlog count\u0022 repeats the code it sits on: 3 of its 3 words (get, backlog, count) are already in \u0060counts.backlog = await backlogService.getBacklogCount();\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/routes/tasks.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"500a3b1d26b09a6b66e5e8e3d9aed23bf93edd352c8ff0614a77548d51982d9d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update task with checkpoint\u0022 repeats the code it sits on: 3 of its 3 words (update, task, checkpoint) are already in \u0060const updatedTask = await taskService.updateTask(taskId, { checkpoint });\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/routes/tasks.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"c640a1059003b2486fb11474f792afe9c2f7e57d2f8b595a8e8939015b9f049a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper to get user ID from request\u0022 repeats the code it sits on: 4 of its 5 words (get, user, id, request) are already in \u0060function getUserId(req: AuthenticatedRequest): string\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/routes/workflows.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22b8d6c8e94212496eadd7f8c6964101fa940874c0445c0cb063f2eb6da091a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022No rule matched \u2014 use defaults\u0022 repeats the code it sits on: 4 of its 5 words (no, rule, matched, defaults) are already in \u0060log.info(\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/agent-routing-service.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44ec1f12c384b0e7813861788addbd384fcff263e53cbc05eeadcbe5601e6bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build task timelines\u0022 repeats the code it sits on: 3 of its 3 words (build, task, timelines) are already in \u0060const taskTimelines: TaskTimeline[] = tasks\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/analytics-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa8f2466e6379732a12243c4b2925a51b7b7cf4589c30a6eb3976c3f7d1db5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate agent utilization\u0022 repeats the code it sits on: 3 of its 3 words (calculate, agent, utilization) are already in \u0060const agentPeriods = this.calculateAgentUtilization(tasksWithTime);\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/analytics-service.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c27f8f5371eb072f56a45aa4d9c0b47937fbd1c0575833193795f8278ef4cfc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Total tracked time\u0022 repeats the code it sits on: 3 of its 3 words (total, tracked, time) are already in \u0060const totalTrackedTime =\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/analytics-service.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b72dac602131e119ca13b137e4b1d0af706a6b5023d7f96b8fa84ad4906a23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check file size (global limit)\u0022 repeats the code it sits on: 4 of its 5 words (check, file, size, limit) are already in \u0060if (file.size \u003E this.limits.maxFileSize)\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/attachment-service.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbdeb635002b2717a3f9dd377a9e8b3c1d7aaa272b0b98ec6ae7cefb0536526"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Cleanup empty directories\u0022 repeats the code it sits on: 3 of its 3 words (cleanup, empty, directories) are already in \u0060await this.cleanupEmptyDirectories(taskId);\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/attachment-service.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bbb7b637be64a8865b7d704fe079d6f3274c7db5c7390818e5a8c603ff99d3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Emit telemetry event\u0022 repeats the code it sits on: 3 of its 3 words (emit, telemetry, event) are already in \u0060await this.telemetry.emit\u003CTaskTelemetryEvent\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/services/backlog-service.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea747748e054a8e936ad9497e6c188aea342eb12708d1111062728dd29d996d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Emit telemetry event\u0022 repeats the code it sits on: 3 of its 3 words (emit, telemetry, event) are already in \u0060await this.telemetry.emit\u003CTaskTelemetryEvent\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/services/backlog-service.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb20d1c89091445107c0c61028bc1195ee13101b5722f03cd7872ec041687698"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Emit telemetry event\u0022 repeats the code it sits on: 3 of its 3 words (emit, telemetry, event) are already in \u0060await this.telemetry.emit\u003CTaskTelemetryEvent\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/services/backlog-service.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"92448f7f17ba5a807ee744b905fa4f838867de78b662497a74a35e2cda274fc8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse conflict markers\u0022 repeats the code it sits on: 3 of its 3 words (parse, conflict, markers) are already in \u0060const markers = this.parseConflictMarkers(content);\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/conflict-service.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5db2f254fc46bfc1c7290b12250420ecfada286cb50409b0e9dfc8d760d1bcb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse the unified diff\u0022 repeats the code it sits on: 3 of its 3 words (parse, unified, diff) are already in \u0060const hunks = this.parseUnifiedDiff(diffOutput);\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/diff-service.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7047b906ec87e915df6d15732858ad68fbac647215e8a7532519d6d199ac1c1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if it\u0027s a failure event\u0022 repeats the code it sits on: 3 of its 3 words (check, failure, event) are already in \u0060if (!this.isFailureEvent(event))\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/failure-alert-service.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca89739697ea2ba4271b3444c4b6c26458bff2b58037f2a6ced57c4970c29f0b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Try to create the lock file atomically\u0022 repeats the code it sits on: 4 of its 5 words (try, create, lock, file) are already in \u0060if (await tryCreateLock(lockFile))\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/file-lock.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"853ea6655d3849f7ef1cce172a626f02e14c535685d78b2d4cdb7408093585ac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Lock file exists \u2014 check if it\u0027s stale\u0022 repeats the code it sits on: 4 of its 5 words (lock, file, check, stale) are already in \u0060if (await isLockStale(lockFile))\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/file-lock.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"320c147b0273366e1d78c0642fa2131680604b3a17f1e122525f5bc26650411b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a map of id -\u003E new order\u0022 repeats the code it sits on: 4 of its 5 words (create, map, new, order) are already in \u0060const orderMap = new Map\u003Cstring, number\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/services/managed-list-service.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeab4cc651ccf20500e115f435203281ff976c0f24a3ab565dd8c48b3336605"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Tasks completed on target date (status=done AND updated on that date)\u0022 repeats the code it sits on: 6 of its 6 words (tasks, completed, target, date, status, updated) are already in \u0060const completed: StandupTask[] = tasks\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/summary-service.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"201bdf37b27bb50a9f44ca4c44c626e0e365955ee0f604ae00b8a90032460597"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter activities for the target date\u0022 repeats the code it sits on: 4 of its 4 words (filter, activities, target, date) are already in \u0060const dayActivities: StandupActivity[] = activities\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/summary-service.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b2e4f2295461789a0aed28018ae7b71c74cb176c8a2aff75cfdb159036cdc9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Emit telemetry event\u0022 repeats the code it sits on: 3 of its 3 words (emit, telemetry, event) are already in \u0060await this.telemetry.emit\u003CTaskTelemetryEvent\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/services/task-service.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0302aa427222a89268c2c1d468ff8507ef6bbab1eef772a4910bfa90b3e8b20"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fire onCreated hook\u0022 repeats the code it sits on: 3 of its 3 words (fire, created, hook) are already in \u0060fireHook(\u0027onCreated\u0027, task).catch((err) =\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/services/task-service.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c516783a3b78eff0293946232c99d2c6c3fadd3c0c2a4e8fcf00294af412c22"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Emit run.started\u0022 repeats the code it sits on: 3 of its 3 words (emit, run, started) are already in \u0060this.telemetry\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-service.ts"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69567be68392a4f98a99234cdf6c3e58f3b5b459aaaa7edd16ef5e897a9b65c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check project/taskType filters\u0022 repeats the code it sits on: 5 of its 5 words (check, project, task, type, filters) are already in \u0060if (!taskMatchesFilters(task, gate.projects, gate.taskTypes))\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/transition-hooks-service.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21850b5ef32bf20cdbbf3da5e3334f5d9bad55e22a8d834269b4e1716879851"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find applicable rules\u0022 repeats the code it sits on: 3 of its 3 words (find, applicable, rules) are already in \u0060const rules = await findApplicableRules(fromStatus, toStatus, task, config);\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/transition-hooks-service.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a86d77477a80ad04ef925e2d06a140ce5c61bdb97aa2b0eb5e502951188266d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check project/taskType filters\u0022 repeats the code it sits on: 5 of its 5 words (check, project, task, type, filters) are already in \u0060if (!taskMatchesFilters(task, action.projects, action.taskTypes))\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/transition-hooks-service.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac41cc0b5a879a867e5f9336cdf7e6f9b3a4042566007f70ec9d3e5add0f81a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find applicable rules\u0022 repeats the code it sits on: 3 of its 3 words (find, applicable, rules) are already in \u0060const rules = await findApplicableRules(fromStatus, toStatus, task, config);\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/transition-hooks-service.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6336cc2203c640f6d2d2b69a5b4d7cfea626221272930be7194375939d843eac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Merge step output into run context\u0022 repeats the code it sits on: 4 of its 5 words (step, output, run, context) are already in \u0060run.context[step.id] = result.output;\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/workflow-run-service.ts"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cd99d88b065fd3c479d0fa90f4a7e015ad2474a4ebad8955bd36783f524e9f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 295, 1485, 1563, 1680, 1747, 1854, 1867), for example \u0022Render the input prompt with context\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f06c1bd9bb90e4785950a16db91a1aafc7d2dbb232afa35ab31d210e4d6e893"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Shared Resource Types\u0022 repeats the code it sits on: 3 of its 3 words (shared, resource, types) are already in \u0060export type SharedResourceType = \u0027prompt\u0027 | \u0027guideline\u0027 | \u0027skill\u0027 | \u0027config\u0027 | \u0027template\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/types/shared-resources.types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190f0ad9436548d8bdff87a97e17918b631915141ce5f0d270c69a3d2382e0d2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Default attachment limits\u0022 repeats the code it sits on: 3 of its 3 words (default, attachment, limits) are already in \u0060export const DEFAULT_ATTACHMENT_LIMITS: AttachmentLimits = {\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":"shared/src/types/task.types.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48b669619d60d72036a930b4dbbeed181c38fbaba9e5326040533a3e2bc7cea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock @dnd-kit/sortable \u2014 card uses useSortable\u0022 repeats the code it sits on: 6 of its 7 words (mock, dnd, kit, sortable, uses, use) are already in \u0060vi.mock(\u0027@dnd-kit/sortable\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/__tests__/TaskCard.test.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec9667ee9b90e65cf6728a2ede3ec9056b3a055e82310de2216dd226e90abba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock useBulkActions\u0022 repeats the code it sits on: 4 of its 4 words (mock, use, bulk, actions) are already in \u0060vi.mock(\u0027@/hooks/useBulkActions\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/__tests__/TaskCard.test.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d539e665935e066071ea39de76437f35bff159731cb87ff1bafbbcbac0069cc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock useFeatureSettings\u0022 repeats the code it sits on: 4 of its 4 words (mock, use, feature, settings) are already in \u0060vi.mock(\u0027@/hooks/useFeatureSettings\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/__tests__/TaskCard.test.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b26882bf39f89a5190c867f352e8e6ee568126b62d17694bed54d62a8fa8e01"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock useTaskConfig context\u0022 repeats the code it sits on: 5 of its 5 words (mock, use, task, config, context) are already in \u0060vi.mock(\u0027@/contexts/TaskConfigContext\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/__tests__/TaskCard.test.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac61a7be1966f744a8a67352b63b060e89cd7b1dc6a5e55bb0981df7ce10d9f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Recovery key state\u0022 repeats the code it sits on: 3 of its 3 words (recovery, key, state) are already in \u0060const [recoveryKey, setRecoveryKey] = useState\u003Cstring | null\u003E(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6264a16c1cd8ff9a45e6e43c0e9929ff05d0f64b46367656f3ded68c55b91c48"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out dismissed suggestions\u0022 repeats the code it sits on: 3 of its 3 words (filter, dismissed, suggestions) are already in \u0060const visibleSuggestions = suggestions.filter((s) =\u003E !dismissedSprints.has(s.sprint));\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":"web/src/components/board/ArchiveSuggestionBanner.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a01570b705933c999dc146a265e02c65fbc0108f0867eabcd7f53e9717b58df"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Count active filters\u0022 repeats the code it sits on: 3 of its 3 words (count, active, filters) are already in \u0060const activeFilterCount = [filters.search, filters.project, filters.type, filters.agent].filter(\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":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddd0f410f0bd87fe776eb7f3b65b992c27491cc8b2fa0a6aa036207ed29b58d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter messages by agent\u0022 repeats the code it sits on: 3 of its 3 words (filter, messages, agent) are already in \u0060const filteredMessages =\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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b4064e80fcfffc3a3ca315ab231d289ea13050b9d6caded191647f5fa3b803"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wall time = sum of all run durations\u0022 repeats the code it sits on: 4 of its 5 words (wall, time, sum, durations) are already in \u0060const wallTime = taskCost?.tasks?.reduce((sum, t) =\u003E sum \u002B (t.totalDurationMs || 0), 0) || 0;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/WallTimeToggle.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be2f5459a5b0a6e941c5d37051da82e460d6909683855f4084e13219e9345f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Daily Summary Card\u0022 repeats the code it sits on: 3 of its 3 words (daily, summary, card) are already in \u0060function DailySummaryCard()\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":"web/src/components/layout/ActivitySidebar.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8879a1e02db102bc352071584c0ee10451b1f7e31a802511829805b28717c9b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Status Transition Row\u0022 repeats the code it sits on: 3 of its 3 words (status, transition, row) are already in \u0060function StatusTransitionRow({ entry }: { entry: StatusHistoryEntry })\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":"web/src/components/layout/ActivitySidebar.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d027c0d06ddc4e3882d07168db755dfa8df3a05d96e41a58f4c1a6a6a28b2f5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Status History List\u0022 repeats the code it sits on: 3 of its 3 words (status, history, list) are already in \u0060function StatusHistoryList()\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":"web/src/components/layout/ActivitySidebar.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde4306c2277025711330d47edd1cef65a9973d9fcd1f691c44a6168d240257d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set delegation mutation\u0022 repeats the code it sits on: 3 of its 3 words (set, delegation, mutation) are already in \u0060const setDelegationMutation = useMutation({\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":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680bc1c81ced46a81dd163991fa9a6aa9a2fbf56c4b6a497b21f134d7d812e3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Revoke delegation mutation\u0022 repeats the code it sits on: 3 of its 3 words (revoke, delegation, mutation) are already in \u0060const revokeDelegationMutation = useMutation({\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":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e152b13e0807b9dc1e2b3692c9b31fad8517e452a5049d447eaeddea7b6148ab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Conflict resolver state\u0022 repeats the code it sits on: 3 of its 3 words (conflict, resolver, state) are already in \u0060const [conflictResolverOpen, setConflictResolverOpen] = useState(false);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a57dbf55c38a2865b81ead84d142b23d56810b2e9ff85247cf5366dc3200928"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle incoming WebSocket messages\u0022 repeats the code it sits on: 4 of its 5 words (handle, web, socket, messages) are already in \u0060const handleMessage = useCallback((message: WebSocketMessage) =\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":"web/src/hooks/useAgentStatus.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cd38c4e5523cb70dbd1068a8b09fee602b31a234b8270277b94665700c559c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Invalidate both attachments and task queries\u0022 repeats the code it sits on: 4 of its 4 words (invalidate, attachments, task, queries) are already in \u0060queryClient.invalidateQueries({ queryKey: [\u0027attachments\u0027, taskId] });\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":"web/src/hooks/useAttachments.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d663c26ff5919ae199ab142081d1bb42a0bf5f8bb0c5822fe6a09a4874fae96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Invalidate both attachments and task queries\u0022 repeats the code it sits on: 4 of its 4 words (invalidate, attachments, task, queries) are already in \u0060queryClient.invalidateQueries({ queryKey: [\u0027attachments\u0027, taskId] });\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":"web/src/hooks/useAttachments.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"81884028fa763716b0816b4e6fd7b01e133277e628f7c2a65032c22197579481"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show toast when no task is selected\u0022 repeats the code it sits on: 4 of its 5 words (toast, no, task, selected) are already in \u0060toast({\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":"web/src/hooks/useKeyboard.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9654cf4c7fdc3293857fd0782a06cbf4d11c8711013b2b6be82dcadc2f4bcac6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Interpolate variables in subtask titles\u0022 repeats the code it sits on: 4 of its 4 words (interpolate, variables, subtask, titles) are already in \u0060const interpolatedSubtasks = subtasks.map((st) =\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":"web/src/hooks/useTemplateForm.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8717c1604e9103ddf67a3f92bfe4a456847fa021a17eb984df920cfdfcdfe844"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060server\u0060 (176308 LoC, 1439 module-visible types across 15 directories) overshoots its size bounds. 3 of 7 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 1.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf05b901a1f668fa4abfd3ec69fb960dd775906744df9bbf0ad8e2d906c382b0"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060web\u0060 (80322 LoC, 564 module-visible types across 40 directories) overshoots its size bounds. 3 of 7 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 1.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ea941af3f901551a092032ec144fc221c4f79efdf006625aecd57cda1f6e02"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060shared\u0060 (14621 LoC, 1308 module-visible types across 2 directories) overshoots its size bounds. 3 of 7 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 1.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23fb45a446564e491c0403c8fb6cbdb2bcd6139ec909dc2b33c8ad9f5383c33"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: FileActivityRepository: all 3 public methods forward their arguments unchanged to service and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call service directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-storage.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e6c7596f7704693e2a8f6297071d635c3ec94b5268e1c6dcadee62e5cef435"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: FileTemplateRepository: all 5 public methods forward their arguments unchanged to service and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call service directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-storage.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"672cf49e4bfcae84c91c1f5ae7d42744537a3200c050e198f68e6d0b1c945593"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: FilePromptRegistryRepository: all 11 public methods forward their arguments unchanged to service and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call service directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-storage.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"711f2356b539fdfd5a135dc5fee60299188b87b272aab856f3fe8ded186117ec"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: FileStatusHistoryRepository: all 6 public methods forward their arguments unchanged to service and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call service directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-storage.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f73d248c16f7586369000577029f4b9ad7353161d8b741b816ba0c3b0e3515"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2433ddc8562bf2e10d4e7fabd903bf753e4bb72bc7e5c313bd7cb3be9dc49eb"},"properties":{"commitSha":"40e6877b9b760c59064509eeead9e3b45684abe9"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f07cacddaa3e941c34994843d02bcbafd1c72210106609c0b7ac4b1d7d6d2e7c"},"properties":{"commitSha":"40e6877b9b760c59064509eeead9e3b45684abe9"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b66e05e003bf6d4fc66b6455884acc591eb11c7191549a866f3e43df469b9583"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"309517916cc111c0a79d23a34089d4e1543ba878c39f6d219a33e70bbda65298"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0679efd1942203e95a81f2a4a4233cda54eb3bba4ccd5df64d1f1b63e20c057e"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84c9acd65eeee1035565a7680a6a7fadd6234e047cff5cd3ebdb291a84376681"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"190ce92dadc355aedd1349b4febcbe16007f3b15b23927f4d5602a08d473c59f"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"940ca10dcdafb10468e890d62bdc36589dc31ab8aa7246d3b3fbeeb80e3593b7"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3dc417b86e63bb6f550ea790f372957a9444ab41d669761f7376bc5367769c91"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63e4ac3549b40a95fd1de3091a2351776d76f5d352296d02ab863f80395fae11"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b25c346fc27fdafb5870a9f92e786f402e28539e90a52f0b9d0bd356dd3bec2"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73973df0ed26a44d97dc4661943dc52f98076a2b42306ecdd63d90997e4cd9a2"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b89b280b0a05c4719b9f5948ca274c359b1ad817b8956292fcd0d9fe89a9902"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3ccfafc68a5d7f1a6f99139bb1ecb7940429c2e611bb66f180944f7c4d26189"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec53a7f2cbf410880691e7a397be6e557e204c11a363784cce794e87a503b80d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16e27e4f7791d97d56743cab8d2903f89f491f7e2ccc9dc34a7971a3c9b62d80"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"639ba064168cc70fa77e59c9daff0e727e630d032b03a9535ef7f0f4665b5a07"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f69fec043ee7951d00885f7f450f98ea4ceb766d944142db61d1fd2c720ad75"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4cf8a31fd1d688123dd52a75d743ed429ddb6e131ab1afa7b4c6a437b597687"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19096e8cc4beb938204daa4e045d61c07eabb11c078cbcb5ed8d6e1ed0ea4d38"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35a7ad565492fc4516c03cc56ff26dae751a3f2b90a409c6a3391b23d9e8adf0"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b73877a97c43e181ad1409b7935fc9b154a806ec519b833b5e1ca5007e607072"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d02dd170010ee829c14f7c190915e96afb2d8e93a8991e6f4443c714e0c392e"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f37a654cf2fc651ed532b3c3e77109366b6b52da268b243d1fdae6c1674048a"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8d9eb01d8ed1e30792afdc92f33da5f1b44cc6c99b4ada02a9853441aa670ae"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5c8b26fb34d448f1cff902a00eb7889e966ae7d87795ff4d260de5d759046ad"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfba2e5b35bfebb1b57ab9deaf1af4917e39f49aa1ebf8fd182d1ef35561412d"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55729c40e5500c94d581b73e361db8717e091c0692ab53dc9b2cc57400497ea1"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"517fa38e75500ead384d057dc4ba4a5e0e529c0f795218d20f504a7274983a59"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ba4f467fc4ec62ac257a0d4169d49135197d382d2d8e09e72b94f4e6f27027f"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"880f127fe4f6cd3f895c827fafc50d93399f6cb80da5a19306d4b753708ed5d3"},"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":"33fb975bffd2e323ea6efbabead3db8cad69f7359b4b7bc6137ada0928d3cd0f"},"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":"20ceb975edf697f211a0fc5f6550d8da3b6eb74f89c42be4443af2ec0b2b7741"},"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":"a76721a6ed130e3ba5175b23dd8972277f6e9a0d9678df940c5e7015749175d7"},"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":"dfa004103c1cda5cdcb0d1088a49055e5eb1cd185b15052dbe3a14e2d6341e21"},"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":"d03b088b71e350104849b1c5c5bb4528b38d62513b079a5532568a9724b4f77c"},"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":"1e5954aa59de27bd66cee12727b104b51332bb863098567f455af39dc5e935b2"},"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":"9d71d3deaf54c9c625f1592123d7de733001b55327a51bd425bcc32c908a0980"},"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":"776a6e4adfa1f0b2e954571d269b18e07d951d45795583214db7464f2b7b11e9"},"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":"72de9bb1becec43cde0a180a0c82ca31ec1a2081aeac59aad85d1df9073dcccb"},"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":"c509f26b97e702277ad81487e074e8eb62d75ed87d4fbc22bad7457098b0adda"},"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":"0333ae6fc85d6d2b5e38dd0bbc4b3504e2ba340124d880239894f70d93ee8bbd"},"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":"8728f1e07cc1dae0e9042d3889c79a2edff249d63d7db1b2aa92edf5a0d8c532"},"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":"9fe52ec99049515a17adc52b07bf91c564ff9640be4fe9ab09f90122bab95590"},"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":"fc9dccc4e7aa242e80e0eaba3af0bd7c411939aeddb2e6c6f81f63850bf928e8"},"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":"00eeec9edbd4b2febc1291f12a20f8b46da1a30da3ea851c53f4ab17d2cb16cf"},"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":"327f57c5e5f11dd7934ccfaf978dc6c40542e58f16ff8aec4148798869e6dc68"},"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":"f532b4f037228d9effd29d0da2eab52261e8ab98037e2a97e89fc9844c1b6f4c"},"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":"15a918713a82ddc379a4c9e0bfa33d6c68bbbfb1232f408e87d13f03cb30ec03"},"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":"3cad4107c52692e5508d249e3e55483e6bdfb5bbc6b756324616f3aac2c9449f"},"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":"091e229fbe91ffac9cd251071500c734fa132bdd19fe66f12ec154719fc98e57"},"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":"47af9a523cf6e9a8f8701d37c90810bbddfd9eaaca26b10e1c0c3881935b2906"},"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":"579d0b3d90d41a0a0f54e1df8b0e60f0ee7ce1844bce526f60bd5d39e8cf8f7c"},"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":"17e90abe018ce30affe0bf07d2e9e427932c01245e8949c5844f8704a4ce5090"},"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":"7eff51731dc26753c474c53117ced1a8ecd9fced5a10412f405f088c0f4641b9"},"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":"933694ff3ae1f364158cf4960cc3c2b3a287e968525697ddd25a5a77e562e433"},"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":"4fe38c48a939685debee0270b28e89de95f752beca639258d8bebb50c3fb7184"},"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":"f50aa985fe1c1ffe32710744752d020609e14963cde9cf7d121c92859bf77b70"},"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":"8f84aabb51cfc0daedde077f81bade5c4336ca7e9ab929c2b7d343b067b480fd"},"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":"8594b0331db3cd969e4113d84cf757d2ec628c1ecf0133718dffd5a953cdfbac"},"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":"ce025e8fbb1f1919bd46edfe3e307f7c94ff3068f807c7b8ef0c79aec4295eb6"},"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":"cdd9288add66bb94c1d3a3cb2d3ea5a7abeef26badee58d79a061d86b19ffac7"},"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":"126d11cfc65f91ab4343e06627b29b96196a789443fe61fa5ab0a8e68fe0d767"},"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":"c3a3df4e36f008e9c1116e4b3462156ea547105dd68dea6c124cf9d38c3b77ff"},"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":"7568517af00ca04ac935da87e357e2c31301a78ba817f1becd7f4855316601ed"},"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":"e695f46619367539aba8b31fdb402e1d118da2bde06a532521fdb001f133f20f"},"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":"a1ac6fe527ac9a7b6134c567eb3163d7cfc447e5cc350d5be805a4adf2af3f74"},"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":"952db5c04b30627a8e9ba225cf1eeb1f3bc5cc42add6e156d1412b64d9cab664"},"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":"1a999be146808db1813c7544df0f7fe24ef8b5df2349dcd506ffb0254248b9bc"},"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":"b2cfb0df8e4652fa3c7ae8491d54abb607ee467c7d560c5b12e4792101649c2c"},"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":"a0ecb28eee862045d363461e6d3691d3f3e061017d54f44169723ee107332c4c"},"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":"2dc8522295b7df4ce6fe82aa5d296da5ccb1fb913e06d6c0136f729846d63618"},"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":"4b50f74c032d135788a78e679babe2f7007a80e7c371734420e8e3923e8fd2bf"},"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":"f16e9423a566bd7e3c5edddfdb274f5be5305e5f873c5da6015f12e42b68a176"},"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":"3477e6f798ad33ee21807753babbe41ba1090b92d22dc43b0605db65699d0ad8"},"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":"8b177575100133d2be4b6db78c49f5ed2f610728efecae094ae3c38bfe22d59a"},"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":"33a11e0ff17f67a22347f2f27e66b672ddd14f56f428c4931985d6dedd4774d4"},"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":"0b40e8ebd61129d920d45bb20c81ed2a21e347e509cfbd1b9494a056ce58333a"},"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":"b8f8c633521ff59988c53d433121a7bccbe5ce3033ef9e654940808fdc41e975"},"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":"6c3fd3285493bd9d50795138362aebb5a720e0c6721aff40bc1b9d83e6994d00"},"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":"4535ae67496b75413a44b252cd0936e730b19ae8bd3c1a93c42e327056ab3965"},"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":"35cea34f932f5ee9d0bc367991f4870bce1d91b88e8b39022b132e93a2148a75"},"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":"7864b81dd55b39cdfda972c6787255b70434de46e73e9cec08c1d9a92c344966"},"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":"85efc36d388b5fa9344b7a5cc2127d38dee16159cdb42ac38fd7a681d3b4e26f"},"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":"a37a4558491b4790e5523e0cade2c80a3bafd8f6c629a53074273ae08468b411"},"taxa":[{"id":"CWE-73","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d41ea1d0ee6f37cbd8921582c36ebf85006e18d52b2cca9d80b4c1421d855157"},"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":"e7638441b7b2ec6ee40e746256611d5c2aadd35d1462adc5df74dd28e866e85f"},"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":"fc92af212f7bef6e9855ee275db294d7fb27b1637527ec6a3da24d3f14431d36"},"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":"172dc9eab055caf0aef06e2434bb5504ff412bafb47b49d8da2c9f734ca19ff9"},"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":"97ee55e241f8f1443c3e656f7b305290a78bb5c107309aaa42ff746b4859b27a"},"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":"4946aadba5cd1de86ab61d337a2c29e608e17fd78abbb1fb1282b6ba96c8ee51"},"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":"0ef8abb311a2d62ac3e8dbb9d7fde68141de39c9a401c4a69d20f84117439d78"},"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":"cd1b0b41547de523d3257b3710c8a79e69ad43f6e13ee11c785f8d217407a868"},"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":"8a022777445776a2a3f073d522d5514487e3faeb818a34bb9058389e599d55cd"},"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":"13a657aedd2c198dbc3b8f9478aa091e782865a541429d2646e8e67f6777428b"},"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":"83c5eeb4a1e9e76c0e10bf0755978d85705a30b82db637be395a178b863e6d45"},"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":"63bea356b8c2a295217b0e664d96af2ffdb57b425e6c764d62f37bbce66e30c8"},"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":"3e6c943dc2dd0f6f69c785377223a4344cd26d63d57c51b4d373e5124e403403"},"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":"8bf83316533c78c7ca296a84fd793ba8c0a84eee9b22427f33575569b8e88bb5"},"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":"1e7cf410b0ac425db4efc0b44f8caa830664db836f0d1f59781de7355aa04c4d"},"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":"58cbdb18d5b45279e9a1f2195f3dc33adcf94c59572a6350773650ad2e1dd2f7"},"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":"38f169b071153d89ff912da4196ab5862ea226961714b633d353eaca84735975"},"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":"46a4684caf04267ea355d7fe2e6b801134b237b2db6e024d8cf591564306896d"},"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":"7c3278b248cb7593ac9fc473f8c4cca20992464510b61d6fc348622ab07b014f"},"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":"b1c284bfb6966b048d00f1db2fdb4ac346cd6f1b3e34f406eff1c4a3c7d38c4e"},"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":"9a8b8c4ee56ce537fa3955fd96307465877d555594fc6447c59df525f9f619dc"},"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":"0746487e7c9bafdf50c5e3b0c21bd5c367fb03421f6f215b9456ef13b7b1859a"},"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":"a0824eee467157765222d8cc39e5934377b0542519e1904644b4ab698d51ac9f"},"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":"0536ebf5c19977315e62c0f8ae835dca97555452174511db900adf5f5b5088ec"},"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":"4921289e7d382e68491cc2ca7b64262aac89197b9488bda502e61810f79a8c42"},"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":"1f968f6a2790a6af7e490b7fc5bddc6a6b679c171983d1da84c015d2f534c9fd"},"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":"d5c99bec2cfd7ec46eb22402b965d3368b00a05942c0a6e19b94aee1d2d74473"},"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":"5699e47cfbceabd82d20db5dee5265ab82323e3ef9f54ec26b8010efeb2e85a2"},"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":"3680250d1861e58bb15e18998e838bfa0ac1917c44ae04013b5ff13abbbb7d97"},"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":"bda60a80a5edbd13bd8fc6c416d65e832ae6dd9de79670e54984d2fbbadc7f17"},"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":"1305afad0e0d5647ac0d001bf08651ab54899b24d3f404686269b4eff539df8b"},"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":"a3f6601d5ecb669eba8dce63bf8489dc0b2ede2092b8d4cc296604690ac0c4e3"},"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":"30c076bfd18fee7f2e7e79e6853c48ea7612f8b0afd0da0813d8949b1b07700d"},"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":"419255f387b2a9944123338f036a10c769816ba17c275964320a18d2d600b7a5"},"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":"49060be48138a11d3d561f4c781eadc0d10849f5d9af715cecc80916a55d83d2"},"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":"43fc09be02ccbc05465de04644f3b5a8ea89b2ce6955693df877cc89a822cfb2"},"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":"66622ba052164c96c7f386fa054dcd168b017ce8d460c0a1a7486dc56e7b4e10"},"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":"157f715a508d8542d77127411169f087aabcd984e611c8b77d3b22a074e4da94"},"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":"94e4dda4fe306d2fe43d90fe0caf6f136c4fdfb5014b3acd44e592a633620dff"},"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":"e17e76099f1004394f00f285690e1ac18da7fa4dd04c4fdca4c45b24ee9ce33d"},"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":"446deb7e055020b445b3269d3653b038d1144bd0981238e96db0334e2ffde2ce"},"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":"dc97cc89bb785baf30c3d357fdaac8e5402e80f8a5866d5efd063f423fa8eba1"},"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":"40355e2f816c89ece57f677d0fabd37ab545a2ab7078b0648f612f6639fc7e2b"},"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":"fa953852652cfa5ec374ff67108d9aadd1905b9d82fb9cdc1abc0e65b1a0c0e7"},"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":"d4c4dbce48a61e61f07e2398430079671eeb95f4790575d8286cf0bf3d3ea304"},"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":"2c1e6534d57a8187a9f57b2fbe18fa4f199bc9d50dc1798ebd7b412b11c1be34"},"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":"7503fad41f62f1a72179d35364cbd71772233ee70d9ec3da49426d0b1d39046f"},"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":"44b48d761fd5a1332182a8a3f5e3e723e06949fc5d4730b983748dde51d39608"},"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":"8c0e9b50258636c45e61126e5612a2deb132153422f3ee503ffe5f05f1c26984"},"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":"bb9757bef6f1d8b0c7fd256fd0c983e6afd80df6e01fd32a899a71802ae0117e"},"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":"bd474eaecc6b29c3ded44b1e585f94a97954c66827099dc50cd74e3e6a366ada"},"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":"6e623a02d6549936166ddfc81fb6c8e6df763696688bcf9dd67f35c3f52ceada"},"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":"67713ab85d521ae555615eb0e64c91b2295a061889eadb2b9bc4dc727ead66b4"},"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":"80f7154eca8bae3db5eae2366e579bd4bfefb96882715526d41e94cd2d9325f8"},"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":"ade4fefc9248d7f894acf3fb4acae70b3a0fc35518bbbb8a2b4c867aca69405d"},"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":"71ceb8f616deea00682253f27e9404a36cc193f40b53358cd1efb4f694979b2a"},"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":"a24f3f0d1dfd745af62a750160bae37b1c054c3a72a917cc783e31c9dc9fa270"},"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":"ea7cf009b59a4fd204d515ad435a7aa88b80bde943aba45a4a72b9209eaa6cda"},"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":"6a6a69d6dd44f36ea33d7089f85313a4cff8599b81587bc1aab9e4bf55835ecd"},"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":"e76fca6c6591dd4082489b66dfaa802531d47d30abb08bcc89b44eb3ff2bab93"},"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":"1932ce5f82b2ec477246b46a887b603b39dc6acbe39ceddc19a79df216329972"},"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":"2739796d50e9d46fbcc4ebc2842458b479473abd0b885121fb0276b0b2493aa8"},"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":"0ad794ef38b95143dee73115d401ff495a51e2fe0546b6ffd4f58d0b15b4ceee"},"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":"ef07f3738c4e0b3cd9a1fda1d6423a2b09d4de58cb8eef211905a3f76bc280a7"},"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":"7555bddafdf1e326907ceff09388efc58cd63fd1d286419f5f5af092ba788311"},"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":"4bb0077f660e96193b737456d6dd3bdec9ce71708ab4ee1e82a78339ebcddeff"},"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":"f7ab2f02b8d976b4df378b474c69f0a987e3399b778cf085c0593430eec1cffd"},"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":"2601afef84a94663fb54171981f7d14f15f20ef0322303200082b6cccc94b0b2"},"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":"1128542db56c298f94f2577832a291adbfad70f391984de3d391e6d0df9ec0cd"},"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":"0da56654672befad9ba868e54cc59febffdb7d55c54dcd6b631103a33d004ba9"},"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":"9cc35477d2ddccf080ad848986f2756999a3376c85cd0a7429e9dedb333b0382"},"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":"707d45652bdb8843fd63b0dced56802cd92fc6dba99628b32ef1c6df1b14d076"},"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":"3cf45846f3014ff795f9c271ecb0eb3876e9430fba3b56a8d2ca904352fb327b"},"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":"32d35f636bae3a448c67d0e787d9df8ad33feb33fe0302d8ac4214eadb2e4341"},"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":"9940f10f77543d80b251b88297a2d18db5645754c3a7fb66cd833c97004c6f69"},"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":"1c70123d87b210784910d97f5bec60e845b9642a5859f99446552f328714fb7e"},"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":"b518e7d6c53d5aa9d2eafa4cd1046c10f9202d9612476dde8e112c62ddb4faa1"},"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":"5dda5b29eac4068a8f956066d4c003d64adc7051d74081342c6cfd171fe0159e"},"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":"26aa41308e5422bc779ba82713b6e6a64ec1c463f5e3d0871975f73aa3f64d5d"},"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":"5f53082b0d4181747a54c09940665d91187436ef85729934f6cebdf7d0deec65"},"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":"18cca8a51d6d75449c3f23756b82a77f039bdb1611d79e2a23c97ca92e5fb77c"},"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":"811902d73cd06e38a2dea43ee2dad2cebe75f416b669dfe08fc8e004245f6d17"},"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":"87f9bf96d86db2ff57ba35aa99f4bce940717622bccaed84978cc6571116a277"},"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":"bd8ff7bff6680d9131d9c8434334df6abc73a497c1fbccf768d875c541979f27"},"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":"ecc5f130f5d069443d40de02d38506e68328a07e1835c99bccb47c6ee1c88d68"},"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":"7e49d9a8535f43b8a16023c00a5d06ec6a971f29ac003d37e9fbcddd14702833"},"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":"8fe9044065f0aee0ea048e2cc4c89da45f07c075049da671a6c12f129c4867e2"},"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":"9c2f974d93d9929185c5630343e660f46384ecd820deddb9733f70ccda7f4424"},"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":"02cf657985d25518327680decbb5ab41007f9d20281aad7c28a2e9e531ea077c"},"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":"c084b73429ee5acecdc1642cfe85d7a99c34defa54a6c0474f9fbc8997ecca1f"},"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":"8b217ae20fc1ad031f61f2edda25ff24554a98fca505a696b4713c98f5cfdab5"},"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":"4ded53071a1018a76e845c74ba21cde0842803e106f3495307fae25819c09eae"},"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":"d7d93abd9b5bd88faf2fa9c268ae77f0be32e948f3f1ae961353eb3c7a419bfd"},"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":"4672026b07018bd243fa575a370794a98c59df79a4fa31587d8ff5af2f184940"},"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":"d427c71ad945d396c4178331812ad53af78a047687661ede4c296808215dc919"},"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":"ac0418518b3cce20b268f55f539d9dce0104f95a1c71d89a3b3d3a52576dccce"},"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":"169b56fcf38835f46197ba4a15942e6f22437baad2270bec9e9ec662957ff9b1"},"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":"66c3f7c05ada0931fdb0d2d194c07a0b960f2b128571fbb5712955f3049c3516"},"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":"d26ada300dcb2a496f28cd746db5645920ba7ca975102b7db15de3c22bc7044a"},"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":"0d17e290f2787299d12bdef6e228b52d20cb8deb8925f698c980aefb7bec4f38"},"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":"b759c6c53a01f7388ede2ff2b4774dbc5c7ed8d959597c61ef6846e380dbcc2e"},"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":"dd96c2f54d18e294e10263776e9e4c44117d433c626ca1125c294047bfd10f60"},"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":"474b1a280010a2b36192f02333257960699674943ec729b80d4a52b1b5828a50"},"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":"5eafc2a7fc4adfbd7f842002ae5e0fe5de0b995f5a152f4e45a182791a684885"},"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":"8ac796b79eda2e261c769f5c060513d79f507b7063646f30cfa157b6fcd6ea83"},"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":"11f9cdc947b9bd45b6062dbbe51d084a239305b2ea5bd45fbc4611b5356f94ac"},"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":"3bb4b7a12145b1a285cbcfa728990955fab885ad0e1d2042b1d84bedc4548205"},"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":"20719da780dd712c7dbcc3d2e1a3ff965c93beb4f186df84c2c2d7d6bf3df28a"},"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":"a64851fa0fbcb8f573313f6a55985770e66637960ef69adf6698dbfc3535fcfe"},"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":"659f7ecff1c0427ab1518937e290f2f5d54cf7e18624523162a3ca766e7c0c45"},"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":"37c1c7469738b2286d65f6d104a098b79461d1473fa44c0c8636fc137a4b5c46"},"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":"492057b9da5ece726d2f1a2ff15302fe32800f10c83043323e7ea2e2f5b4f120"},"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":"0c246cab50f909b4469fdc2b849eb34cd5dd42e71110a5aba3c2e95aff944bfe"},"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":"beb4a945fdff87d902f90b120759f8a2d2f68ba9c06b99e7ddfc6f248d0f7e70"},"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":"f764081dffa1aa617495cab7a5f5756e3405c774ddc2c73ecd10e6fe699d4ef0"},"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":"54de67275c1afb1810a6defef2a52c76d6bce39cab54b0cdf2265abc6cd2da88"},"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":"58c35e89c94bda9a85a872035f619382f3ab163a7168af820976a5aeaf124479"},"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":"949522c5523c8d48076ccac322ff6270e0d1382f7fef5a1cffb4e26ea1d4ab68"},"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":"d4a43591abc990394e7c6af36155b4c1c46ab95b1abcdde94eb91b855e180b1d"},"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":"20d6cb83163c5c1230b1a76b4899cef2b06871100bcc4c3233e1a1c1d520617c"},"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":"de1a4d743743127e88bfdaed5f281d71f1cd59cb41e253aa5408af043aaf9057"},"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":"33c131283f193fbaaf582d2205c0e194cf89262c9b8be63f6de0b134ef621af8"},"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":"0e77ec085e4f2aaa8fb13b486755a759bd0f9a6d97ba474cacaacc333e6ff240"},"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":"b380280d6dac916c4cd81978f912406a434d134136f8e8aac16b4d3de7ad1a51"},"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":"4bdc7f3188264e9443a4b4b6f930b79b31c50067d13f48700c56595d846fb2a2"},"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":"79daee23c68e4d10aea33c861dfc1bd209ab8c1607766b89359956b059231ecb"},"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":"20450d132779ead525552c68645c0f6940a5bb2f1eb2a795c89588c49ea42903"},"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":"44dfa0646a0fb124a129b2b31084e31cfc46893ce7cdbd3a48601ca6e653c17e"},"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":"7d18cea22a905f64802228d5b9c9157e882cff2e9a031eb5125399dd093a29dd"},"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":"751dbffe464e9bf56f9215ce78517c57244177cc88f88d59d501b37a571dee03"},"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":"e72238840b4d9301bfff660df4a61103242004f0b3f3fa08e7f37efe0c0d055c"},"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":"4519f2e0de415307c854ab5ba49365f30527934b0398e8631434fbe76f0e5525"},"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":"8e0b1b13055503a600934dadaba82ec9d304738aa78260a5f99b78a599d3e4fc"},"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":"03352bd690eb82ddc61dbda02f7c7a202178ee867e459b5ea94ea189ee50e421"},"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":"2ce0b33e42ff90f6d069182bac80a7ca8a55aaa90b72945be252894f0e812da8"},"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":"10cc21a655bc23484ecdfcb9f58d7224c12d66e011664a7c0bf6f2c044566006"},"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":"cd94163450dbebc55328eaa4e1a4496bedda320674e325b25d1863df748c3c9a"},"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":"91b523df1e85a55c09d50fcba9531f545693aadd88da8b3eb0598949e9e3c150"},"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":"8bd005c8b1c8260b3723543ff8c989af9a25fcb50d30fe36a6d186ee36d8892d"},"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":"39506a90d62e760c93f03689172dac2eb69df9458b95f0c234a5a86885f54638"},"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":"560c1b8abc49ce32474af3db81a778548c18d879f2e06de69597580b760cb7b0"},"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":"99eeda1443233838b5778ad2bdb667a3888d03c30b84f5c2d3cbb8b2f085d60c"},"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":"690f36ad6f190c028d22e7fdb2637e72953f6fb66c53d764a1015ca982147358"},"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":"7d48e25ff0feadac8490967daf0f8fb72073c79e381b83d893003ec9dc11a2a9"},"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":"bef04d05813ada9f5c5935f70fa6f2abe1fc7fda1c151ab44ae4aed1227a9128"},"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":"42393d514bb75e9de59ff599cf3edd372d0d2b7146c3d05abdc66223431bef0e"},"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":"1ff96894b950f36d454058f6579e9d14e260c5650fd5ac93e5d918978eabeec0"},"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":"75b4b84fa7ba66050161b8a2ef1498d7aa5eba80465ab9a5b9a276489ccc63df"},"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":"fe66697795faa900a747227761f9b9d93db6b8036f6b7ff410b849e413058afb"},"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":"d998331bc76de097502669ac015a31e0752917bb991339924ad900d47cc1309d"},"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":"4ef148edda8e06a4d74620042eb45aee18cb54cb8198d7e0ac1e80ebac9bc3e9"},"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":"524b6611797bd1075240b17fae99f5237d0a35248ce265300cef03a485a2a566"},"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":"f196854bc84d3d7a7ec26172389decf92351dd341c33c4d0fe5fe99d30c88c3a"},"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":"f315c4b26fb0de730a8518b02d25e0312bf9a562f71ed1ad66ba414934273348"},"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":"7e5e71e1dcacb564c024dfe04ac68f776d0777ecc4c145e5aad53ccc54ab22c3"},"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":"e289749dff01cb826f004e816c15b6693697439f589251a015f8b05c7841c79c"},"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":"f011698d90bce28a194011055bf62ed11989ad7af4935a02d7c850aea77d0dea"},"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":"e51a8b02bd88baf556f7765daf4c552690b403f634e30e3f9fcf2f3e2296409c"},"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":"8a13d78ce265333e8e78a3dbf953b96c00a4a3bbbb8c6c14a805b21fdb85cdb2"},"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":"3cf9352027d55bcc50d07dc103f5b0979e89bccee4041a089e1d1028a8b1ed1d"},"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":"e97aae0c5236674bc424fcdcb4427fd2d6514e96a07916adba055fcf7517be09"},"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":"0b16abba76d6cff5b90e7416bed1a27179ae1ceb79a744b0729fcf7bfc0db96f"},"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":"14352ed9a2cb0236d870318aa3eb28d354d4f69ce45b7e911789812e538eb8af"},"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":"c75bdc5b468c2b982bce340d921b03c2fb2f226064f13d4ab2c7f1f4310981f3"},"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":"b6472b0c6fa5998562c9bbc34c32fc332ef28d0526a1e19555e7a37bbe9cf41d"},"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":"6d6b416ca4d05c52b6d0a7fad10891b7ae0aeec2f08c438ff03b184f09fdff3a"},"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":"239ec5d6b8e8a8a47d7eae035e57bb6f6404260d4c70815c55aa865872fbda71"},"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":"7729e65a987073074d18d8c0bf588b33fceb18f39ff2b3fb486ecd91455e213a"},"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":"090591a62f59a1f3aeb26f99b0501d10160636964cb31f171dcb455737982f02"},"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":"4a24f30bae911cc5881a236f2bc8b3bacae92b14f741cb2ebb71e269a72a6385"},"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":"d8c2b7401ab1f5182cd527505f8a8ec3b26eddfbf25d8ad22141fbdabd3e8b49"},"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":"939cc9f9d83fc13911b6dd6081411fab7b29162af53d9b3790ac246f603aabbb"},"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":"0c69a50f27b9636876ad085e62c55f2230daeeca1baaa7e0c5ca8ccb067b661a"},"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":"786a1731d07e8df2cc76f59039145ccd785e3d3e5add3d8f2e42fc0eb73387f1"},"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":"7410d3b7327e8efea5c30f6966e969e0ba7b83bfde110b6059d4544cc0bfab2a"},"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":"c49555f18aa41272ddb049fd487e19771fe67609d104c9b07f69d75cdad0d691"},"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":"0df9eb61fbbbc7d864c480e446eadc1b7285bd4856dd86f38d318e4be87db127"},"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":"bbdedef9e76fee238aea8f69891cf63992367fe720342db6555a9db4e63f11a5"},"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":"ec1e5146232177432755118e215be6c3cc28d02539cee5407b059ebd6be31679"},"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":"14c7c71027e26d6794add6c31bee66226c991950d5ccb583efb074d6201768d7"},"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":"4ccab2b91c061f75e58db4787262f4c6320500781572f51378a2c4e4a0d9d919"},"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":"472d4b1ddb01902b634f2ad900b26efcffa8939653ea094b6f862d69dc2751a0"},"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":"765018b15a822099418213c88e23ab705d18e0d206b5f25a9443edf144ea4685"},"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":"3b476e55aff605c97e5bf2e134482dbd2ad3997e709a6a89966e0732c313266c"},"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":"70c22c70af2693a745a94086e86bc835bc07e9208a036aeb5238058f473454f9"},"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":"06aa94644336307a2664357b8faa1e2be33f40a3ea98f7db60494182099a1676"},"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":"8d8bcef867ecd309525930b6013b1eb6015b516dd44d5411be238a7028d8d49d"},"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":"37ad9d4ef6d63ad3bedab14c247f2b49650c26fee0555adde8633661503446da"},"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":"2983e963ae0cc97fba044ef4bb077cd461761dcfe961812b20f120b39647aefc"},"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":"d015065d08587f30864df52ff044961646d0d61cff13888f5ae6ee22317facde"},"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":"3108d9faceeedd321a51c81e53d299f48a7cda80733730deede4b86743463a00"},"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":"662875f98bb2360f28a50fdef2a266f40eee96d8c4bdac867c4181477aa6cd8a"},"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":"95a648b38afc00a711cd953958848676d748aa618f75d49e4d8ee94bd5c38ad3"},"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":"70d82e2c8381d02fb723e6f00ed345b3a772082458f9c156438f22cfd99ca440"},"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":"4d10a500a6afcc17f2b393dfe70bd20f652a6bdbcc406f4ed05672239a292f3f"},"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":"346502973a1e89092c7e25cc5be2c916e05f85d63c8e42973e4793bf96d1066d"},"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":"faf1fa57c94d31621cd478a0084014cbe4c3a1afc4f124a7cbe10c3d766eb776"},"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":"d1265dbe28d42f6ed924b7875b7e30cd5a7c52a97b6c1c3922e0296018ba1e7c"},"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":"02b61f49fe6208dcb1b3a2495deaa56db1edeaa45ec8b2db3a3c6b1138dfcd4a"},"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":"c9fcf50354b823daf5015e8a89216b24b4b8c161ab95f0a604e027439702f72a"},"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":"f8f8e35a34641356e842fd58f4c6a3f1d6c42b7ef900895f8a53054fd5bbfd78"},"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":"00a3a153d9141a838ca8cfc654b9fc50e8992057300954a43efff2eafd487901"},"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":"695af5780010bcfc0446379a114c80379a4955e6b56522fbd4e98893b6ff8129"},"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":"666c42696093fc13637d1aabfbda7ba34f17efef1e40c10ea65e9ba364560243"},"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":"82b535a3f23c24130066e54070d06b6d9e7eee78677ee7b1446104c2dc7eac11"},"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":"e6f31cc67841292bdcb6f4428b34b52226d26c2f290e036c41e52e5db0538df8"},"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":"c9f258a0bd4460a1097d45468795e7196276cb3b3dbd2511009537576bffe11f"},"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":"cd8907637c6b76aee6e70d46e8e6edeabf46820cbf6ca4f29469cc2c3ebb555c"},"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":"42ed1c504aae4fa94f0818bca740a6bb2ad40d6f041ae6ccd1ef07bd1a950791"},"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":"ef7169d8259bbac5340b70c45f3a03eaaaa3541a725723eb8978e9f67b584bb9"},"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":"78fc0135ae6c9158057b3fb78b34bb4a355a754b81845ac99c607e42fcf3f517"},"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":"5866381bad336559509a2ef97d252b2dbd3eda0f844e97f95789a60b18c958b6"},"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":"2b021e35b505d8b41da9370a9c209d29498f3ad672fcf16690cab50f4635a79c"},"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":"68910f680f868fcb89a087d4b91c0fde5d1ad33b88c605015429c05399fcb834"},"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":"accc42e96a56c5cfa25d880f2d7380022af5f0c36e45713edb2a57213725fb6f"},"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":"b9473144451d19fada5364b02f4a10996ade95ceedfec4db74871dfd609dace1"},"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":"18125d6a76afcd06f01b4aee20f8493f0e33ce1b8acdd4a52cc71cb1279ca55d"},"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":"5174dd1c159c11d74d7d68b30c1e087cac1d0d739853c7975ca161f754aca18c"},"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":"2e952cbf570dca71549a2ad750c1bff36d77b6a23555f5866f97102bfc01b704"},"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":"2e351a3be9aa1694d145aea88c774aeeb87889398dd71051c5915430d10e8212"},"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":"e42eecb857c2b09db2d37c66bfdc99973a4b47cd76399d12736c9d0d5dfc43ed"},"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":"bb3080844cb9dda381a26f651b006c91f176197e014ef8f0328dc31db1f28078"},"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":"4ef5ba35e999358f87dd2b964a50c41891b5bdc0d680899e9c9f0d8546ef6660"},"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":"142a31f2911f7ab716ee6527c6e7a22f2fcf2e1b5dff0ab7db67824fe5cbad62"},"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":"0ffc0c7148b58893cf1bb206343fa67b826865986ad73654584d929ccab4fc59"},"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":"f5d19fddc247542bc57366e5c65938937276051d1dc812dc6de207ca497bb686"},"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":"21308d6c5688b1d1af046a3c3e189dcce20148b3be0df1b3fdf3d63078a708eb"},"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":"8ed38e7c7b66d24e5fa47a1d2b0885a23c18dad263151b1420c02f80aeda5eca"},"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":"4d5ac8ebb1282bc7bd91bad0be7d587de87c8498586481821d9487ed030b15f0"},"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":"d22e1a7619c5dbbe43206b9691bc29211caa5cd5b2f4770533c4f27494247f14"},"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":"4fe174d6fd5b28c415671a7cff5bc294a84487e075ef099dd29c70415ef2cddc"},"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":"d7e866df237b447203630dd9517983895e2fd26bf5b9eadee0c28c6322f926f7"},"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":"d2b0172643cf519ed17f02794c3254d29ec152f207cd689062c9a45b1e6d5a2d"},"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":"72f7f83cdeb29e0309f9af2059ffc0cbaf4fe18e47e04372944b7d7c8abfee60"},"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":"af4b1d384948be6bf007dcb150c966b00da600336303a3bb4bbe2c1c6d4d831a"},"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":"12fff662a8a498aa0713351b5cc20f6617af4049ec671488255dcd5cdb18ff94"},"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":"ba22febb508b672827e629a0ec3b9ed0dda8aff60064ad7a6715e6b2e76f58ea"},"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":"81d1cc7d528be4856704127f2cc9c0b43b92907f1afc48a265327b47baaefe36"},"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":"1002b402a4dcf2b7604f46f1e722e448ae5985d0bec3a2b195884a3f393ee5a5"},"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":"a1fae17076f3560f9e5c2aedf250b20cca764943d71425a44932ad4854fbc05e"},"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":"6a2d30ba7ec5f94950670a95f5d91120165805f35f8f4871f43e2ff73b6dc4d5"},"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":"a6d752f71c93cd447822b806b4988889a5ece641e48dd577bbc057af63287d3d"},"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":"cda7fce070c1e317a599833b06061391e3cfbc1b1d79750b0d0df61a6a507c6b"},"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":"152e3d23ea66f23b28bc33990ad64082f01bcdedb980f0834eccea229d2fa9d7"},"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":"3e97a0ccc98d96a719c6e50110a4f425a4c64915334a50c668a9e4948c316d73"},"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":"5cfa8d0b255edad074a2da8994ff1e3cf8ebf192b14e6244eaa54ee0447b41c3"},"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":"4a2d510188c2bbb6b18d4d82168a704d0fc2bd2ba95f61e02b27f3fb259692ae"},"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":"501e35fd314f1f85abd039e25abf52acc7ab5325558804dc0e9d2b641340c4f1"},"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":"29f0108251a01c3cc387388302561c3d90ab274c644dae18893c0337e97f0ca6"},"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":"0b54118dedbcf870d7275915acf64ce8d42689d40cdfd2c64cc880591acd8496"},"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":"c6e467331f6be67f8ee22ecded669f4313f7b4b36c6fa5dd940b41784a6984ce"},"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":"500aa22a5ab7d44a77ddcfdf435c65b83809f515f55841abe4ccb414d1691b9b"},"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":"0cf594758f8a828e05105bb9bf8bec0d497213a7ff29d9defafca4dce37e19e6"},"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":"2fc3db8490fc3da79d34846dc0ea9d81a0acb09c3ec47d4f99929a704402874f"},"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":"40d81d2dbc56b252eb7afcfe97b495707658b39986da09a534b4e44431b044e5"},"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":"5f761cfa21bfde8b1af4a9ced84012ef3f0dbd0d63e96a82e104b50714141f2e"},"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":"5b390f682f96797778afbb942e2065d3a32021e699e7190f4c4fd094fcdc210e"},"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":"0aecdf17b71d87b183dc11b1c1574215d46b01f3e38c193f5307f265b3f916b8"},"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":"80ee7ca3b2105b41336281eb3b17845b3c19b9d1a6aaff290c69e89cd2560c18"},"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":"5d902c2fb66bb928814e13f349123b19d6961f2ad4ecd4ca397025c10d84e005"},"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":"de4742bc62adde43188cd519ab9303e8407d0b76f9db14c80be3c24ac0e3dcf6"},"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":"82f0069cf8b28d61ccb1128d15a5142a85c3c9c802e3d049f1213b7668b1277b"},"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":"b16bb47e1b0b6ffd018fb18cdc232744e0d0909f006e897b2c6141013ae43190"},"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":"3b19afbc4008f3a0c74a00b3a42e0d0d8f1eb73bd18996bb131031b70d512a2b"},"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":"5d54c7ef6e13af4a5c0421bc40e6c7bdde633ee0b930d5c15f37543a31ff0094"},"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":"45f3aa393509c911724c8160c8222b975e42faec96fd5b81a0cea35dbe1785b0"},"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":"5780bc5690bada0a7d29f8d365121f848a085eaa39f9f41a75e673a3351ea542"},"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":"378a531ebaa00abff74c08f95a74cb0b87fb37821f2c1bfa5e882ec547e7658f"},"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":"515b6a6bf66e5e56cab6c93eba31bd52618e34a714b7d1512fd51d8b9249cd7b"},"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":"6f9c0f3ee111cce4fc89ba229fec21351aa0b824ea5736e0bde13d88fe052533"},"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":"1605241c95f3ff83cd78ea910fd8bfa7c5099613d9521751f780219e919ac523"},"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":"b1610efcf07d9ded78ef41b0561bf542ccc79985e0cdf7cf38f6b1aa390e275e"},"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":"acd3523291028b1b77eed41c7b7b71913ee710bc280471ecff14a6e864f1ac93"},"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":"8df7ac1a8e0db5cb9eb41fb8f54eaa22a6f6e60c18d061902eecf28c3dffe953"},"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":"860dc779e7256637c3439dea4faa122f210dd99dc0eb7335987b0c338fe7da54"},"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":"e24b39297ea6725d548a7973457cd83fbbe1fb7286d1ad37f746ee8d6b036c55"},"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":"3333b2551c134c2fd730f54098b10a7fcebdf11ea3b726b481721360a5dbdcc5"},"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":"637d2047bf1c5ae1bb52683425f8599f8c253177d23c3e28bd8f31cfe8a17f0a"},"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":"1dc00385e6a82d3953843f8584b326af27cc7877f84817ce584fe54bbde39da1"},"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":"01b3becdcf7dc91bde589ca374adbb86cfe42c60187abfe9bf207b36124e88b0"},"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":"425e9166acbe6457ef40fdb981779d970c3e6e6f36fa37325ae6bbe9e2a47944"},"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":"24491f95dbb8c6679fc8bcd14d14269507e66509f0586650a72d072689b9cc3a"},"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":"6f5b7a0e6734fbc1310993d8eb1daee510c98f19a0145f662783aeddc77efb21"},"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":"1d419457057f6b8841d86a8f38b27d980c5f9b1e1397018dd25ee47cc0add3d9"},"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":"0207de96a420343aa087f2176f998ca66a2a9e6f632c3494ee674ffa3d34b7ce"},"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":"f93484dc4c70468a6e262620ca8828f9331f30dcee6600edce6301438fbe5953"},"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":"d3c3f8115a872fd58d870370fc69e13b9bfee804e83a20ef52f02304f58902a2"},"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":"2874c31a2a5f795ba841cab6e11e60c2cb1c7bd685b9b9e329eb62706648a600"},"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":"69d04d8b15a981f13022bdf87b2a984aa86132d19148804457f5f2955973d3b4"},"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":"d9937d85a473fa8d42530554c24a6f84ed0fe6639740f88cec650f60baf6471f"},"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":"caedc9502de269d4adf43f94109546c35bce80ab0d893199bbdf5fcdfd0c871b"},"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":"66cb4924c4d24c9c48ea7639c6b255ee3dc6ebfdec988c43d2cde0af89042c88"},"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":"a6bec88048c917d8bd7c83d94d5e2b1d2ad9df12f4f3186a32a5161a97f8c4ce"},"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":"f8fd9c028bfe095512da75e893f1d9bc6b89f5b1a934d526d8fd7f0e442e6d66"},"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":"9b046d18139a4528b50ea8f81eb0a9bdb8a40bf0f186117bcafe681b71e82a1d"},"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":"18e7058dea52801e177cb439448d5c69f1a4ba64e2533b0b5aa5928079d219fe"},"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":"60552241fd682e1702be92cca34468a8fa2e074960feb11a25575bd44015651a"},"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":"1412c59831213a7b4d39a750cb1947237991e824da6307dd570e00147ff2ca4e"},"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":"a9aac6f3eb25fe97bb945aead1e8b67a5e514855b9e2371c63462438fd1895a1"},"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":"2efe0bdd4649c4b6ed513ce1bc3c74ba09cc5c826aaf092667228fd0dd59708a"},"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":"22a0328c376d018ea425b24dfc8ea9e0ffa5becb9dd2cc3398d3c0c1090e0d5d"},"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":"601574e69cc4e02b9f71ce8779936f0b733da34e7f7449de0b336fcbb98e592d"},"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":"55048f34a6bf8a8b967ead2a347c32ec5c60a517aa1374c75288e36691298650"},"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":"7bbb35c9441ae437fb614ad793962267ab7550ad043718c1d3ee21ee7a2492f1"},"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":"8194f447cfca259335991fe612bca078abe0ce3703013942aeea8ca2fd97e5e5"},"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":"de8f5458ae6e5f249b20675bd12745191d0648e52031f6b057415e2cc643838d"},"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":"150a2b4573ebaed336607519b1fb3e103222c34d31684bf097747938e7641f3c"},"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":"fd6b3ef3e504fdaa50596906b176721cba1a7a29136509d6bb8eaf6b1ab75f13"},"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":"95266069d1500c1bea8905986a91ff8df1d2b6a30555055115738ad8d54d96b0"},"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":"16681ba6c304473fa172bb336c6b64470a868200d989209ea3d022becfeaffeb"},"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":"11161e84c1d4dd58f0a9e4bd94e4fd282475a1a21cfad64958f3b3c8ae3e2496"},"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":"7a9b217613ecea13477d9569f912420907a7027f4052d9066e24f3930d2cd130"},"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":"3eccd8ea9ebf2b31b489cf26b1b55b12fc688070a83bae9e8d67f1836cab7121"},"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":"8af9abe14dde5e43017bc8b8235c92619b68fb7987797218f2b5aacffd24d890"},"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":"929f9b359581a6b5a9369aa86d6208ec0fdc07fc86fe581f04af442e7e8e0ab4"},"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":"e4ad12dbc9f0d5994b7cf5fea5d9e55f61757604f91862b6bd3012575acb88c9"},"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":"3f3479ee5324a20a78ac84ce1c3e5236ec45e8bee5753e7a97ff466f9ded886c"},"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":"8145e52b89cc7f7d160b3fa8d31155207f95e6c394287a080f6ba489eb4c9669"},"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":"b2e790d594243bb712ccd03311db9353abed2813335be8c100f05d76ced6858a"},"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":"a2fea25ef7cdb20351a1f4938087fef920af40504aa06e58e9dd3ec62ac3a8e7"},"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":"2b79d5d971840f0b6ff5c5b2fbcd3d2170cdbd4dc34497a95405b24b4c35b2f2"},"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":"6993e048741abb33683f79e97c5eebb1eba40d0849c6591a3e22790923139885"},"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":"b6f274a339fa46992784bb3d0fe983aac4e2a53b43675e3ac2d5db03832a7c57"},"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":"6c2d6d6ce89b71104fa21509483abe89abf6e921e289c6302b1898f7ccc9fd51"},"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":"26d51f83598e33c81908a4ab6414535227f635c7d251a197cbaebc701f87e81a"},"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":"26274e7ae6112741a0787d7c6c7e455a42bf041e49e2e1283a6a4b8310c89f8e"},"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":"c1bf86af69a30536a7f22dc040a84749619836580fff8fdc49f1aeffb8413977"},"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":"1a5e05af96580dc6ea71ae9e767d7c489f830f6a9e1a85f1bb4e60caa8b8d0bc"},"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":"e42af75ebbda96f89db1a3fd1b15abc5c9ff7e42351c1074d5b4bace4563d868"},"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":"2c83687347b3a70889c8a6f37eff6a207b590deef80321005e3bcc85d4facb08"},"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":"368f46d61f2ee4f86daafd739656de3860cb2a87705c4170a293094fed7af4f8"},"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":"9e565f4874bb97c05d86ea4c1415ab4c767ec4439e2ce07e8f1e612899a9c82a"},"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":"ce2bf3ea2ea12fd862fa1b85f2e9b9e9476a0e182ee07c06b47010451775866c"},"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":"2f984f0f9266aaf3f5e4e4937e0c0abaafd9f40cc731b432e31e5be0d1342c23"},"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":"1aaada9116f6de4bb5964140c7dd3833d45d2c785a86134f702592bfb64ae7a9"},"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":"1304b4f07b5081340750e545f321b9e99f7b9fbe26f1d7cad5524ea9ddcabc3d"},"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":"baccf3dee312ab5647c120b2b2838872ce4ba752742d3cf775721e128e59e6f6"},"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":"d0c55d8d0c6405df8a87dd23f6b3769aab62ccf5a461b15b58262d22c5e18cd5"},"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":"b7bb18d83fcc77021b1b84eb28d44f56f2d2a4355cf19a5bfd0b038ae4fd6871"},"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":"70fa3c14fe2c303820daa537980c9c02d23499ec1a96e9607507ac4cbc5ece98"},"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":"2da158d41cd484acf1f6e302c475458c0fe6235a7e026b9c6fd7ad1f10d2e4a7"},"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":"c0d20086da1a6e617d547cc7aad246cb1259e27f23a43535c4adcbfff6be703b"},"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":"09c3a1eeb669615f20da0ace07e88aba8045c6f2719b8380e99a31c612fe5ddb"},"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":"2a51c3cf9b44a9d5218a1d0105d41f1d6ade8429f6eb2b6c084d62f3adc6a183"},"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":"7edb4236cb61edbcfc83f61a03de0bfa154bfb71665e0bca64e6685e0abd5a74"},"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":"c3b10f895aeaae27e2f40aa2258a0fbe77915c39364928c5da113028b2553e0d"},"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":"ff242541fddcdbf0a8fd159998fcff21b29cb8dc8fe75a2e87f1b2226824dd00"},"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":"32e8762c837af8c08939ddad3f84e61eb43d3d019214bfbf494098b4decd5def"},"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":"53805fc45bf598e5e4a4280c65ebc1fc603368fe89efb9dfb4ecb653734339f6"},"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":"e9b61121ccba50ca0d1d4a50781d08edeec57dc6dfd93f396ea0c2b0680252eb"},"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":"4c4a99023dd2d3f26931ed3f62743d16c9b78b6cb5ca4d1c71d1ccff9bcb9a07"},"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":"5326a34748eb473d2b9ee0aeb668482b2305d9d2663706cfa17769142541b20f"},"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":"fd4ee156da03c9c92f8c04c30a8b0e10a8c848b6da903f0c0267f427c18685d3"},"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":"b7b9502a092d2d85268bf48e9f42621971b94b9cbcdcd3d14c99d50cc123171e"},"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":"637e2714f2cbd60594a54aa4b3775f76c8e98fb254bed3406d7810f5e07b801b"},"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":"f0721e3743b4538ab39d7d0fa9754db763e41e479cba75f6f390b73d23879ae9"},"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":"f4e2221b9c99a6aefec152a85c35a2f30f7372e419e90a75ef1b5a004b1cd39d"},"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":"dda97dd2f2a07bb2fa2b2dbafb1ce1fecf3fd438db2e2dc255a0755f6525b19c"},"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":"e3a9b69b5719f8f1a2307e837745ca1ebfd327f5745cad1830b68ca6f1068488"},"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":"8c466e0439404f11776c56e7109de2f73a648f0dd6e20f82170f9d8bf910b79f"},"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":"0064891b7cd62559ec63983052fe47e46ba275f797fff1d157987e8ed278413c"},"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":"9720904d5c19c696c792625e26b62c859d5db54d0be49ac64710188e452bfc64"},"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":"ca27c9d58819684b86905e759d8db16633b6c999151799934db5aae4d4c87652"},"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":"0a09aee9708ce4ef36faa7da0f3cd0ab0d081a6503399831504201c5d18dc03c"},"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":"12ac649a97e676892166b8619782d60f8b442d23b38a4aa0d6dab01e60d224d2"},"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":"f39007a10ae176484509efabc7c24775400804293e32d60370cf5a3be0102b02"},"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":"7eda339ee897fcfc37ff0c266481389c382711bae785d697a3de76ea26c567f3"},"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":"62cd3264decbcd82ec2071996ffb85c452c1c5944e07b1e7d5b959b440bf4e81"},"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":"2806e7b33e9fcf998d60a4b8401148f6e07f713b78bdf3e7a10d483fb06f2836"},"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":"8bf01e89147eb68cedd952ae48d3052aff7bfaa5a243fd6f96f086b0a341c820"},"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":"89d55e048c3fd714655a365ac0c8b54aab8d9c47edbaecb0a8135c4c1b442de4"},"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":"7194972619f722a1e59af8cda06aa9a399fd945d61c121d5ca07e98e9c885026"},"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":"0ba2f2c985bdfd257df086babe35e3f34e7e9a1c6c32ee412d7378908da75e06"},"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":"4692c31be44546cf0492711c00fbee9c235571f1eb6fbda35b800d454b3b2faf"},"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":"a72d7085aaacb22bea7af6f30644f7e6436e2e43344a5fcfbc7b60214a4d727d"},"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":"1b89556b7777a0611b00a33782e3643ee48f8a67b09d1effde1c3c8a9fc6a6ec"},"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":"1be40caa9a8b564561ec89a18e308f3f1dd6a96ff83b9d005393c5ebc0a88f84"},"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":"dbd649f59f375cd05405d82b89eb14b90220333337ac6488166046428c191036"},"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":"b28b53bc6e688ec131ca6b4686940fa548a115bb01ae56cb84a2f6a9508ad1f5"},"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":"1d4ad4a0b51333b64b93942f5d95a4131ba91ea950caf556d14ccc08dd849f16"},"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":"abcfadde3813c1b233afbfff9ccdb9e8fa1025ae975bb2f183604565ac625b1b"},"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":"312d2f0b73f6b0e4aa17608c34711407457ded5cb1061183e00e752ab0bb58e0"},"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":"f36ab10cefe69cbb42790a833a97ae59e6a31233a94bb9adefd0b7914626992e"},"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":"eac271a00720802f521877737094b7f9add1d325f49fcf10b7d0c259b610107f"},"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":"28102e617ddb2673ace17fce9966744d773d1ffd52046d83b4fc90e140e3fe4a"},"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":"08169eceeddb02ec669af0e144afbca10b7877499f152529086beab423a71329"},"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":"51f1b054bbeaed9f2167f09fd261a1de962fff7cad8d6039932563dde2291093"},"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":"9d0d9d95c7098f2e975c450f59a55a702d73c280f681bf162b8bde04bacdeb9d"},"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":"efeee5af0ebf75d5d7a754cd18301efb39b24d6fd90003ef5bb8f42d68542b7a"},"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":"69ed8b21b82e054ba44c8ce7b0175121abfbc7502e7e3be3007db60555511ab7"},"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":"742a8f83a6401a769a1562b7a7b80ebf044cc3fbe9eb547b0dc5fc9c56938f9f"},"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":"d0e9fecc100e14241c4e8af0074e4eba3d431e4d12bbe8597db7f01ef4326a3f"},"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":"fcdfc5ce18482e794e72ffcce97e9c03268fe6b9ed67928f27d3f1515d9b6c88"},"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":"a7d4aa90d2ddd705cf064dfff2fab6f0b37b1aadee383c9cf8d7fe121b6df5ee"},"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":"545f12049f1a33e1d3adb19fb33d28fd2966a8b51b4bc12c6b6b8ab15a37094b"},"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":"ddb994fac92984cf59f73b559b4b5b97c95293f1436280b7dbdaf3ef056a1c8a"},"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":"951e751a41d04375d999b7d6ab26f88f40c60a026b36bb2b26f99ed0094f79f2"},"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":"995f77cb159259fbebc3683cd3532714d0409c7fd86ffb5625bd244edb6cbde2"},"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":"5713d38fa714e532643af8e68349a067495bb5bf993b7b4e2ea7425b79d1e04d"},"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":"2c0a781a58971110d0f1cdd61429000ea2c584335770333e39f7bd004aa8b6b2"},"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":"d815cd387fa220d43dce13ff1682f0ef7b51572783e1831fcf1c05fdce07b484"},"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":"47f4d93f523dd4219f46b969c6dfa6d554ec3245dd87ef49ac4162bf77180fb3"},"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":"a96b54fea8eb6e8f8cd0cd8995421ee5879a22b689296edb0ec29e8e4a5e1eb2"},"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":"e8bb7f265d03c976332466e462eb3b2ec96b00d3f5579c9465142eb55593dcd3"},"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":"f893f8ce09ad30b01dc30e28fa6545c9867efc5af494b568146cc8f133b20fb6"},"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":"8d77ffd0d90418143b3040098518239b47a8a8dbb4d4f1b8003cf18385d88451"},"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":"4513d84d2647df44d5228edd18feb9bca730f491970ef0869901589d71ac3593"},"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":"ba36245989eb27b293e36550d3331079cb6ff90c2fca563a574edc90482d58b2"},"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":"8f889aa32a8b8801bb38048c1eb2d9aa1892de609d3901dd5ecddccfd79a6083"},"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":"24b51f0c6320cab9162a0760821bf145c63559898051d1910801752833575267"},"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":"dc3456973cf82b326fe75af97e69a631385acc5466eb6569c2ded2f54ade78c1"},"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":"08943c0ec9ec3006a9839e6f246cfaa3c523d16df8b2c81effa5dbc1950b6627"},"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":"d038d62f143de3121b577aabe52c1dec32760731ebcdcfb0860760ff6dc6f1c3"},"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":"e6c0e13859ec679b14b10580436a5f3989cd2fc9860544ad216d98916debdf93"},"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":"9c19929c1b7b19e3a33ea5ef2a12aeb4a11a540a2de6a37202f5902e5dae9fab"},"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":"0f577f2a4e585a3219e8b529c31e23ce1c84a09789fc1aecb1bd308d057e810d"},"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":"cef232076acc56b206f79c5a5f78f784d743afacd0e334750031e4e36de87ce4"},"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":"4ced70c7c02e0d1a95f714fda2cea8a6a909f879ca8d11a03a39e7ba201fa427"},"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":"c0bee9a4a735ba8f8fdd0fc0903fc7a44d66668f0612374640f451b6f0785c90"},"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":"7773fd9bcb890348b2f968557ffdfa5ab4915672210cbbf5765a6a443e7eacd0"},"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":"f0a8ca5de9ca722f2d08f8fd0a5845916aeb9b38eae802bf75583c0fadb2fe17"},"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":"39c57333fa18cc7297e2d363336b1bcffdaf6d27f043541edbe707137371f918"},"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":"38f944bb589b01e3d0c5510edc16492f6a6f795c41ba356efcd830c2351f8e64"},"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":"21944b3f331aec8690f2eb0ceed3a2900b1a7a33e42e9711b6989b745e9c9fec"},"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":"f2a5e877c88d559093d1098ca0a3c4711bdc83b7021469d1e49168a33b7e5b72"},"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":"013841a5d92d53116403f2f97bca237fc53c9c44e5b7f75f3dc7fe272a802cdf"},"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":"27cd1bfef51b4286b9cd566c18a0e8269350e2f93eeceaa61af2b4bd329075a7"},"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":"a8322bf574cdfd046736bbe39c31d1d84dea5f728c92ef9619d66af8237554c4"},"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":"d7967f5bacdf7d1a6e719dfde36b439a3ce60bc88210a661e1bf12e65b92765d"},"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":"fffe18f448282c792f14086ad5ba45e65a17329b6b645a973688462f044b839c"},"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":"c648043d67773b6c6272c40efe59752dcc35664a501221332476d8997c06d1e1"},"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":"16a30d8cd011c9ff2b7c90e0f3db7766e4f1f91c3d8e45d6a4008bde75056724"},"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":"3c38237c2c8df3648f852a97ff0a3b36988ac91b8f071420f4628e58e8cc17e9"},"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":"d236621e5d1afa0fcdcb8f9394e318c4bf99232fd254a4b45573c8a5839ba964"},"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":"fd734e0c78465ced3e485d79de24215246408f0dbe00439700266eb9e474e39f"},"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":"57de140abfd56cec8b4449e63ca8ef2faf5adda274ea3bfc422f5a9a44d730bf"},"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":"1ee2b873dbd431bb0b4307e826e7406b1bac1730f986c012e3ee17c98efc5514"},"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":"ecaf8cd828ae958bee79074519005975b5384d467c74796f9868c2c4ed87edb2"},"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":"c91323e03723418e73746a0cb813eb27ec4f85ec8c35d9f4adf3ff51368fe455"},"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":"2c842b1260d1c9954f2914b8c5c78fe8e02c1c2714b333182dafcbf765053b92"},"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":"1547e08ae6072828d2005b6057a1d4dc26bc7a6fdbbbc89cbf97a169cda9323d"},"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":"ccb745b6f15e52383bce193e226277c247d7622a7774486fffb2440f6d5f793a"},"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":"b9a21a8b659f16d333b7f83ddc14ef79cabefa9bddc39dd7d6ce26edffeb34d5"},"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":"56ebedc46576c50c4fa40627316787fcad3c0c340aac2193c9fd4011f2efa7ba"},"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":"129edf2c666cfab193cf31cd9c2ce653963749b4ab204d629ce4af223770ed66"},"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":"bd2f39efef6e2b1f1ae5c80fbb9bedd4bb7fa938aed0b606f2a07adc15421c71"},"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":"b3cc389b76d507aa388ab4ac9e24dac5ac9010984a27fd980575f80bde3c2458"},"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":"23e7b42cd88163c2fcb0eb1bb05f52cd92c51e724ed0e5ec5213fdd01e085c6c"},"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":"57709eeb96f0231ce34d7317316f6bf1b0aaa6d867bebb84cf6b3025b6b9637e"},"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":"0ae276bf60711ffdafec47cdaba4f6f915114ccf58d3bf42bc9ec29559d7f683"},"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":"f1a2362dc6057ecb06b711d87957afc733bd6abe9707585c4a7be60021de4baf"},"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":"917c3c8c222ffca313ecbecd471afc8981c4c85e8eca0bdb2d9a55b4445356a3"},"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":"4ce7f1c3f430e4475fc6cf4256847e9771d343794927c62d750837be69edb21e"},"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":"c3706fe36b3066aac36c0af3f570ab5ca318bc8c0dd5be4abae4f35332da1b72"},"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":"981354e46bc3f5b20efbf221a3d3bcd1cc5546882aa0b6889f502146cd3b0774"},"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":"45cfac7729aa68f72563d96ca002bdab1a6d34e8d6541cc9428b2b54831bf22f"},"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":"6b79c1d979de268878f11634520ffaac0aa819207ecf3c2972db628f66350685"},"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":"088dded77276af1a2875da618e0f4733324c91f2aa2bdde4ff4ef6e942df8a30"},"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":"d13290046a02415bb3d8eb1153028c707d877473472fede5c30bf76f61660317"},"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":"a213876dafd4643fb192912f61c9761e80226d9a2fdf13f442c8cd1857f91669"},"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":"ed321548dfb6e2ac2b4d65af552bbde1306b33858df31f63049f78e530f122c8"},"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":"d15b114132d7c6b8b17987facf54c533f1664c7b6b66debc85f837d62ce6d0ab"},"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":"cf8817d8c30a84702cd082006239d500dc1c708b1fe475a852c80af4c818fb30"},"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":"52d367c7f6f622ba382e79518ba0618349e5417d8a1cc132653d0b2b364aa67d"},"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":"ae4cbc8c35fe89e18b6d24116c3842632bd25d500418fdaaab80279d264a8846"},"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":"31c3f0f74f53faadf00715080c83e78b55ae215dedb34080e4153056238dbd21"},"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":"77d60558d45f43fb4ded25acf2417cf5a714a907d2c50b157577e68f9e7eb4c3"},"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":"01b02843df8bd85194e2ef8d9ae30ce6962004cf410b8e4b17ec45b5efaee5a7"},"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":"bd06d91f526891335b22d6baea9e56b9ac56ca3150ce39b4bae74dd7c4cbf564"},"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":"d2e7868266e667d63dbcdbaeb3f2bdfeee78651c277f29e3b4f705986b2bbf3f"},"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":"e08bda38010e3f5c02557954fc9bb9a2ecb53dbc487c48b6d70ec44b4f6bdb4b"},"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":"b03117963bcbf7293a314880d68912dd0c5d92f8c6868a92c965b2c7549d8e64"},"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":"11cd1eaede81d75f13299b0349b268c25217d134b425ec330af24f8f1c9fafe4"},"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":"232f2a6fdc0ec5d0c78b43ff32b7bfb246cdd0b294cf6b2d37dcbc2f538f8bdf"},"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":"22d7ac9844c7f6453b04e5fca323143e45307f640ad9136ed2d56d84d888286c"},"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":"75ed074f1d5ac7175d9e2b2bff1c6befd9e7fbdc527c764e7575007815873070"},"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":"21f8882e557254822262e10044dc06b48cbbcb18c51cd3bfed1f9689036fcac1"},"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":"8fcbe4e4085d484b522b6e5af921ab2ed42c5c02e25071c1722eb63815d7add6"},"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":"e4c93015306926552e33128fcbdb3ffece12d265f4ba3d1a20491ca9f7570def"},"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":"2eb3edd0e9cb3e4ee13072c53e47f45e4ac38a9c1506ff0a6cce3daf2a19e4f6"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0200cd11b99d1ecddd34a8000c189b87d2856f2fe8a0929ada714fc03479ed0a"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55dc1370015d9e4daaee7717d1a687d5cd66266e2f4df2342e4dbc6e153f5e13"},"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":"a9a2c6df330b06fdb1f88e90611033a41046f6773d3a3d284e3eba8b9367dd11"},"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":"9be978284d0527bf8d8b6b08325fdf86c0f7ab1ef81d2a3f463273aec0efaed9"},"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":"9e5571d104292bebcf485e41fd88e2f766654a687b28a1dc3969624b1de7b8fc"},"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":"4172dca917116d35760de11ca7e5529bd8c7fcf4b6d30d2843b96e05f13f6caf"},"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":"7ae3ff06127a11da95b7e7287da231baabe7a4e1d87c3d4392c53ba462103ca5"},"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":"bfe8488903d281a7bd38b307f218a87f71e9e6ffc4d2f2ece9813d93ed375b3a"},"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":"d7425b653c9640c3db7886c4a80db344257fa6358096ef38ccbc87e4ad36897f"},"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":"f16038533cc9da346cb5c8e6b1a1279d1e9624db4481e26b1b0c2cab52a6fbb7"},"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":"9047bae75f742f070e2f52791498976e73b096356668dfad0a11eb6f1c0057cc"},"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":"2fc1d0d25634abae9096f25a1d83a7c4c6e65b1867d35e586a3202649917ac12"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5056b9544ad5d22451729d57168338a9db1069ee00d12e158d009f3ddeecdfe"},"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":"81a6ac38db4e22849b53e5b69a189e8d35fa6d86ed69607576929ee7f4668a37"},"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":"edbef30d7969af089136d9754da4c59f53ffd4e80c6be0ea60679e28ce383249"},"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":"cace6e112bd4d30d14b72cab55ca52bf141ebb382618b487f588bcea1ce6c34f"},"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":"6f686e370ead9caa31c4c7184e8fbcc04ee046bcd9311ace9403aa50f2e5e76b"},"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":"f5e395119cffb554ccffd91e851be0650e06d0112f131adf737e0aebdd866c68"},"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":"f4663ac22ac02aad090aff126eda7397fec6468bd83e75ed285d4be1f62e1b8e"},"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":"9c2e087c908b775f810b9309c8278628e26c64fbc7b60e01513434c6d63063ad"},"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":"e6d8acef13cd7a55ff27922f0249b43234627f1d72535020698835cf10d6744d"},"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":"97ef890574f51d2e0fd283d8b7b14abed03dfebe43d56d830e438ba0fa149a5c"},"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":"2457406ec3f5e395ebe43051b6c2a2bd3d694a6c5796466a4f7b43812cc8ab95"},"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":"8cad2a74daf829bfe29abd2bfcee0658260cc7db9db72918f9e2b21c7c57545d"},"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":"4f645efd880c107f99ae09520ecfcc268f19a19309769ae0a55d890127a25509"},"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":"4eb4a8658c3cb1fab38aff69601ee020859985960ae322b4ee7e0796887da227"},"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":"bfae8f232a555e94e2f526796e96d725643967cd2d7877622f609dd4220e5ed8"},"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":"500d561d86122cc1ea07f4117554f389e2cc39d94576bf4bb0f98920fc24e7ff"},"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":"856d94879852d49c58e0e691167f32db7c84732ac828f8bc4ba8af1ab544d442"},"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":"870f746683014f3d464d453d55058d515cef9a087810b0de3d13a6844aa7a662"},"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":"bbfa1e4d2bc4f513c89299102014ab19de0c5bf3fe4b105d7b1f99e7bf755c10"},"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":"4fac06e7a882f64df4dfff78b908b8fbef4beb128cd7c29d87faec8d6bc520f8"},"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":"32a287b2cea617244a484f0e67d8ee2545513b8634937ecb34aec7eb1f9b6ff4"},"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":"ca62b13ab8b8eb604c10c1f153ec2b7612617c65851b5ae638bf36af1e1a6bc4"},"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":"cf1a54a74512767e07b151427039c0040cb96fc6da552fd19d06db16f2ba88a7"},"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":"60c817819fe6e866644c408928e2ff5fbfff77bfed62ee79f7f7f4f98c694ab9"},"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":"a75c087b1daab62cb81ad531bf0825467b23e8530ecd0bc4799bef99d5609e47"},"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":"bf58ee0eaff61c0a7b4def9ddc40b5b189525b69b0639f2b3999dbf33cd1a397"},"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":"5a2241b090624eeb9da49159e7e8999f3122f7ea2aa49c9baaabfb21881724d0"},"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":"a7ce18b1c319f6eb29c1c122c5d2f936affbb6307dfd659067ac2c3fb2294a40"},"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":"3a48b93f96b755ca2d589cbcecb5c08b56a219901b8f09733f285016545d76c5"},"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":"bbe4d8c6c7ff4ba522dfc0dc3139022d429d7195763f6481874eb7ce570163d3"},"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":"cf4451b3c203e271f8a5737c1c73fac20b8fabbdca7b70d437c0b99ecf0ef811"},"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":"78030fca8357dd520620f21cfa60b2b5af7c7dfd0fff4abbe846f8059fee2a9b"},"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":"33dcfca7cf1521b2543a51286baf05156460b78d0228c3136ac1336b0ad3d554"},"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":"3ba28e6af3a7b7da7ea6d0c63f2f805424069a9926b53e759d5f590ada44e274"},"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":"0f9784b690a242053527b723af216a9ce478cc5c340aad16809f6498f4faf826"},"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":"97c2584f868660bd89d4f3a44461315ec31e65f29c4c365fa06293cfcad10f25"},"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":"21aaf2312073e229f806383a27ba1cd7cd9d00ba02533571582919a7b25f6e9b"},"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":"f3220f6d0c988843af19dca0ef3a2fb7f50b97ef3ebdc82727aafc986ef3cb87"},"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":"dd5a3dec8398bdeaf328c3cce095375b0e1dfdb7b6cf2b7dc7c2d3215b4cb425"},"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":"ddcb6f44717909069f99d3e16998be5f4788e368b016014cd638c1b1abeaedec"},"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":"bddfb503e1c4e341dd0dca4febfa3083413f711d290d6ab6c234a98806067bb0"},"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":"f0819fe3507186d15350c8bfcfda1bc4a343848a4affbe138e7dd54b938ff1bf"},"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":"7ee0a3a65386667e941ca9841a8b5be4d821bd67cd2ea64468afca952ce8b621"},"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":"a101655ae9ca63fbc4e7ef5c7fe5a526cff9d344d120f46a964389cb5372c4c4"},"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":"1a20409ef6c46f8224e6683166b5fb49ca9419b438e72cf69828b07e82a8273f"},"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":"c22a897e008b97e083bda5776e319b0ca68936560c8b37363c4ad4f45e603121"},"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":"6138c8220b0b5cc676aa5dfc602220d180a0393edc23b5078b199d2e83e4c6a1"},"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":"e2f6dd43285619438899f6bc24de7cf1c9415f6d1dc78a06b312e0ab2aa31929"},"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":"90d7f59f093d85b03dcb09787140ebd3d431702b92b2ac254361546a0b7d9f03"},"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":"4827eb8f45e2407d67ab286aa782bcb7ea7fd8ac07a828d9073a27c1d62c3ab1"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbd9dabdbbd4ea2879ea3b0ca5bc53139e3be37dd9bf60ab3f482a323f5bc837"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cbce538ebc852acb194b298fceb508c850f5555fbf70d1c9e435bca6590db0e"},"taxa":[{"id":"CWE-310","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6a7c90f2a5706c7fc0aa317b7f70338abf2f4da4aaad4627ae73aa10ab6853b"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96228d55e74c3e168eb6eb32041897407f8b393ae8805baddd626fc312bb97e1"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e40e875df634dc0dcbe13ec18881c9357b6707fcb64438bcfdc4fc250377a913"},"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":"6767980f86378a50231eed580616f03592b096c1fc0b572d49b5e00eac9b91bc"},"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":"d1de1df5ad339f5554e6aca8e8127b84ddd24ee40fc8bc55ca3b57bdaf6c6675"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-755","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d09ad173804f5571790919a7adb6c6ff8c7d96a2e57885195df95520ca29fbf"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"963fcb9fbb1eb1e0a989adf7d5dc33e399dc2fba5d62904bd5a9a159ddb1ff07"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8dcaea7b71d55d245f2038e54b95cfe2cbbdedf1a3a7578a210dd7780fc532ca"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f28b965a237fd01e75bca51c60d850de2625909b481776d07be8c57c7c1bae9e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b750a6219afca484c0091045ce0562b41fee45d8929ef19f45d156587940172"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security 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.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba88c88c0f4da8eaa88b0cae886b4acc3bb4f750dd875a1809e63c9a06776ad"},"properties":{"dependency":{"package":"hono","version":"4.13.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.13.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8dca892e6689f1d6a9466c0bfac4bea6ddaa105e743b12997b2fa448ed1aedb"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7acb66024ada7b946476ca6b010453cb1d9166fc4dd9ff5e3c8d97c5a9080708"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"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":"0c9279f856d86ce3ef538526717ea6e95b918e18f699bb2a531d4e96227394fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"c8f6df8b4bc071ef518b09f2bd9068d9b6e7e7d1057cb9e80a843a6edb1c73d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"8b07f7579076628bd79d209a9a37ee15b3727086be16ddfbcf8b1646dd9b10be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 817 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 817 of the 1091 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: web/src/components/layout/SystemHealthBar.tsx, web/src/components/dashboard/EnforcementIndicator.tsx. 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":"web/src/components/layout/SystemHealthBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8693e9a27875f1d21da09b539f19e7ef09395ca7eaafd4d3019c56f08947829"}},{"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":"web/src/components/dashboard/EnforcementIndicator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"514dbcf1b73c34ea25ea45dd885c936aadf8f27849768d0faba5f66911595c69"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.ts \u2194 api-permissions.ts: \u0060server/src/routes/v1/index.ts\u0060 (context routes) and \u0060shared/src/utils/api-permissions.ts\u0060 (context shared) sit in DIFFERENT parts of the tree yet change together 58% of the time (19 of the 33 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u00609e46e0d1\u0060 feat: add knowledge collection source catalog (#1124); \u006071bfd482\u0060 feat: expose scoped run terminal controls (#1111); \u00604bf1b132\u0060 feat: expose durable goal controls (#1082) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/v1/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c90c7b683fc49d2726bc5082471159b748e344c65ae3a1b5293b95ed4263052"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: config.ts \u2194 clawdbot-agent-service.ts: \u0060server/src/routes/config.ts\u0060 (context routes) and \u0060server/src/services/clawdbot-agent-service.ts\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 \u006037d256a3\u0060 feat: add harness compatibility matrix (#976); \u0060f6ffa7c4\u0060 Add generic ACP stdio provider (#961); \u0060e6f21a84\u0060 feat: add first-class harness support profiles (#925) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f409a9e30d2f6cd82e1f7419d7a6b57723fe746389fb52db157c8ef7a8bb3d49"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agents.ts \u2194 clawdbot-agent-service.ts: \u0060cli/src/commands/agents.ts\u0060 (context cli) and \u0060server/src/services/clawdbot-agent-service.ts\u0060 (context services) 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 \u0060a8f74268\u0060 fix(clients): distinguish queued agent launches from execution; \u006049b03e37\u0060 feat: unify all agent launch admission paths (#1073); \u00604f8e5dc1\u0060 feat: propagate phase authority through launches (#1043) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdc4ddb95958907b0dca7c15ec51cc7212b27adaca62149947ed41f3684fd51"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: migrations.ts \u2192 file-storage.ts, interfaces.ts, sqlite-storage.ts: \u0060server/src/storage/sqlite/migrations.ts\u0060 changes together with 3 other files \u2014 \u0060server/src/storage/file-storage.ts\u0060, \u0060server/src/storage/interfaces.ts\u0060, \u0060server/src/storage/sqlite/sqlite-storage.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":"server/src/storage/sqlite/migrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0103e8b2f53dfdf5bd2018daa77b54e181a953fe850e52eeaaf16a21de0c1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: useTasks.ts \u2194 tasks.ts: \u0060web/src/hooks/useTasks.ts\u0060 and \u0060web/src/lib/api/tasks.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 \u0060f4b2c304\u0060 perf: bound board card data and large-column rendering; \u00600aa7bc8f\u0060 fix: keep board task revisions current; \u0060baf2ee19\u0060 fix: make board drag moves atomic (#1314) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0636002486a948dfde959c72c8f88b0ec7d37b310ecf28217ba0c8423e85b7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tasks.ts \u2194 tasks.ts: \u0060server/src/routes/tasks.ts\u0060 and \u0060web/src/lib/api/tasks.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 \u0060f4b2c304\u0060 perf: bound board card data and large-column rendering; \u0060baf2ee19\u0060 fix: make board drag moves atomic (#1314); \u006028aee90b\u0060 feat: add actor attribution and optimistic concurrency \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"490fe272df91cd1db2848423c1f5933307255b0af294b76d47517a7a9b8a4a7a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: server.ts \u2194 clawdbot-agent-service.ts: \u0060server/src/server.ts\u0060 and \u0060server/src/services/clawdbot-agent-service.ts\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00607abe012f\u0060 fix: harden request and logging boundaries (#1233); \u00608219fefa\u0060 feat: enforce progress watchdog decisions (#1095); \u00603450f603\u0060 feat: process durable reflection extraction jobs (#1086) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28facc77d8f684bc81b13e32816b2c0d813616e19f8e2a50f6e8bb66f70085e2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: workflow-service.ts \u2194 workflow-step-executor.ts: \u0060server/src/services/workflow-service.ts\u0060 and \u0060server/src/services/workflow-step-executor.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 \u00604f8e5dc1\u0060 feat: propagate phase authority through launches (#1043); \u0060933e4145\u0060 Allowlist Codex workflow commands (#621); \u006024b3ec45\u0060 Phase 2 Review Fixes: Type safety, input validation, security hardening \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dda32d086066224a9ac0d57f169b207c7bcda9c67d656df9d81a5906050411c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agents.ts \u2194 useAgent.ts: \u0060server/src/routes/agents.ts\u0060 and \u0060web/src/hooks/useAgent.ts\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006062fcee5c\u0060 feat: govern active Run Access transitions (#1279); \u00608dc7ecd6\u0060 feat: add effective Run Access summary (#1275); \u0060907d46e3\u0060 feat: add causal run file provenance \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb6fd70832e93a175f1ae59f1077dd3faebaa2fd58d7e58101baf8bca8e9551"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.ts \u2194 AgentsTab.tsx: \u0060server/src/routes/config.ts\u0060 and \u0060web/src/components/settings/tabs/AgentsTab.tsx\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006037d256a3\u0060 feat: add harness compatibility matrix (#976); \u0060f6ffa7c4\u0060 Add generic ACP stdio provider (#961); \u0060e6f21a84\u0060 feat: add first-class harness support profiles (#925) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddfc4a8efe76f8d57fce3155f76e31f8d522c434945ff8284df62aa036e51ea"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CommandPalette.tsx \u2194 Header.tsx: \u0060web/src/components/layout/CommandPalette.tsx\u0060 and \u0060web/src/components/layout/Header.tsx\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 8 shared commits counted here, the most recent 3 are \u00603a97f12f\u0060 fix: acknowledge native menu actions in the mounted renderer; \u00600b336996\u0060 Add editable time breakdown exports (#635); \u0060f7d44259\u0060 Add operations digest UI and filters (#632) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4edfa3aef7e0dc5bd822e4f64bd71ad1c6aef9fb2c7a57b2e3d1b46b3e139b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.ts \u2194 ViewContext.tsx: \u0060server/src/routes/v1/index.ts\u0060 and \u0060web/src/contexts/ViewContext.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 \u006045cfc822\u0060 feat: Behavioral Drift Detection \u0026 Alerting (#181) (#218); \u0060ac647853\u0060 feat: Decision Audit Trail with Assumption Tracking (#179) (#216); \u006050f76f81\u0060 feat: Agent Output Evaluation \u0026 Scoring Framework (#180) (#217) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/v1/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc8238985b47e13268243b05ff7233315a18650c77c609a735e722396ae49c9"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e56013a8962fbb9c46735162feed9a4bf87c2cff69f31bb5ae931ece453f2e9"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"web/src/components/decisions/DecisionDetail.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebf1ee4818d3dd740ae7386a474490d2b16795ef12be4b51867bf365f6d38f3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSegmentedControl\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ddf4048eb43640b52369e9ba0f6e87d60a17fa3db391b03bcc58482b216f55"}},{"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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd057682dad08305894b22d8ddb610255dc72072926e28018d1d4f6adba3d5e2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a347a89ab1776c6fe2201a5eb27934b6b1abfcca42cdfbcb7923de0a0c740be1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feb045ef2581037d0987609d6375a49a8e7a4d603f8f8e7706c701e68cbc107"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b5d64443f9fe7206b7873b6c8ccf28280c8c82c23d59c9448162d4c8d301ad"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9fa2cb04750ec03d9cecbab3ebb9620d42d526771e1a48b3b25670b4141df"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"342bcd3405538a231df371c05f437b6c4c0a8c2d1fd87b706111ec61a579b814"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e6ddb1a3714bf7a565f5cc4354a963e80b25a9bdd1b8174781f8145c13306f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8f5cd91890c38288dc9b6c5b53cc2f7eb5c8d0d3b31eebf28e3eef69ef01b3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c201b79c394e357ebd9f915c2369e1c3cc96f2f3b3e44ad58887747816e34d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"be80a8d7aadc64b30e114e07229c95491a702227c5f5a65d5dc12390d54fcf51"}},{"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":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9604a85a681a44c7a919ea964136e7d63bf44a462926258b0f5d0a9cced8f1"}},{"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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d978d05b65765adbb33078873d69f3364fd9b56a486d77ab41027856a193abcb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e33716bc0b6c718d7b985ed3541f0423087cf9363d28f2200b6c2a03f4b23f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb3fc421129b07cc50189005dc363c8131415cff2b3cfd96a0a5a740b44909e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c37422b706632846ec568c83e00cf7eef7de974dfe23f893c3eee0a92be9fd3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/layout/ActivitySidebar.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6500a5bdcd114d3577b06726d7a9fde2e29e46ea604965aa49266c5ddb138a"}},{"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":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e753887ab5db4ff1829fa0ae4c54c7760657a0da3e71942f90250433437e1e33"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSwitch\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d11160b5e4159989e9437169547cd405dc4f596a587c2e2718e7fe274cfd1c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSwitch\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16147490967660775a2b81ed85fab5d6900cd9c42fbdcf7b1e745e5a1aeb76"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b161628e3e96bfea734012d59e305f7bf48acbab6d4214401aa6f3ab5be181"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcef9543beb877ed356989da30e7924727d149ed13af250fcd6d66a2a0185c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3ba82e264dd71410b4b0aa478461d486ffe22a795222aa703121c977626b2e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5adb5604f904e50807606b060c4ad26d8808c2742fd5c1da896be4ef3c34397"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a633d5babf8999274c016b31bb7960e7d4fe380bf8484059ce0ebc9236a87057"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8270967acec10cdf8ba3e929000566e2f948be28cf62bc4a03848b78e7b14502"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d064d3496e14805bd32986dd5b5f20e239b67711b8c1550f9f67e042d5465b0"}},{"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":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86e3861cb8f7f5347821b15fcbd7e7934607daf089fb5b396a43411c458cb29"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c65f1459e0562ef668d42aa54f73f517205822c688e17ef7852e4de2202379"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"404c1bafec801f029083c04d186b8b761d8833feb5e4912f2b617e7abe9accbb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e938ae8dc63f97bdeaa3025cb414e314a7bf17ee8ec9e4333da790630e7b209d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6acc03a7482d7a31028684c8a0e1f3c57f99334e7a2bbccde8caa1313bcf43"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a974eea1d91b6f003e4985ac10af7d8d16d31d3a419ff564621abc33931079"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5105865ecd1347cc662ac1697de2702497101d8e78b0602da950e0a8c58d56b4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8437358d46c00903930f5ab85d814dd3447e62495702db24cbd08e3b6c1649"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaf79e4684859cdca28ff25f19e28cf35b0eaef7d2b071e8bf039be5969b236"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be6ff5f53e7396e3d72e4d370966c46af857af71144e2e51440e80dcee1e93c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c614984ca1d7374ad2d96234da034573cfb52ce095f5830b52124647913cde"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9762f32b9b68808a5d7fa8e8502a29255a3a73fa7b07d4a5a70c51d6927ba0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80bfea8af3165c4293ca12329dbbf3011a29cc765bb23d73c7813d5b336483f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d624599384c1392503f6dd0207b8ab947ff7df60cde1d03bf80a0a6abed1a010"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"614547ad02a1ff221182fe91adf337e1c30b1c56ddf32cf14562061edbfbdf41"}},{"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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2765f83abba041a0b82bf42661abf08e4a059a8cba23e98e1c84f984a0f785d7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bd9e338d841c9e38347fefe0004b4a8590736392bc2748366dc491346ecaba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7618101adb4ed7751aa773a8e8d5d53561f6959ed315d10e4ca8948024a5a7e1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c95f36e08029277fce2692f015eb4cce7bb3ed2f18daa1d2b3d23342f3e495"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a734ffcc70c4a3f0f3649678cbf17fb502c3af80b77efb12d2a78f7b2547f54"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad81395ca476737841030eade867f5ac8a3b2fb4f408608732bcf537bf2777fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4ef93eba81ed1779c45e41d717ff0128ed4c6a24b6aa5d1f8a28c281831c01"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9551ca04fffd050040665d8c1a914df7ebfc6d399cf5705654be6f2dfdd4a999"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ad60b49e0fe773cd83137af4168aa13b057b58d4ee12b3364e3dca052e759a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fcb189228ee9e18b4b8d5078ada8fda036a5ebb9563f67a06ed020248ab033"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0623d31eefb4aa7ec739657689fead05530eb5fb2c7cc979bbd2337e5d91524"}},{"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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c5669818194935c0023fabf8da5334862ee67b17ab9ca825b9f107bebd388a"}},{"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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"143dde60297040ce513612ea716def8188839b7019f847f0f65fff72e4e669b4"}},{"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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a049b6df44ccbae043da466fce38e5fe4b65699001bf0ea63fedbcceb07225b"}},{"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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6dfc2ded3b0a91bca916af4a6d81b369e0271b03f51fa165848bd814a8ec6f"}},{"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":"web/src/components/settings/ManagedListManager.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad6be8b9cd831a3e1cf34f84987d3d88f079089d93de9d32b7251e5ef8660c7"}},{"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 at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dd5aa8f644930a0cf6b63e287284abbe74ea37ba970fd5b2bd84d99ce226be"}},{"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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c587f7331e106a64bdc4aead58781f9ab96283cf1823636465174d7edd4cc1a"}},{"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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c0f5ffe9248b53bbcaff54c75e705d1613d3d71bd636558df0644743a5c34b"}},{"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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5af98d905fee3b1254cc2983e6838ad20579f60d8ef4b104d109fa6ff9577"}},{"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":"web/src/components/task/BlockedReasonSection.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7037f09df4c9d1a1b5ea5335b7c62eec41b405562f09fbb98e12d720a91eaf9"}},{"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":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"081e7b88bd97c08cb119f04716a6c2582ad6fa5ce52c87758d815810fe941429"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/MultiAgentSelector.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a73986cfed22bc3d0d3c261fda1dd03c87a5fcb36ccb99117651b41c4a8114"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/MultiAgentSelector.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa272c1f9122061cbc3b855d2de3b7716f213e8807e99b8a66453ceabe2dd7b2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/MultiAgentSelector.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"617376f979fdfb9f6679038610355ad765e7ebd3a78eab50c291ffe458de8e3f"}},{"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":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c675ecda13f9b0cdcfbd435c47c6799c2798e77fdc8ddf27ff450b31042e0355"}},{"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":"web/src/components/task/detail/ProgressTab.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9981b56ff984f7500278bf85d9cef6f83f87f8c7c36765c04b748eb9df98d0c6"}},{"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":"web/src/components/task/diff/ReviewComment.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d8e29856a50100640801040a4ab262ca4bedad63647beae16a098d6d5e9cea"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14f29f746692da5a3d59c3054bef85299d05c3bb71a0743b20f4732689267f0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6091c03e208f52c5de62da92bc6804dc3cbf47e13f942be601d71265bd09743"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6ded7dd7568298bbf18adf30e9627bd35072cf166813917ba31c20a987ed5c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3900bd728898fa3bbee63d9e576d9580157e64ca3461ba0a05f63544fd19e4a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8f8d5c051441379d15f8206ed63d56266e52c31cff2a23da8da981ee1df84e"}},{"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":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df334772c8e7150b723a0241b32e340a32ad8ae5a15fb794fad73bcb5a494c0"}},{"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":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"4491814a0acdedc9fb30e21d71f10cf2d12ff665cc60d80d3c999922660cd046"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSwitch\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a123dfd4ddd346d7b5f128b0df3f394a10992640ec4ad49fbea7e7e3fe56cb9d"}},{"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":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55374a486197660af3351476e67717a49b562deedd63e8f6e894099aa3ab6d5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b8aa8687207eeab13c6f66104973872da0804f23cfcacf63c35b60886d56b8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed686d8199b184ce9caee7a034d73826d84568f0f93c2c4477507bfec69efa3e"}},{"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":"web/src/components/settings/SortableListItem.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77914011a6e596a22cc6ef9752b1eae3725447f82b619a0d27b2c2536f064dd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"403db22f69e9be4275d0f07d993f6b1b007fb9a8b5ac950d5bd4657a1f27de77"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/MultiAgentSelector.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c13fa2aec6e02b9056bf9b78d40027665006fd4963d46a51f865a700dcb559"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f65c4220bf09e350092460312ef6203f98e9d21af219f5ae129543d88934b5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/StatusTimeline.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba23d1cef8f8ea2a18b554fbd7695a88eb3b82c1b30ee6f98df5f908af4b25a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.6:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/StatusTimeline.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bcaa1b5a58605d4f634bfc3e68f696394b6ebdc4844ce29ba37d6c4d88c237"}},{"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":"web/src/components/dashboard/StatusTimeline.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb051618ca2965ff42abf20729f4be7c3de2465af26d6b54fa2e37c9dfadb95f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e785df6edfea7c7b7911bda88b147e177146defc560a777cd805d62801dcf4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/docs/DocsViewer.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"677049084bf6fd4bbe27720fbef66671935b9e87e8084167be96e142db6314d9"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VeritasDesktopApi (24 required operations): \u0060VeritasDesktopApi\u0060 declares 24 required operations: \u0060getAppInfo\u0060, \u0060getConnectionStatus\u0060, \u0060getSetupDiagnostics\u0060, \u0060validateConnectionConfig\u0060, \u0060restartLocalServer\u0060, \u0060getSupportSnapshot\u0060, \u0060getUpdateStatus\u0060, \u0060dispatchCommand\u0060, \u0060pickUploadFiles\u0060, \u0060createDiagnosticsBundle\u0060, \u0060performNotificationAction\u0060, \u0060exportWorkProduct\u0060, \u0060openExternal\u0060, \u0060performTitlebarAction\u0060, \u0060onSetupProgress\u0060, \u0060onCommunicationCheck\u0060, \u0060onServerStatus\u0060, \u0060onRunProgress\u0060, \u0060onUpdateStatus\u0060, \u0060onNotificationAction\u0060, \u0060onMenuCommand\u0060, \u0060onUploadProgress\u0060, \u0060onWorkProductExportProgress\u0060, \u0060onExternalDeliveryVerification\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":"desktop/src/preload/index.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e5e44c8f2165d2d81fe49e97693c4a47316790e063144e828e31a03b01758f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: KnowledgeCollectionRepository (18 required operations): \u0060KnowledgeCollectionRepository\u0060 declares 18 required operations: \u0060createCollection\u0060, \u0060getCollection\u0060, \u0060listCollections\u0060, \u0060createSource\u0060, \u0060getSource\u0060, \u0060listSources\u0060, \u0060readSourceContent\u0060, \u0060getPage\u0060, \u0060listPages\u0060, \u0060applyPageBatch\u0060, \u0060createProposal\u0060, \u0060getProposal\u0060, \u0060listProposals\u0060, \u0060transitionProposal\u0060, \u0060listKnowledgeActivity\u0060, \u0060syncIntegrityFindings\u0060, \u0060listIntegrityFindings\u0060, \u0060transitionIntegrityFinding\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/storage/knowledge-collection-repository.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"53191ba7a21b9a003d27532246366a8b21a28a35302e3e70140954f222ca1ed5"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [retryable, terminal] decided in 2 places: server.src.storage.execution-tree-budget.ExecutionTreeBudgetLimits\u0027s [retryable, terminal] are judged in server.src.storage.admission-reservation-repository.FileAdmissionReservationRepository, server.src.storage.sqlite.admission-reservation-repository.SqliteAdmissionReservationRepository \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5e2957fd489fd3874e1d2b0f5f1fd5666678618ead6e8af8148a676fdd7abce9"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [collectionId, workspaceId] decided in 2 places: server.src.storage.knowledge-collection-repository.KnowledgeProposalTransitionBatch\u0027s [collectionId, workspaceId] are judged in server.src.storage.knowledge-collection-repository.FileKnowledgeCollectionRepository, server.src.storage.sqlite.knowledge-collection-repository.SqliteKnowledgeCollectionRepository \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"de2986c179314d5d9768a70b1544bf14c35feee241317a5a38b95092713d852d"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022changeme\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8307325a04a490f6ff0232363a7c29d44a04fa3eee9f8dea7d32680bac069ba"}},{"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/agent-host-service.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6209f3c03391479899021b676dd194c6eccff5845d40abc6d3c0e9a489958fcd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060revokeRun\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/clawdbot-agent-service.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"00262090486cda08b4206697fda030e1b8f56de9b243376823c897d311eb9b9c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060stopPreview\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/preview-service.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b49bb3a7011fe8199681f8a1ebcf5d1385767043f92d310f1f2f85d2706d27"}},{"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/run-output-spill-service.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f17cb218e2efaf4ceb91a4ecffd2009c042951c1fcd382cd1d375ba73a93bd2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return \u0027skipped\u0027;\u0060 also returns \u0060\u0027skipped\u0027\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/scheduler-service.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4b8c43093d2d49c4399bbc41af676a39801db030f29bf2bee1bc41f2ec9dde"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return null;\u0060 also returns \u0060null\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/text-extraction-service.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daf3dbaacc6652a87c02dbdb3a3ad761f44d38259fba4c1b590350c71987e96"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060validateAcceptanceCriteria\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/workflow-step-executor.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9071acf24b25a098a4e4ee9f2e7e72fddc3d7ae307fc82c8db73cb3b0549bc9c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060save\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"534e711f157832c480b50e9070962c3578a903ec803f1e92d793ea3d37f3740c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060save\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efbeec358384a0765457b2f189ec69cec250caeb2a30ad9badb8d02d8c5940e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060delete\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e66a63a6eb10fe22b9cb43196be35305682269cced19e879f93cf0762bf075"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060saveProfile\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6646a2cc6a7c55d1e76729805beef71f0bd2c069fadc1186eebd117ff3f6873"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060deleteProfile\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d734f2eef1ac9071210ebecfd6ee004e7d689982ae90b1d58b77a5d172a0d5e9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060saveEvaluation\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4baaa820b52efd0b006272b9a3d82074a78c7636f57dabb19c0b10bc830f8fd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060saveAlert\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"19120875c7969bf5399f89ad994ca41df30e8809a4ddc3ad59d3bb4843001a79"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060saveBaseline\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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9bde50636e54b77da3f3c776ff83d6f07a980623c99d812be0bfc42de53967"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060appendEvent\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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68492bad0e41c815b6ff0ceb67e5a6fd2ea4d9be170ab86b4bcfa4c9a99594a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return \u0027gray\u0027;\u0060 also returns \u0060\u0027gray\u0027\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b2b7e6584da6fdb7bcc972943cf722f981ad41c8db54b3ffbc4d2b9294adc"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060toggleSelecting\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkActions.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"80256568896d2a3d08131e5cf3458a6af1e8bbfdbf02ffc4f533c4155c73abd7"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060toggleSelect\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkActions.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1d20543e0f0405ba6dcfec2126b70677f275873eca09dd03d13e4ca37b6683"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060selectAll\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkActions.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc67337757c0079bcf0eac362f4f51c656bdfc1f434fb1984dde8dd824a8ff6"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060toggleGroup\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkActions.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b831f628b0efb71d46e39fe098840334887b10b46c6ee4fcfb6376eb8def7880"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060clearSelection\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkActions.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c37dacad22974b73cf12250a0f805f657a402577d6051d2b56d15515768de"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060switchWorkspace\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useIdentity.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0864548f4557b7c98acc53f663c20204079cbd30edcff19ddb7d55f986bbbad"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060subscribe\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/theme/MantineRoot.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccd24e1689a66db24c014eac955815b6f159f092764536017b0c65ab9f05b4a"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060unsubscribe\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/theme/MantineRoot.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cc2c1fcb9933e5f9c99ed0c9605999df4a878db954a496f52202abd65de702"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060cli\u0060 is a workspace package with 99 test(s) in 17 file(s) (e.g. \u0060cli/src/__tests__/acp.test.ts\u0060, \u0060cli/src/__tests__/admission.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":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"33785961eb944ffdd6cc756a67474cde09c8722947546436860f1bdd83840164"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060desktop\u0060 is a workspace package with 116 test(s) in 21 file(s) (e.g. \u0060desktop/src/main/__tests__/bridge-contracts.test.ts\u0060, \u0060desktop/src/main/__tests__/commands.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":"desktop/package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a76b342667a4b3cc68111be648c9d05ebacce19828c1e803098507c7415c55"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060mcp\u0060 is a workspace package with 106 test(s) in 10 file(s) (e.g. \u0060mcp/src/__tests__/agent-tools.test.ts\u0060, \u0060mcp/src/__tests__/api-permissions.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":"mcp/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bdea1b3bf38208c0f2a47fe54f687ec1484babfdda7eb45c3c40ebc1cec927"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060server\u0060 is a workspace package with 3487 test(s) in 363 file(s) (e.g. \u0060server/src/__tests__/acp-json-rpc-peer.test.ts\u0060, \u0060server/src/__tests__/acp-stdio-provider.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":"server/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30392adaa3e67a1d16ecb12eca09dddcb701ef5603cf57ddfa3712ccdb951ef"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060cli\u0060, \u0060desktop\u0060, \u0060mcp\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/middleware/auth.ts\u0060 reports through \u0060console.*\u0060 at line 269 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"428de4181c42b9da000c12d25e5743da7b161ed0ed28b3291eeee7215076450e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/config/security.ts\u0060 reports through \u0060console.*\u0060 at line 436 although other files in 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/security.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c3db3d6ed740a99ccf067a68fa478b07b60b4808ba3bb5574b6e702a13a9b9"}},{"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/runtime/run-tool-bridge.mjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bf3c0e3a4717f37bad7280dce972c622f234f678e3924961386d264d9e6243"}},{"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/routes/agent-status.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c49e3aa6dad2407eef13d3944899fe4995a2f877cce2730d9ccd6d155d22fc9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to action\u0060 blocks the event loop until it finishes \u2014 a 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/agents.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"143be8b608421ca9fe4f593afbfeee05ffce7dab7a7d1e5f8314d1b891405428"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to action\u0060 blocks the event loop until it finishes \u2014 a 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/agents.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2d8d5a68ae4f99a6d16642a3c5cc4638b66dd2ef9de007deeefef5e55b422d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to action\u0060 blocks the event loop until it finishes \u2014 a 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/agents.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"833b8d8e91bbe4bc35f00a873f1a9ff298d9dbbd17a4f14da8ed46a4e352bf55"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to execute\u0060 blocks the event loop until it finishes \u2014 a 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/tool-servers.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"678ccb4d37b585c953fe8cd0a67d070ddcb8afc8242a5bb955dbf7b27468f22b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to execute\u0060 blocks the event loop until it finishes \u2014 a 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/tool-servers.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2f491520e63dbcc69fefb70e813c5c779181a7b74961085bcd2c1697e7fa9f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to action\u0060 blocks the event loop until it finishes \u2014 a 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/workspaces.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3146e4efa93684115b19def6122778e94973dec41d0a0e26fd3d55a5f6026a05"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to action\u0060 blocks the event loop until it finishes \u2014 a 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/workspaces.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6bf1fafe3f6871313000873536024667b77e7b40738d79dabd6aa01765d319"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060fileExists\u0060 blocks the event loop until it finishes \u2014 a 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/check-coverage-policy.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"03277e299021068ce17cfcfacadb4f95552c89f626a041465971d06a6b7f888c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060inspectFile\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"799cdca72a88aa427a22413edbc3a0eea038de3e1508d2bba476dbc2062979a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060schedule\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2107818e32fbfb7c57f69a540addaa6912a949e33b13c387af070269b58958"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060executeScheduledOperation\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"30097c6a5629710a0344c5d5ce281389f0d7a4f7f1e95855f46eee36b0462252"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060executeScheduledOperation\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"e965131049ae5fb8e7dd67afff07524772f04d793d113148259263bd1101f6bd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverInterruptedOperation\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8df9f6f5070da738cd447c0e89cf2243567b0f1726743899f0c1c2163b0e4dd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060recoverInterruptedOperation\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9654b314aedf86bf5a1d7757ee9bd5bf2ae24139f3aeac107dfc4e6bf8a16b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b33aae9e70d448f44d085bc3263849b6c525c41d38765caef21423ae2d4b70b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f199f13385eac95187d468a341c4d59d979587ae2b5ab227bb072afeb003137"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060openSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"da825d2d3705acce64fd7cc7756f03b2eb263b174b0d7ed328cf64258d6ad814"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fstatSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"3466f1620c49c6de8168499ee1b6e3c3f51b8d6cefffbe58a3cb757f50aa9773"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e1dce542be17830dcbcc3c6e10aa5c49ca3a3c1c8e1fffee9310280c1e7a29"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fsyncSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7551deb8a0e3b9a00d8ddd3cfabee101aff6c59344799826941057d8798a0d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060closeSync\u0060 in \u0060appendEvent\u0060 blocks the event loop until it finishes \u2014 a 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fafd940fd4efdcb206bc30d1449ea680a31fe62e66b74ebfde146e4e39143af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (87 clone groups): 87 duplicated blocks under the repository root have copies in at least two of the sibling directories cli, desktop, mcp, scripts, server, shared (\u002B1 more sibling(s) not listed) \u2014 34 of them are reported below, and 53 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 87 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 87 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 87 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/types/workflow.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"411013b69337d58b0665969c32fa5e1a2cfcf916966f36dd62a5d598c84f1ec6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 22 sibling directories (85 clone groups): 85 duplicated blocks under web/src/components/ have copies in at least two of the sibling directories activity, archive, auth, backlog, board, chat (\u002B16 more sibling(s) not listed) \u2014 48 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 85 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 85 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 85 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":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13d38a23a541a413333306e4dddf2914ebad3711cd23290ee52cb8dfd4753ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (83 clone groups): 83 duplicated blocks under server/src/ have copies in at least two of the sibling directories config, routes, schemas, services, storage, utils \u2014 51 of them are reported below, and 32 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 83 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 83 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 83 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/telemetry-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"406e11053d58c72f7bd3dc5d379bb755031e65537ecb9eb91596186dfe42e0ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (10 clone groups): 10 duplicated blocks under web/src/ have copies in at least two of the sibling directories components, contexts, hooks, lib \u2014 6 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 10 and which does not depend on how exactly each block\u0027s copies still match. 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":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8a872d0ac52b51aa83fb7a1efbd4d704a629830b0d4e658f9745a8dd62562c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (5 clone groups): 5 duplicated blocks under scripts/ have copies in at least two of the sibling directories docs-media, native-ui \u2014 4 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs-media/run.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09fbffbfc918524997e3fb056bf0aaa3a0c209a040157ce3b7763587aebc2f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (248 matched lines \u00D7 2 locations): server/src/types/workflow.ts:10 \u00B7 shared/src/types/workflow.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 1261 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/types/workflow.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e996b6a4df0b4d120d9f8d7316b802c22548a0dc87a6b3293d6685d6d2753e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (159 matched lines \u00D7 2 locations): web/src/components/dashboard/Dashboard.tsx:279 \u00B7 web/src/components/dashboard/DashboardPage.tsx:199 \u2014 the two spans are one implementation copied and then locally edited \u2014 1095 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e1c1651d4e8267bd92547cdb4b1c393f685041c359fbdd356897ed369855c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (136 matched lines \u00D7 2 locations): web/src/components/settings/tabs/QueueMonitorsTab.tsx:41 \u00B7 web/src/components/settings/tabs/SchedulerTab.tsx:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 859 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e263c05235bf236aaf4417ff0be786fcd96d67118adbaed061b920e08991c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (135 matched lines \u00D7 2 locations): web/src/components/archive/ArchivePage.tsx:272 \u00B7 web/src/components/backlog/BacklogPage.tsx:222 \u2014 the two spans are one implementation copied and then locally edited \u2014 707 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0434740da4d31dce3d5549cff7adaef5e8ef434a98f43fed7c17804b13fe83b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): cli/src/commands/queue-monitors.ts:19 \u00B7 cli/src/commands/scheduler.ts:253 \u2014 the two spans are one implementation copied and then locally edited \u2014 842 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/queue-monitors.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0821adbd4798e8a9f85283841710e524b63e1ae3e7036be6faa1410f230d1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): server/src/services/durable-goal-service.ts:145 \u00B7 server/src/services/reflection-extraction-job-service.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 687 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/durable-goal-service.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7304d1d3f49eb26efd4bd8136f22257f02d954f1f77470edc78fd3d5daba50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): web/src/components/task/CommentsSection.tsx:62 \u00B7 web/src/components/task/DeliverablesSection.tsx:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 639 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"963da6908a0579c352dc9f3772116518190e97e10a91baf34e56406bba9d68bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): web/src/components/task/SubtasksSection.tsx:37 \u00B7 web/src/components/task/VerificationSection.tsx:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 654 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/SubtasksSection.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39ef76c1501ecf65b45e4cef711e9cd32f1723d73399c30c9e3b21b6a7238dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (123 matched lines \u00D7 2 locations): server/src/storage/durable-goal-repository.ts:17 \u00B7 server/src/storage/run-supervisor-repository.ts:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 1084 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/durable-goal-repository.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe7d02a460585ce5a9b079e2a3dbb9ff66cbf3cc6927e2dbe562f16ba13f62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): server/src/storage/knowledge-collection-repository.ts:305 \u00B7 server/src/storage/sqlite/knowledge-collection-repository.ts:332 \u2014 the two spans are one implementation copied and then locally edited \u2014 610 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eec99f01b4b98fa92a1cf0716518ab4a09b0e7b4ec7d9c89ac2bf92ded1d31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (108 matched lines \u00D7 2 locations): server/src/storage/run-output-artifact-repository.ts:33 \u00B7 server/src/storage/sqlite/run-output-artifact-repository.ts:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 681 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/run-output-artifact-repository.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"057b84451f44b08700a47a9e3d9e12e99766384d384f0517b026b6e9ba53ccc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (106 matched lines \u00D7 2 locations): server/src/storage/sqlite/api-token-repository.ts:14 \u00B7 server/src/storage/sqlite/device-session-repository.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 558 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/sqlite/api-token-repository.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f55b6035706764a03e0ca1bc1056644887a8fb8820a5e3e61a3aa2dcf0733d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (104 lines \u00D7 2 locations): server/src/storage/credential-broker-state-lock.ts:17 \u00B7 server/src/storage/worktree-manifest-lock.ts:17 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/credential-broker-state-lock.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b163dc8a928834df869967f2b7dd6279e65b130083d6eb8fa6ccbc380069738"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (101 matched lines \u00D7 2 locations): web/src/components/archive/ArchivePage.tsx:103 \u00B7 web/src/components/backlog/BacklogPage.tsx:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 609 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99fcfa0d54b05f44e24e0bf698ff79af877f6a2f6302df40f14b562cfafe6ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (100 matched lines \u00D7 2 locations): web/src/components/ui/dialog.tsx:116 \u00B7 web/src/components/ui/sheet.tsx:114 \u2014 the two spans are one implementation copied and then locally edited \u2014 485 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bdb76860ec52c8670fb95b69de30f759bb892135c6a46e2e905ea2de5a1e35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (96 matched lines \u00D7 2 locations): server/src/services/prompt-registry-service.ts:81 \u00B7 server/src/services/template-service.ts:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 626 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/prompt-registry-service.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d4d7eee5d5ccf28e0a75f8b85864f2b8f18f3c9c92e4119fe19448df24464"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (90 matched lines \u00D7 2 locations): cli/src/commands/backlog.ts:7 \u00B7 cli/src/commands/sprints.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 583 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/backlog.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a65a4a1f4215eb71cc2d621cda4cfecb4e6d0c900f96be99b7b3c1559ec9263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): server/src/services/telemetry-service.ts:164 \u00B7 server/src/storage/sqlite/telemetry-repository.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 694 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/telemetry-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c9f44d7da4ede0f406335972f799887e1fd5e32b16187bc46e5268d36c48e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2 locations): web/src/components/ui/alert-dialog.tsx:12 \u00B7 web/src/components/ui/dialog.tsx: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":"web/src/components/ui/alert-dialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691068c4d415e2cf9bc0314cd66f3e3b73c071c1a3de1201855b895e71e1d83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (86 matched lines \u00D7 2 locations): web/src/components/settings/tabs/GeneralTab.tsx:278 \u00B7 web/src/components/settings/tabs/TemplateComponents.tsx:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 417 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad55d58069e64eb0fc6ea4138733e9d32e58820983d64b2438838d362d51d50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): server/src/services/metrics/run-metrics.ts:16 \u00B7 server/src/services/metrics/token-metrics.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 441 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/metrics/run-metrics.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffef687cd31439909e833bbe4b958e60d2ebc38fd266d8ba146993b9fc9622a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2 locations): web/src/components/auth/LoginScreen.tsx:53 \u00B7 web/src/components/auth/SetupScreen.tsx:87 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3726a05430f4796801bbc4b7f04177667a4ad1824643b2115972b8e8f5abd82c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): server/src/storage/delegation-repository.ts:19 \u00B7 server/src/storage/lifecycle-hooks-repository.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 631 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/delegation-repository.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10bb42aad5938558096764911288ef42d425f56e6cabba326e7fc23390c729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): server/src/storage/dependency-circuit-override-repository.ts:25 \u00B7 server/src/storage/dependency-circuit-state-repository.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 631 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b3a4da101bb1ae7b11591f1f6fc0c356ca49c51b6baf4eae3b9e0e56872a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (80 matched lines \u00D7 2 locations): web/src/components/dashboard/DurationDrillDown.tsx:65 \u00B7 web/src/components/dashboard/TokensDrillDown.tsx:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 408 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/DurationDrillDown.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c01f96dd449aa041060fdc36bdfa972311fb734feafcdd866bb6f5a0bee6068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): server/src/storage/sqlite/durable-goal-repository.ts:11 \u00B7 server/src/storage/sqlite/run-supervisor-repository.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 517 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/sqlite/durable-goal-repository.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a0bdcb692ea1b6e8bb6c5c357a38b56bcbbe623f06dfaf400a4eaee302bcc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (75 matched lines \u00D7 2 locations): web/src/components/settings/shared/SettingsErrorBoundary.tsx:8 \u00B7 web/src/components/shared/FeatureErrorBoundary.tsx:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 374 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/shared/SettingsErrorBoundary.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0385040fc388f04e6f2652d0a130d602f16549de340d766f4c08d203f7689d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2 locations): server/src/services/digest-service.ts:76 \u00B7 web/src/lib/api/digest.ts:4 \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/digest-service.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7bf5ee7e2c9884ab7ebaaa18320257299c882ad92b615d681dcda1bd4c9761"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (71 matched lines \u00D7 2 locations): server/src/services/prompt-registry-service.ts:286 \u00B7 server/src/storage/sqlite/prompt-registry-repository.ts:124 \u2014 the two spans are one implementation copied and then locally edited \u2014 490 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-registry-service.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c921ceba002d4a3f69a7811cfc72b53c10900791027774eaad58805735ecc317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2 locations): web/src/components/dashboard/Dashboard.tsx:40 \u00B7 web/src/components/dashboard/DashboardPage.tsx: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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f8b855562f5db38dfe86cbc881e46f2a2646d6531df17425211ff7609a2d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): server/src/services/openclaw-workflow-adapter.ts:307 \u00B7 server/src/services/openclaw-workflow-adapter.ts:579 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/openclaw-workflow-adapter.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd6ccd458d846f7d21a7fc4ab0610f702475dc5d5ecc9d1e6bd717709d7828e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): server/src/services/status-history-service.ts:144 \u00B7 server/src/storage/sqlite/status-history-repository.ts:119 \u2014 the two spans are one implementation copied and then locally edited \u2014 415 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-history-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd5be19d4f408369f2a76f3eb5e34cf4fcc21827b24664dd97e771d0c35589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (67 matched lines \u00D7 2 locations): web/src/components/auth/SetupScreen.tsx:12 \u00B7 web/src/components/settings/tabs/SecurityTab.tsx:14 \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":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"766f3a17896c0c293d652087f70b86627d43e1a4c11c500c81afc033f8450d46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (67 matched lines \u00D7 2 locations): web/src/components/settings/tabs/QueueMonitorsTab.tsx:247 \u00B7 web/src/components/settings/tabs/SchedulerTab.tsx:403 \u2014 the two spans are one implementation copied and then locally edited \u2014 368 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"461cf3952d8f3ae913f31b8d6e92c0ff71b74f34e984d21e27ce4aed88302704"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): web/src/components/board/BoardSidebar.tsx:88 \u00B7 web/src/components/shared/AgentStatusIndicator.tsx:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 558 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee175f617a5d9c6a0ef8a560b44929c5998975b3149920632b28d285aa4bc31b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:822 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:1101 \u2014 the two spans are one implementation copied and then locally edited \u2014 309 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"871f7ff53f13449235b9de20acd2afa77122ab8d754dc2b20ed975025507c1b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2 locations): mcp/src/tools/projects.ts:202 \u00B7 mcp/src/tools/sprints.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":"mcp/src/tools/projects.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea5e6638a424c46a27739dbeb735e483c7c976d7ee8e5b9df57976362cee17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): server/src/schemas/team-roster-schemas.ts:25 \u00B7 server/src/schemas/workspace-capability-schemas.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 521 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/team-roster-schemas.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ffb849ce167f64ae7439ee8c7c27127b3ace8dc394cd416da59efb06d53dd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:2869 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:3047 \u2014 the two spans are one implementation copied and then locally edited \u2014 291 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"2595c313b74fdb30f123f14448ce479a97482cea4ff8b7a9bdcb84757c991068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): web/src/components/task/AttachmentsSection.tsx:176 \u00B7 web/src/components/task/CommentsSection.tsx:203 \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":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ef13fedc48ef6752af7f881dce0233deb185837fffe7192aa1f25a6388c053"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (59 matched lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:5364 \u00B7 server/src/services/workflow-step-executor.ts:673 \u2014 the two spans are one implementation copied and then locally edited \u2014 338 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/clawdbot-agent-service.ts"},"region":{"startLine":5364}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cf450205c0f7a04478639d8905ba24e495ba43e8b2a0088ce2fe8085a1823c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): server/src/storage/file-storage.ts:509 \u00B7 server/src/storage/sqlite/sqlite-storage.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 427 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/file-storage.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d430c99590980442f50feea4ac79a4e55b0c0a2077f76bf0fc149a11a0eca09e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): server/src/routes/run-approvals.ts:23 \u00B7 server/src/routes/run-sessions.ts:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 341 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/run-approvals.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab82f74c9402f80eadc6fe9e54d1c194466fbc11938a8e92c3a60ef8229827eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): server/src/services/api-token-service.ts:284 \u00B7 server/src/services/device-session-service.ts:736 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/api-token-service.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"695b952414d033cd242ed7e6cd5113c37c443266e1b96b15c9663a729e34c9df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): server/src/storage/sqlite/work-product-artifact-repository.ts:15 \u00B7 server/src/storage/work-product-artifact-repository.ts:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 358 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b7229de4267e4d8880d7258a61f58cea3b9cf60126f25c9c856767d2a746bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): web/src/components/task/DependenciesSection.tsx:164 \u00B7 web/src/components/task/DependenciesSection.tsx:238 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5778c04791d3b7a4d15ecd51dfbf40d9068f11bf479a0b988f7f489da6c8767"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:2343 \u00B7 server/src/services/workflow-step-executor.ts:994 \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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"11177ea2d04896ff274f9ae7759f656d96e6dc240e498b3d946174dc7a306658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): server/src/storage/sqlite/identity-repository.ts:15 \u00B7 web/src/lib/api/identity.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":"server/src/storage/sqlite/identity-repository.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e74d0998f1aed1f616675ff1605dc28e0f37aa3da33773b5233de8c4bd1fed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): web/src/components/dashboard/DurationDrillDown.tsx:8 \u00B7 web/src/components/dashboard/TokensDrillDown.tsx:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/DurationDrillDown.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"09703f4f6cd315b55bc9f141372bf384959def4dcc194cf36ffc03dafddabe31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): server/src/services/knowledge-collection-service.ts:334 \u00B7 server/src/services/knowledge-collection-service.ts:716 \u2014 the two spans are one implementation copied and then locally edited \u2014 274 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/knowledge-collection-service.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec6d4a4c00652bb3fa27eada71f617c74e56c4a54eddbb813896206c2c2a58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): web/src/components/settings/tabs/SkillCapabilityProfilesPanel.tsx:35 \u00B7 web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx:69 \u2014 the two spans are one implementation copied and then locally edited \u2014 287 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SkillCapabilityProfilesPanel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"84034dba8e659a40d5e8786e052a8114e56a93291e38f7621833821f15970852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): server/src/storage/sqlite/run-output-artifact-repository.ts:45 \u00B7 server/src/storage/sqlite/work-product-artifact-repository.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 235 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/sqlite/run-output-artifact-repository.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4067be483a1ffbc78808713f96b8ea3230261ebd780917ee62844ad1d00b99a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): web/src/components/workflows/WorkflowDetailView.tsx:63 \u00B7 web/src/components/workflows/WorkflowEditorRoute.tsx:53 \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":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f83a238ad7dac224637010c609ab2641070ebb250910fd57d3148915b7f801f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): server/src/routes/config.ts:133 \u00B7 server/src/routes/workspace-capabilities.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 194 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/config.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ea8e16e5e3bbc1af62b1f3a7832277b49ece7369201da4130dc2bf51273e5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): server/src/routes/task-deliverables.ts:80 \u00B7 server/src/routes/task-verification.ts:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 277 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/task-deliverables.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7016f1edead0e3e8a977c3f552afd87a84c8896c7b0a3dbb418b5017da9d08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1140 \u00B7 server/src/services/clawdbot-agent-service.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/services/clawdbot-agent-service.ts"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0d7018096e882d275d8578bca3cd36e55bb43fda95c95ee872aa9965bc181a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): server/src/schemas/phase-capability-schemas.ts:218 \u00B7 server/src/schemas/workspace-execution-trust-schemas.ts:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 265 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/schemas/phase-capability-schemas.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1496f4d31b9e895edf7681e0ffa400386f782578acc0950b3929b88a4b3bfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): web/src/components/auth/LoginScreen.tsx:162 \u00B7 web/src/components/auth/LoginScreen.tsx:256 \u2014 the two spans are one implementation copied and then locally edited \u2014 220 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9955b98a527a71dc20926444a00a1ebdece10ad9995c2d2d40445275c0df7fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): server/src/services/context-provider-health-service.ts:11 \u00B7 web/src/lib/api/config.ts:76 \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/context-provider-health-service.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"900dcc9218af562704b7a774a35d2ebbb1ec98efd9d85fa13b20fcce9d4b65ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): server/src/services/project-service.ts:23 \u00B7 server/src/services/sprint-service.ts: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":"server/src/services/project-service.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"388bff5a7e27c4996753b09f13dd91ff66a19d59c3afa8dc59ed3e669e55bf17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): server/src/services/acp-stdio-adapter.ts:927 \u00B7 server/src/services/tool-control-plane-service.ts:1743 \u2014 the two spans are one implementation copied and then locally edited \u2014 256 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"315f9260f905963bf9d46dda26a4d98cb899a5fb9b4277dd190ceaccf3aa7d62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): server/src/services/workspace-execution-trust-service.ts:203 \u00B7 server/src/services/workspace-execution-trust-service.ts:260 \u2014 the two spans are one implementation copied and then locally edited \u2014 215 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/workspace-execution-trust-service.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba25a0dc49f032e60157c1df5225815f2261437b802ef2ad01e588635852e25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:4728 \u00B7 server/src/services/clawdbot-agent-service.ts:4767 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":4728}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e72afff52536da7e27ff40a773119d88b87f006075528dd1e11b38f72e16d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): server/src/services/time-breakdown-service.ts:310 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:477 \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/time-breakdown-service.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4778bed9b5e2236767423c5c7d11293452f79e3e8c9a0021be7b0fd2cf8d513e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): web/src/components/digest/OperationsDigestPage.tsx:235 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:191 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a2be814b2a27a00eb3e52f89be33479ac8cd9e2f092fc98eb00e3ac8f25ef6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:5981 \u00B7 server/src/services/clawdbot-agent-service.ts:6652 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5981}}}],"partialFingerprints":{"codehealthFindingId/v1":"df103b6a925dee0e18d986d2117b5c93b1a06b4cacc48032a53ed89b36f06835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/src/components/task/DeliverablesSection.tsx:171 \u00B7 web/src/components/task/DeliverablesSection.tsx:419 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"731e9ea5905f5bebc702a6368c4b250cd190558826a1a602a5952e7d316136d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): server/src/routes/prompt-registry.ts:77 \u00B7 server/src/routes/templates.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":"server/src/routes/prompt-registry.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7b65aca1ef0621df9ff86fe5efba32c5cca206ccba63338cc6dda96ce455b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): server/src/services/workflow-authoring-service.ts:82 \u00B7 web/src/lib/api/workflows.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":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7d181945e7752c7de5c304d3ba4cc4a12df056678c676f63c3a4af78419a4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): web/src/components/dashboard/Dashboard.tsx:139 \u00B7 web/src/components/dashboard/DashboardPage.tsx:121 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5f19786211378b5fb26bd2deca30d8078c20062526c6a8114b08eac7c02397"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): server/src/routes/policies.ts:21 \u00B7 server/src/routes/sandbox-policies.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/routes/policies.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e196f86aff27eaa883df172fdf3210d0f9d2ab4a4416817319d2635d36171f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): server/src/services/openclaw-workflow-adapter.ts:121 \u00B7 server/src/services/openclaw-workflow-adapter.ts:408 \u2014 the two spans are one implementation copied and then locally edited \u2014 241 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/openclaw-workflow-adapter.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3350add3a6e68f769c73c1ef55a43cf3288b9f680afc0ca64ac9d3c32b2f745c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:2142 \u00B7 server/src/services/work-product-service.ts:931 \u2014 the two spans are one implementation copied and then locally edited \u2014 253 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/sqlite-portability-service.ts"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"72824c27ac4aea380e369fe237a6dc7dc58bf949a4dbf9e940abb070170cda62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): server/src/services/workflow-authoring-service.ts:34 \u00B7 web/src/lib/api/workflows.ts:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 176 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/workflow-authoring-service.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb49a37e92494bf670af80a452828630f4b346f3c33d14761a0e946cff57fc85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): web/src/components/board/BulkActionsBar.tsx:144 \u00B7 web/src/components/board/BulkActionsBar.tsx: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":"web/src/components/board/BulkActionsBar.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ad852f5fe60a16c57cae66c18f4481f1093b1494420757719f1cdbdc3bc537"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): server/src/routes/ceremonies.ts:94 \u00B7 server/src/routes/reflections.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":"server/src/routes/ceremonies.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"85110c989e98b61608d290218ccbbe089eaea7f19dfe37b55658f29417c4b0fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:137 \u00B7 server/src/services/metrics/token-metrics.ts:39 \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/services/metrics/dashboard-metrics.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff8f858d6bcfe71943fb93ed2bfdaf6885870299c29224fc54497dae97d4484"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): server/src/services/workflow-authoring-service.ts:1167 \u00B7 server/src/services/workflow-authoring-service.ts:1418 \u2014 the two spans are one implementation copied and then locally edited \u2014 134 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/workflow-authoring-service.ts"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5bbf48f7fb17d79b030ea67f65c8e9a0f27d411976df88e9248f5ce2d5cdfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): web/src/components/drift/DriftMonitor.tsx:94 \u00B7 web/src/components/drift/DriftMonitor.tsx:178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/drift/DriftMonitor.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f3d0ddb5839dfc4e0ffb59bc2d9cd8d758a271a66edeb572acfa3b35a108d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:1032 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:1223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deaf5faf153f8e584d3ad9644f78b11fb3ac4e37beab96d7f32e1c521ba01b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): web/src/components/workflows/WorkflowRunList.tsx:190 \u00B7 web/src/components/workflows/dashboard/RecentRunsList.tsx:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowRunList.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d6e96c68701ad17faa4cff3aab38a2ac6f761b4b027f1b7f7ddc937bf0cb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:748 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:1169 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7635ce34565f511e0e156fdab08d8961accd4f81f9392d7f92f818b9b1181f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): server/src/routes/error-learning.ts:42 \u00B7 server/src/routes/github.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 235 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/error-learning.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f370cf72f29f88a8436f48e1db9d7f50029f8dcdfde58efbe695e8f6389d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): server/src/routes/scoring.ts:27 \u00B7 server/src/routes/workspace-capabilities.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/scoring.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9696769431bbef71e27f05d3388e3192f03e250396ab65c45ae91acc99ff7ba3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): server/src/services/clawdbot-agent-service.ts:4678 \u00B7 server/src/services/clawdbot-agent-service.ts:4728 \u00B7 server/src/services/clawdbot-agent-service.ts:4769 \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/clawdbot-agent-service.ts"},"region":{"startLine":4678}}}],"partialFingerprints":{"codehealthFindingId/v1":"274a0aae0a5d9d34846e06103e917b8b7fc3d54e4da6b1044482297543cd4471"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6244 \u00B7 server/src/services/clawdbot-agent-service.ts:6814 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddb4612392ea84011afd786d738248d6ca6ae4c93d121dab31aa6dc909447f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): server/src/services/summary-service.ts:389 \u00B7 server/src/services/summary-service.ts:460 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/summary-service.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a5207312d84beafe3cb73a88894d87c44c790651ed0d594172c679a79e6161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): server/src/services/workflow-authoring-service.ts:1133 \u00B7 server/src/services/workflow-authoring-service.ts:1394 \u2014 both copies are in the same file, so extract the block into one function there 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/workflow-authoring-service.ts"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"034206dfc61e1e1ec133697b74ef29d3a3cbbdbb55799d887ab2453bf92f242c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): server/src/storage/sqlite/admission-reservation-repository.ts:199 \u00B7 server/src/storage/sqlite/reflection-extraction-job-repository.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 249 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d4543ec34212d21001d252e28f9a9c9de26d36c9bc4184800280507ac2e1d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/src/components/dashboard/Dashboard.tsx:209 \u00B7 web/src/components/dashboard/DashboardPage.tsx:442 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd3f1937c39632af5cb6056f323f1f9e0a82d2b596d67e9ada43319eb1d5aef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): cli/src/commands/projects.ts:45 \u00B7 cli/src/commands/sprints.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":"cli/src/commands/projects.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4712877e888d1824f5dbc1597732309aeedccfefbed2cbc24c54598b448863a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1317 \u00B7 server/src/services/clawdbot-agent-service.ts:1691 \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/clawdbot-agent-service.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b979888275f3089be477dd30460c23ab782261783c19672d196960874ee956"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): server/src/services/codex-health-service.ts:9 \u00B7 web/src/lib/api/config.ts:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 108 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/codex-health-service.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fea69ecbe43737c302590681770e08437194c640ef69c0fc2843cd81d260bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/storage/progress-repository.ts:58 \u00B7 server/src/storage/workflow-definition-repository.ts:166 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/progress-repository.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"271fed2ae08ce963a80c75c27002c108612fc32dc068173c7ead6a774b0b57bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): shared/src/types/task.types.ts:309 \u00B7 shared/src/types/task.types.ts:476 \u2014 all 2 copies are in the same file, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/types/task.types.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3d337a30237578f282f0b05db1c0795961f83edcaecbdb89f3ffa56eb535ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): web/src/hooks/useCreateTaskForm.ts:209 \u00B7 web/src/hooks/useKeyboard.tsx:249 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useCreateTaskForm.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb136a6c493def50d97bc3ebbd24f6d016cdca846bfda99cc5b7bf222f1dabb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): cli/src/commands/doctor.ts:259 \u00B7 cli/src/commands/snapshot.ts:333 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/doctor.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f0096aeecc3c55c10a9f714687536c3e3717c3cfe252748e468cc50d02e121"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): server/src/routes/activity.ts:12 \u00B7 server/src/routes/status-history.ts:8 \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":"server/src/routes/activity.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8d07e764947f1d7b4ac931224641625fa440f8fac45f5c0ee29049fb81ce13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/routes/credential-broker.ts:20 \u00B7 server/src/routes/sandbox-policies.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/routes/credential-broker.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f94e320d04b48df1c50fb685a98e0410a4fb32931d472d431aa4447c5e64b31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1275 \u00B7 server/src/services/clawdbot-agent-service.ts:1628 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b49d1e9054f952bae410733431b4125d405a01521c5b12c5462ef98b127ceaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): web/src/components/settings/tabs/QueueMonitorsTab.tsx:65 \u00B7 web/src/components/settings/tabs/ReflectionTab.tsx: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":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2638dff64282330183534e647f7bd6a48b7c77662bb07bfff54657020242be1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): web/src/hooks/usePromptRegistry.ts:26 \u00B7 web/src/hooks/usePromptRegistry.ts:121 \u2014 the two spans are one implementation copied and then locally edited \u2014 213 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/usePromptRegistry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2240c76bdbaf20ac7d1b54a492acd02f2558a1b1b0ad8e98e0f50f81c7389da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): scripts/smoke-cli-mcp-compat.mjs:72 \u00B7 scripts/validate-release.mjs:241 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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-cli-mcp-compat.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c5aa7e0f054a4d5bed7ffd9d7ae797995c9f782fabf709dafba33be4d1ecba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): server/src/services/agent-profile-package-service.ts:214 \u00B7 server/src/services/team-roster-service.ts:215 \u2014 the two spans are one implementation copied and then locally edited \u2014 180 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-profile-package-service.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f149220af7645c1a285acd7ae4d97d8fda8249b1278d0b895be2b08f45d2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6339 \u00B7 server/src/services/clawdbot-agent-service.ts:6906 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b457ae956464facc27dc33a93259d43c99a80d07ed2fb3ef0f9387a16296ab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6388 \u00B7 server/src/services/clawdbot-agent-service.ts:6957 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15fd89c196cc38985210fbdf3fa0fa8b42d685fa2f94d7f4e2b2dfabf773cc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): server/src/storage/audit-file-repository.ts:19 \u00B7 server/src/storage/sqlite/audit-policy-repositories.ts:30 \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":"server/src/storage/audit-file-repository.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e1bdb3e9671c13b267b7bd7d448aa5ae7eac130793eb0295fc6b576923f76c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/storage/ceremony-state-repository.ts:48 \u00B7 server/src/storage/scheduler-state-repository.ts:175 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/storage/ceremony-state-repository.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79b0248a271d1354f450ac07d5d11e4f998c4c81a4fb36368c78c6e30fe0b5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/storage/reflection-state-repository.ts:44 \u00B7 server/src/storage/transition-hooks-config-repository.ts:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/reflection-state-repository.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee32e296447cc079c572a7680888339a6c267271e12bacd2b625ff8390468d3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/storage/sqlite/admission-reservation-repository.ts:315 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"35756752aa927115485655e96ac9e637e5f5050095010912b90fa9fc59f70aa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): web/src/lib/api/entities.ts:77 \u00B7 web/src/lib/api/entities.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":"web/src/lib/api/entities.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6371c29890fe554c0fd56151794b32d49f64dae63bda3b426652a684254dbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/schemas/durable-goal-schemas.ts:15 \u00B7 server/src/schemas/run-supervisor-schemas.ts:29 \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/schemas/durable-goal-schemas.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b7a02ce5af69fd39c6c99fc51533aaef7fa194a05740782dbe88fdf2da9491"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1190 \u00B7 server/src/services/clawdbot-agent-service.ts:1511 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9c060dcb64913dffe1eed1e895313cd7cf67e48178b1387c709b118b6af41a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6304 \u00B7 server/src/services/clawdbot-agent-service.ts:6874 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6304}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce2daebe81bd42120dd7c8fcbc41d87ec98f40f6de9df5458ef31584c25c8f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): server/src/storage/phase-transition-repository.ts:43 \u00B7 server/src/storage/phase-transition-repository.ts:163 \u2014 the two spans are one implementation copied and then locally edited \u2014 281 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/storage/phase-transition-repository.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"738bd81b2f5bbc8c535f1129d158692e1f019c641f1c93f0d3093e65affeb0bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/src/components/ui/alert-dialog.tsx:232 \u00B7 web/src/components/ui/alert-dialog.tsx:259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/alert-dialog.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf5cc7d44b9972cb243d1f43306f7b1ce031560544bf6c767644befbd0c562c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): server/src/routes/identity.ts:118 \u00B7 server/src/routes/identity.ts:198 \u00B7 server/src/routes/identity.ts:257 \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/identity.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bb1f76d2ba0d22ada1789b1e296d429cd4657153f2dec22c0a0953de323c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): server/src/routes/scoring.ts:30 \u00B7 server/src/routes/scoring.ts:70 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 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/scoring.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78028d9f7c3deea933296e3b538f62d45a41bff07227008f5cb67b024dd30ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/services/decision-service.ts:19 \u00B7 server/src/services/feedback-service.ts:122 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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-service.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5eb443f7dfd3c7c1604464e8b18c13e8d7fed555f111fb9e0c827def0cfd9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): server/src/services/feedback-service.ts:205 \u00B7 server/src/services/scoring-service.ts:369 \u2014 the two spans are one implementation copied and then locally edited \u2014 183 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/feedback-service.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9af03e6a5db24b6700ab3c351aa8512684eebf6c4af87bce658a789fc8fb40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): web/src/lib/api/queue-monitors.ts:11 \u00B7 web/src/lib/api/scheduler.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 171 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/queue-monitors.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b98d3b215ef8cc69ccafba659ceaf90dda202c642e1e4e097ec4def18d3ff62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1218 \u00B7 server/src/services/clawdbot-agent-service.ts:1544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e721a8eb00b2c6e18e1632791d23eba6ee32fd30cefd90bd5f7628532684e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): server/src/services/policy-service.ts:99 \u00B7 server/src/services/tool-policy-service.ts:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 163 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/policy-service.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"476ed026232652128fdc2a1882e3f6482d7f6b17ca61c197176110d6351eddb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/storage/admission-reservation-repository.ts:549 \u00B7 server/src/storage/admission-reservation-repository.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/storage/admission-reservation-repository.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d5c9474b1f98aedb7142cd93043890e192bdf156a80335c37b6d786645bdc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): server/src/storage/agent-permission-repository.ts:101 \u00B7 server/src/storage/delegation-repository.ts:73 \u00B7 server/src/storage/lifecycle-hooks-repository.ts:63 \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/storage/agent-permission-repository.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fa6490dc897bac4ed93cab14413375c0d7f0698c8ed51fc7dc1efd573cbed1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/storage/sqlite/managed-list-repository.ts:271 \u00B7 server/src/storage/sqlite/prompt-registry-repository.ts:384 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/managed-list-repository.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e6316a39071c7853ffcfc382c267080c01baa2681dd37a1982b40364a8f698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/src/components/workflows/WorkflowAuthoringPanel.tsx:962 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:1103 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351d3b9b2b30128d5111a2f1a329cbf6b7261f0b27320fe7388af332998d4ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/src/lib/api/identity.ts:266 \u00B7 web/src/lib/api/identity.ts:301 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/identity.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"955200d860a7e25e9c44b24f6b6d4ce990626bd3bc28af8fa87656a79f0a2644"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/routes/workflows.ts:722 \u00B7 server/src/routes/workflows.ts:773 \u2014 both copies are in the same file, so extract the block into one function there 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/workflows.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e4cc45b900d54f1bc422b36f20ad83245cdeb75f263435d5046dafaa6e1353"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/api-token-service.ts:92 \u00B7 server/src/services/device-session-service.ts:234 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/api-token-service.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb62e5c90a74abc02eb70c97804f41055a31a7285c902540c5ef76b25b501a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1243 \u00B7 server/src/services/clawdbot-agent-service.ts:1595 \u2014 both copies are in the same file, so extract the block into one function there 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/clawdbot-agent-service.ts"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5213504b342c9507f3dc70a2436896a71e5922ab23c1591f63dfa33e7870131"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:7112 \u00B7 server/src/services/clawdbot-agent-service.ts:7305 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e96d60316ce8cc575d3fc1f10eacc3e645712faf56395a24c6385a0b4b735a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:894 \u00B7 server/src/services/scheduler-service.ts:877 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/queue-intake-monitor-service.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7495e3bc611b809a21ea006cde8746af09f016c56ec6413dda02e7e4d8c076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:1689 \u00B7 server/src/storage/sqlite/telemetry-repository.ts:259 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/sqlite-portability-service.ts"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"8378c3a081c80d27429a18b4261ed1f02e2ef9ebb62b612b2cd9c54c3973eba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/src/components/board/KanbanBoard.tsx:683 \u00B7 web/src/components/board/KanbanBoard.tsx:725 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1e1e0603c2fab168279708fde66256768b022d4099f555d8e36dca8d89073f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/src/components/settings/tabs/BuzzConnectionPanel.tsx:478 \u00B7 web/src/components/settings/tabs/NotificationsTab.tsx:553 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8071178cdd35af505ce5d62606dcd29e6a53d9b1d166188f0d0215605b359a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/src/components/task/ConflictResolver.tsx:191 \u00B7 web/src/components/task/PreviewPanel.tsx:101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7626515d012db9b003c28786da1c7e582e1a969e0ef57adb4fd69a3fd1838d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): server/src/routes/feedback.ts:98 \u00B7 server/src/routes/goals.ts:195 \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":"server/src/routes/feedback.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be23e05ddb28905354ba237edc3e2c702cdaaf5cc93daba29c5e20c0a053542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/buzz-communication-service.ts:235 \u00B7 server/src/services/buzz-compatibility-service.ts:533 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-communication-service.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f48acd95f867f67d74ebddfd224d4546ae6d3f822d28021618d4b624d18e09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:2819 \u00B7 server/src/services/clawdbot-agent-service.ts:2979 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":2819}}}],"partialFingerprints":{"codehealthFindingId/v1":"033168958c79ec32b110568bb7ae7a5cbb8eff48503c1f986d5e185cc50d3d3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/outbound-integration-service.ts:655 \u00B7 server/src/services/workflow-step-executor.ts:946 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/outbound-integration-service.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6976aca6c89d47d0acf594ad7db5e514a48d56af6d86ee1f41263f4de838ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): server/src/services/run-recovery-coordinator.ts:700 \u00B7 server/src/services/workflow-run-service.ts:2216 \u2014 the two spans are one implementation copied and then locally edited \u2014 179 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/run-recovery-coordinator.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cdbe34e7544c8514feb21508912dec631859dce64398dbc092bedeb6434c31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:2425 \u00B7 server/src/services/workflow-run-service.ts:2482 \u2014 both copies are in the same file, so extract the block into one function there 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/workflow-run-service.ts"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bba3dfa3b5bce05a1fdbd7509068f02b4a58b0a3f210fa328bed33a29cd157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): web/src/hooks/useEvidenceTimeline.ts:8 \u00B7 web/src/hooks/useTimeBreakdowns.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 151 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useEvidenceTimeline.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27daae5eb6745df86dabffe68571cf63dfdaa5fd0889bd74e1b0176d3f62325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): server/src/routes/auth.ts:558 \u00B7 server/src/routes/auth.ts:826 \u00B7 server/src/routes/auth.ts:911 \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/auth.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d3dbabd73586576a53557f33445a1d178b9109a1d613796c12b326198e9dd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/routes/automation.ts:23 \u00B7 server/src/routes/automation.ts:66 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/automation.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a383c458a96b01460ef8576c93da7a81d17717775eb0fe15bb2971738771f515"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/routes/goals.ts:59 \u00B7 server/src/schemas/durable-goal-schemas.ts:108 \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/goals.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9b5720b78bcd186a1bfb17d8933f8cf7952ed395321078e9bd4ced8bc4d21f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/routes/identity.ts:225 \u00B7 server/src/routes/identity.ts:291 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/identity.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"adedaba1ea685e2b251d123f9fe7f73b7e7d8951497f6486e04548026c236606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:490 \u00B7 server/src/services/communication-adapter-service.ts:989 \u2014 the two spans are one implementation copied and then locally edited \u2014 151 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/communication-adapter-service.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0862662f7eb6715c07083e27092f8354ac053dce7015c555b7bf58d42b37b926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): server/src/services/doc-freshness-service.ts:31 \u00B7 server/src/services/pdf-report-service.ts:391 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/doc-freshness-service.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"821faefb43e395ea1588e3f5322bfebd6e2a7da5a640fff52a7e7d8c901685f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/policy-service.ts:692 \u00B7 server/src/services/workflow-service.ts:395 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/policy-service.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb60dd548e324a4308b7d4d7863587e7ac1f734d40c8f88fe1bdf8d055a52b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/worktree-service.ts:288 \u00B7 server/src/services/worktree-service.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/worktree-service.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b9500b14f84fa5ae31f2060900d08e1546ede0dfb5d38c00523daa873da3e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/storage/admission-reservation-repository.ts:511 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:510 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ccfd6ea00109e4abe5aaa1673d3c7a967af39a207572c1e675270bdf0d63fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): server/src/storage/run-approval-repository.ts:56 \u00B7 server/src/storage/sqlite/run-approval-repository.ts:98 \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":"server/src/storage/run-approval-repository.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"189442b134ecab921eba2590c811949ab749db3eb07bddf56a2f6bf34d83d8e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/components/workflows/WorkflowAuthoringPanel.tsx:997 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:1159 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"85741e6ff0b1777c594a2e9ace3d84c5c02c399a8492d715d7c55f75de586eef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/hooks/useBacklog.ts:88 \u00B7 web/src/hooks/useBacklog.ts:121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBacklog.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"df20a27eda87f1356bdba6e257275e48dd13405cd479feee042782703c526210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): cli/src/commands/github.ts:67 \u00B7 cli/src/commands/github.ts:120 \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":"cli/src/commands/github.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822fd7827895ad85dee920ce26fffe7affa00dc94f79527bde4d6d9aa06cfde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): cli/src/commands/tasks.ts:197 \u00B7 cli/src/commands/tasks.ts:226 \u2014 both copies are in the same file, so extract the block into one function there 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/tasks.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf9a507bced673c3ee1dca51c08d50752aa34bd02b9a849e1666a74dd5671db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/smoke-cli-mcp-compat.mjs:147 \u00B7 scripts/smoke-cli-mcp-compat.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-cli-mcp-compat.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bef382e95bc427a747c2b5f4693bbcbcc810dc9ee133f89c4a735808fed7530"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/auth.ts:475 \u00B7 server/src/routes/auth.ts:498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/auth.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1f51bbd3c4b641461c0c3727dc0a732415339860d05c992d293b41dfc0922b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/attachment-service.ts:307 \u00B7 server/src/services/attachment-service.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/attachment-service.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da3bfc500ff8e3313f1241ee88dcd7c1b8125e527cc616df80375334a65c449"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/knowledge-collection-service.ts:698 \u00B7 server/src/services/knowledge-collection-service.ts:774 \u2014 both copies are in the same file, so extract the block into one function there 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/knowledge-collection-service.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"021606a5eb13a281a649200807c2f609b4457186dfe2c871108ffa4c42f869e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/run-launch-manifest-service.ts:371 \u00B7 server/src/services/run-launch-manifest-service.ts:391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-launch-manifest-service.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68ee32c814bd1cde7cd79d12116b1b367d7dea9f9bf9fae2ed33f6efd24a67f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1151 \u00B7 server/src/services/workflow-run-service.ts:1283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"284e4f4b03c1008de7effa9cd96dea4fd439bb0ce1066d937edf7f46bf65964b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/storage/phase-transition-repository.ts:221 \u00B7 server/src/storage/sqlite/phase-transition-repository.ts:148 \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/storage/phase-transition-repository.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2996eaf36d9997b92e86f64779d77cdd0c6917cb46831df16fea131387f5b4e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:1155 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6bf66d282e4fa2328fab787402838d7eda6271288e066c12ed201599f24db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/components/settings/tabs/SchedulerTab.tsx:138 \u00B7 web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx: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":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae9bef93c5f13d1cc036d6ac130cd197f53130a875b42c50cab99a5d2015cc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/components/task/ApplyTemplateDialog.tsx:92 \u00B7 web/src/components/task/CreateTaskDialog.tsx:130 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc83b32fbc544174da37100ad377265112ee4886e038ced1795e6435f93cee8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/components/templates/TemplateEditorDialog.tsx:351 \u00B7 web/src/components/templates/TemplateEditorDialog.tsx: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":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8253f43ddbacf9324d9503ee20f21cb1acf03e00ef6ffdbe5760412815bd621"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/components/workflows/WorkflowAuthoringPanel.tsx:940 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:1080 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b0ed28ae00d3646a86d1fca0af46d354534afcc2e782d73610fd95a5f319ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/lib/api/integrations.ts:92 \u00B7 web/src/lib/api/integrations.ts:335 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/integrations.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca4207a74b8d4f6b468dc2b1a1796934c8991150adda34d42d42beebe2ea7e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): cli/src/commands/backlog.ts:72 \u00B7 cli/src/commands/backlog.ts:95 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/backlog.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"11293c45de696a62e1fa3dc5ef07de8363cc8d4a2888bcbaa35bdc33b24e3d9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/auth.ts:292 \u00B7 server/src/routes/auth.ts:334 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/auth.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dcbb7f488181aac9fd2d363a15bf78fbffd9b3c2e2cdee68ae84b187d68fa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/conflicts.ts:24 \u00B7 server/src/routes/diff.ts:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/conflicts.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9ad8e1dd1efa5ec7c9e740b4c9ddfb8ec3fa53ea174023b7788f352626b358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/tasks.ts:1491 \u00B7 server/src/routes/tasks.ts:1556 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tasks.ts"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"941b896bc47bb99f97e12d8b83a7d79bd0f6c3fe176a1da939093aac82d13a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/schemas/worktree-manifest-schemas.ts:37 \u00B7 server/src/schemas/worktree-manifest-schemas.ts:74 \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/schemas/worktree-manifest-schemas.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1a0d8850fe332d8014b9d05f0b6e410c0012209daae697cd0553653e56f387"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:170 \u00B7 server/src/services/scheduler-service.ts: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":"server/src/services/queue-intake-monitor-service.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed85dcbe6074e1807e0f121968f23533ab019b62a8ddcc4f2a52836c4e1f1368"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/storage/admission-reservation-repository.ts:207 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:397 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/storage/admission-reservation-repository.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"be628b984b132ea4e807d07671e3d4fa824e49a21e0798d91f478256e86ec068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): server/src/storage/admission-reservation-repository.ts:381 \u00B7 server/src/storage/durable-goal-repository.ts:68 \u00B7 server/src/storage/reflection-extraction-job-repository.ts:93 \u00B7 server/src/storage/run-supervisor-repository.ts:58 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f5210f3b5c0793d54e851672933580cb52738234015e1166effdd361599a4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): server/src/storage/knowledge-collection-repository.ts:223 \u00B7 server/src/storage/knowledge-collection-repository.ts:273 \u00B7 server/src/storage/knowledge-collection-repository.ts:380 \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/storage/knowledge-collection-repository.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"75922a7e90c22dc5ec4df5e9acd2bbdf085bd64557438c18a851f4dee21baee8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/storage/sqlite/durable-goal-repository.ts:33 \u00B7 server/src/storage/sqlite/run-approval-repository.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/storage/sqlite/durable-goal-repository.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f1036a94bd2a7e22108e6f07950eec77a1eb9e74e7f4b3021814a4621ba1b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/utils/codex-env.ts:22 \u00B7 server/src/utils/hermes-env.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/utils/codex-env.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a72fe8389746bfe99a94777d34b3b7a93f33806974b3fa3edd5f5d6c01ad9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): web/src/components/prompts/PromptRegistry.tsx:152 \u00B7 web/src/components/prompts/PromptRegistry.tsx:202 \u00B7 web/src/components/prompts/PromptRegistry.tsx:309 \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":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554fff3a6a08bedb0583765e4b49c75ebad6685ab8494a024df1657135e72f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): web/src/components/settings/shared/SectionHeader.tsx:62 \u00B7 web/src/components/settings/tabs/SecurityTab.tsx:183 \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":"web/src/components/settings/shared/SectionHeader.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"089ff89f0ab61aca058fbc9c667e5046d4ed1d351607592724994030c054a318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/components/settings/tabs/EnforcementTab.tsx:107 \u00B7 web/src/components/settings/tabs/EnforcementTab.tsx:126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/EnforcementTab.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"14806812ec609283a9c7c780c27cb101d2883e750cd56b32aece0139d9a7c502"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/components/task/DeliverablesSection.tsx:145 \u00B7 web/src/components/task/DeliverablesSection.tsx:401 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d02dc7d4e1dbbcbc02d1541140fcb679f59ada14a9a9f5f3c616dd19b2967b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/components/workflows/WorkflowDashboard.tsx:128 \u00B7 web/src/components/workflows/WorkflowRunList.tsx: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":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dbfb963bf028703d1b9356ba7ba08f9374af034935199690b293562a3c4956"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): cli/src/commands/agents.ts:554 \u00B7 cli/src/commands/workspaces.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":"cli/src/commands/agents.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dc35ed7f9fdaccdc42e98e9e13220353cd98a0c8b851ab8e087ba4f12ea58a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): cli/src/commands/automation.ts:10 \u00B7 cli/src/commands/automation.ts:34 \u2014 both copies are in the same file, so extract the block into one function there 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/automation.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc56d8341b2a012f22f35b5c0806fc879f7d273253fe52bdcb6e8d79c6618a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/config.ts:50 \u00B7 server/src/schemas/agent-profile-package-schemas.ts:25 \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/config.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc5b6d52da981a19fb8ed4535ae8f48d0ca25512f634850b8f421cb7937d38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): server/src/services/run-egress-gateway-service.ts:349 \u00B7 server/src/services/run-egress-gateway-service.ts:422 \u00B7 server/src/services/run-egress-gateway-service.ts:485 \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/run-egress-gateway-service.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2ba07ad1cbe8884832f40c3693d816e7817ba18859a92f8df743d0ddb03cf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/run-supervisor-service.ts:381 \u00B7 server/src/services/run-supervisor-service.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/run-supervisor-service.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd398317745b83e860383f24c0f2a4a3c1e700fe71dceaa69212c55de51dbf4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1114 \u00B7 server/src/services/workflow-run-service.ts:1231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"17664bfa9c8a44575b8d48731d6d7607407e32658a26d34be8c010be2795dffd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/storage/admission-reservation-repository.ts:170 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:174 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/storage/admission-reservation-repository.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9864ef5b2aca8453633b89ad275627dba36692c8377bbd28bf2579b8ad6eda14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/components/scoring/ScoringProfiles.tsx:188 \u00B7 web/src/components/scoring/ScoringProfiles.tsx: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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b89c12e761e5c9acaf0050a0ecd20ab6b33e931aa72f5f21932b0655f35eafa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): web/src/components/settings/tabs/MaintenanceTab.tsx:119 \u00B7 web/src/components/settings/tabs/SkillCapabilityProfilesPanel.tsx:120 \u00B7 web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx:228 \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":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9030b453769446e62e457a1457d43e3da26900b42c1e14e896ad194ad9ef50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:946 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:964 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a01a3854039c5e49398cd00352ad5a87d5c693a0c2acdd88b855823b4db33b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): web/src/hooks/useBacklog.ts:151 \u00B7 web/src/hooks/useTasks.ts:465 \u00B7 web/src/hooks/useTasks.ts:518 \u00B7 web/src/hooks/useTasks.ts:556 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBacklog.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"14000e1bf1d0c10e2b031801f3b85aa2d3e62823625e8c43dd4249ebd3e4d21b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/hooks/useMetrics.ts:104 \u00B7 web/src/hooks/useTrends.ts:49 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useMetrics.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd8ea2a345a28defa3d8ba6954e39518b7d7b7583c9d62aee142af847ba8d0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): cli/src/commands/admission.ts:95 \u00B7 cli/src/commands/admission.ts:223 \u00B7 cli/src/commands/admission.ts:257 \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/admission.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1eb0ada923490575ae51fbfb5c61a26d592e0fab8c8c69f6e6a0ed89907eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): cli/src/commands/agents.ts:207 \u00B7 cli/src/commands/agents.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":"cli/src/commands/agents.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdc29dbd48e8a72d5d6046d65e15031e92b0e0473ca5d78af43bcbb09d970dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): server/src/routes/shared-resources.ts:56 \u00B7 server/src/routes/shared-resources.ts:75 \u00B7 server/src/routes/shared-resources.ts:105 \u00B7 server/src/routes/shared-resources.ts:125 \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/shared-resources.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f17ba324d209d280524a64b376ba4de4860179dc3a0562e71437c194d8d654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/transition-hooks.ts:120 \u00B7 server/src/routes/transition-hooks.ts:150 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/transition-hooks.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a1b1d4bbf7ab00c366b0d0f6a40e0c77ac86398800a867bf541ae4650e76ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/schemas/phase-capability-schemas.ts:408 \u00B7 server/src/services/phase-capability-service.ts:398 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/schemas/phase-capability-schemas.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac419a76e66742630b1b5056a5437a908511e385add1c8e96944ecb370fade9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/buzz-workflow-trigger-service.ts:426 \u00B7 server/src/services/communication-adapter-service.ts:2164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-workflow-trigger-service.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b27b4573fc16eb4de7f3533420392053cba18064a9931c4e59c553aea30d12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/claude-code-adapter.ts:334 \u00B7 server/src/services/codex-app-server-adapter.ts:246 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/claude-code-adapter.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a975a5a9c58b39017dce2cda158e1841802dfb3d34dd2a53bccb8a1449df6694"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/claude-code-adapter.ts:494 \u00B7 server/src/services/codex-app-server-adapter.ts:931 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/claude-code-adapter.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"32436647f93fd189bbc347b2057c5024bdcd2aac67c024b380e17d597abf7768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6132 \u00B7 server/src/services/clawdbot-agent-service.ts:6711 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6132}}}],"partialFingerprints":{"codehealthFindingId/v1":"733b4c901d724b63b7e715ccc138f59bcddfdfc7da370bc25bba8a3fda088ded"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:172 \u00B7 server/src/services/metrics/run-metrics.ts:80 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"109772ec08dd7d58dcb903de14f655116f5cff201c3abe74beede8a2d36dd578"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/phase-capability-service.ts:23 \u00B7 server/src/services/phase-launch-authority-service.ts:39 \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/phase-capability-service.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6d93042bdd782d80f5c81eae9a655ead4b9093997c0e9c6915d3e9912109ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): server/src/services/scoring-runtime.ts:63 \u00B7 server/src/services/scoring-service.ts:51 \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":"server/src/services/scoring-runtime.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a965fcc089364d8ba28ebbaf33d19a03172e3ebb03098e0c1fb333d1a2d2b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5 locations): server/src/services/search-service.ts:618 \u00B7 server/src/services/search-service.ts:682 \u00B7 server/src/services/search-service.ts:756 \u00B7 server/src/services/search-service.ts:816 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/search-service.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6d0835ec76a7ebf4ae962a8a72ee003f27649f44a4a456d61e6598e4128048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): server/src/services/status-history-service.ts:86 \u00B7 server/src/storage/file-storage.ts:311 \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":"server/src/services/status-history-service.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afde83f8fff163ad008d66715a48655d2da7778900aa6932f481fc5da30f094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/task-service.ts:1997 \u00B7 server/src/services/task-service.ts:2019 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-service.ts"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13bdbf16a9962c8f80f6d04467c5089a712216ef192f14e92361b432323e06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/tool-policy-service.ts:129 \u00B7 server/src/services/workflow-service.ts:30 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-policy-service.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5002c14c6e3ce5b6878abc05e85ad2ca10a2de92f3134b490fd25e76fb20bb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:153 \u00B7 server/src/services/workflow-service.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/workflow-run-service.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcf0d11f35c7c24255e6cc964b52106b04bd49d5b0dd42d9e5ee96576ca3083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/append-activity-repository.ts:249 \u00B7 server/src/storage/sqlite/activity-repository.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":"server/src/storage/append-activity-repository.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b63248ed2d581d8eb14ebab08e46be5edd7530f62b7619e4da1edd3cd30ac4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/ceremony-state-repository.ts:83 \u00B7 server/src/storage/scheduler-state-repository.ts:206 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/ceremony-state-repository.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7549c0e6e8e0d5c84915ce3be7c6767e7d929a3c2c39c127a23b79366a00962"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/error-analysis-repository.ts:87 \u00B7 server/src/storage/status-history-repository.ts:21 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/storage/error-analysis-repository.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5842f9e29ff0c27fe37d4165bff66eaaff4f53c538a364243fbdd38cf36250da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/sqlite/activity-repository.ts:112 \u00B7 server/src/storage/sqlite/status-history-repository.ts:279 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/storage/sqlite/activity-repository.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a024ad18dc3dfccfbe6b50dc4cd94199bf5b2f9b7a82b8839dd0991ffc5498"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/sqlite/run-output-artifact-repository.ts:158 \u00B7 server/src/storage/sqlite/run-supervisor-repository.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/storage/sqlite/run-output-artifact-repository.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"addbe3e40966075395909f2b40ea9270e36a28b9eac17bc697b8d3cb436e4c7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/transition-hooks-config-repository.ts:39 \u00B7 server/src/storage/workflow-run-repository.ts:191 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/transition-hooks-config-repository.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7c77f231b8a10270a9fb1d4ca5cb931c418aa96d8bd5779c0091f134e45835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/storage/workflow-execution-file-repository.ts:62 \u00B7 server/src/storage/workflow-run-repository.ts:147 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workflow-execution-file-repository.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e493ea34718bcad1002546de46a7f4ae7826b4575c0a13b7071bd818b0da4e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): server/src/utils/url-validation.ts:83 \u00B7 shared/src/utils/remote-destination-policy.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 127 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/utils/url-validation.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1edec7a9ee1b7e3e29f3bd34a73506a40fd0b667c62f33260d75ef93005401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): shared/src/utils/format.ts:35 \u00B7 web/src/hooks/useMetrics.ts:134 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/format.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f042df4aa4ad6e01c8e89a863ebeb244aa711460248027984361d5bd50f89a7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/activity/ActivityFeed.tsx:96 \u00B7 web/src/components/layout/ActivitySidebar.tsx:166 \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":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ce5a22891ea59ad73d0427a19a3682c628f712d55e62b521d82f7e3115e9fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/chat/ChatPanel.tsx:198 \u00B7 web/src/components/chat/SquadChatPanel.tsx:476 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e225914a8d00a969bb1800370bc241f2323c33ae2696c7c7da071b247cb8a9ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): web/src/components/dashboard/TrendsCharts.tsx:81 \u00B7 web/src/components/dashboard/TrendsCharts.tsx:143 \u00B7 web/src/components/dashboard/TrendsCharts.tsx:198 \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":"web/src/components/dashboard/TrendsCharts.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd8e4a96182598df250829ca3079723bed0efb8f0bd18e53727708175d67660"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): web/src/components/decisions/DecisionDetail.tsx:46 \u00B7 web/src/components/decisions/GovernanceTraceDetail.tsx:33 \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":"web/src/components/decisions/DecisionDetail.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"301d600f11c27a0b8b4d26b2ac92bf8af7c35939506f834a9682b3f9d42caf2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/digest/OperationsDigestPage.tsx:752 \u00B7 web/src/components/evidence/EvidenceTimelinePanel.tsx: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":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"299e3300435a83c7ed3738e8528247acd03f98879a3363be5b9d84a55774a94e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/evidence/EvidenceTimelinePanel.tsx:484 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:445 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d636a663d5580084288f0ac79322b147db5a66ead311a429ffa74b36df4569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/scoring/ScoreExplorer.tsx:130 \u00B7 web/src/components/scoring/ScoreExplorer.tsx: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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6b089c44a57e45cac01bec9448e9b9dc940b82891ed73958a3b630cdf29b1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/settings/tabs/TasksTab.tsx:85 \u00B7 web/src/components/settings/tabs/TasksTab.tsx:113 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TasksTab.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567e9096bcdb09ddcd6ec86d1de843bfab943a846f6cc20de041852eb2c8787"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/task/ConflictResolver.tsx:389 \u00B7 web/src/components/task/ConflictResolver.tsx:409 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201842bad1353ef389ad33b134e852bb740079a47618624600d59ea1f3cf018"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/task/RunModeGateSection.tsx:78 \u00B7 web/src/components/task/RunModeGateSection.tsx: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":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ef018bca9da9ffb4333f2245a0c9218f06d31416ffdb8797418cc498d120d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/task/TimeTrackingSection.tsx:190 \u00B7 web/src/components/task/TimeTrackingSection.tsx:208 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad51c8d5409aa757a98fa2658421aa066b73b1181c78f881602fb4b9e44fb98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/workflows/WorkflowDashboard.tsx:222 \u00B7 web/src/components/workflows/WorkflowRunList.tsx:101 \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":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71fcd42d39103e8b83d19a6969495399cb3e9483cfd6b806d224b3b136cfe0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): cli/src/commands/workflow.ts:67 \u00B7 cli/src/commands/workflow.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":"cli/src/commands/workflow.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"81826fdffc9939111655da195f14ccba47387f82bb4bf998226b71f45aab8ad6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/check-coverage-ratchets.mjs:20 \u00B7 scripts/run-coverage.mjs: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":"scripts/check-coverage-ratchets.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a1dea54d7b7d30f866e9f8ddf74a5a7eba7e154e060f5c7bbaca2e5076d968"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/routes/integrations.ts:275 \u00B7 server/src/routes/integrations.ts:492 \u00B7 server/src/routes/integrations.ts:554 \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/integrations.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5518ac6eb54e9e0054bcd7c415f0a991085d6779e3b7eb420530d4efb20b8557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/managed-list-routes.ts:36 \u00B7 server/src/routes/managed-list-routes.ts:55 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/managed-list-routes.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b433841afb818c20d6072fd39c4e3a4a4b095198a8c59274a42163e46375a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/routes/managed-list-routes.ts:67 \u00B7 server/src/routes/prompt-registry.ts:94 \u00B7 server/src/routes/templates.ts:182 \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/managed-list-routes.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf87d711fb571a20f592c43090ed84c0603f403f761690fc1143fd3a33be3f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/shared-resources.ts:111 \u00B7 server/src/routes/shared-resources.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":"server/src/routes/shared-resources.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e60e3cba7dca605898554e2faab65b62ecaa196db6efafe70fb508951a6c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/transition-hooks.ts:239 \u00B7 server/src/routes/transition-hooks.ts:318 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/transition-hooks.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe45ca960793790d3f678c0e698597f3c50fcb7a69cbf52fce45b6df40b3c06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/work-products.ts:74 \u00B7 server/src/routes/work-products.ts:374 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/work-products.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"651ea1152196201255e50caba80c857995efb3194bbb7b6c195185838fc3bbad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/server.ts:963 \u00B7 server/src/server.ts:1025 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7a4a3ba375d6506a3ba6be20b28d185f2576efffa4907e0ff71d6dd72cbd94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/acp-stdio-adapter.ts:158 \u00B7 server/src/services/acp-stdio-adapter.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6baf78e7ecc5cdb41ac820dd3a67c34805831a232a55721fc096079838232d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/services/acp-stdio-adapter.ts:649 \u00B7 server/src/services/acp-stdio-adapter.ts:709 \u00B7 server/src/services/acp-stdio-adapter.ts:775 \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/acp-stdio-adapter.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1fb6eb881d2bf554269912a9676328be63cd5381052a8c6e4848e1866d04c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): server/src/services/agent-permission-service.ts:303 \u00B7 server/src/services/error-learning-service.ts:171 \u2014 the two spans are one implementation copied and then locally edited \u2014 132 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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-permission-service.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0373ce97f9d26cffb7da27242e68658e4ccb26d2a963bdf58e16b1ad020a3083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/broadcast-service.ts:312 \u00B7 server/src/services/broadcast-service.ts:339 \u2014 both copies are in the same file, so extract the block into one function there 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/broadcast-service.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ca76b686cd91a1c8a340c9654edfcd29883285de27e628763a5cd58a30fa07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/buzz-communication-service.ts:209 \u00B7 server/src/services/buzz-communication-service.ts:304 \u2014 both copies are in the same file, so extract the block into one function there 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/buzz-communication-service.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b9c7d4c927c3cb8890f7a445b4ae4452f83e83559c95e6abd075fbade7221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1118 \u00B7 server/src/services/clawdbot-agent-service.ts:1421 \u2014 both copies are in the same file, so extract the block into one function there 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/clawdbot-agent-service.ts"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a73146f08b6ff8a968387bc3dd6d3a7cc0c69592ebf0ae6a7c81d73c46f219e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6370 \u00B7 server/src/services/clawdbot-agent-service.ts:6938 \u2014 both copies are in the same file, so extract the block into one function there 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/clawdbot-agent-service.ts"},"region":{"startLine":6370}}}],"partialFingerprints":{"codehealthFindingId/v1":"543ac2c8f5a37f5889b2d3e3fe2ade0110f6f40addbe1d581e487e323d4d90e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/credential-broker-service.ts:663 \u00B7 server/src/services/credential-broker-service.ts:780 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df715070a926275488dfd6049eb3bb0b7d174b458b5f8fdeea0072da21e7011"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/external-tracker-service.ts:447 \u00B7 server/src/services/external-tracker-service.ts:573 \u2014 both copies are in the same file, so extract the block into one function there 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/external-tracker-service.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad7625bd69c2fb231ca7313f90d2f53239b00bbb48c2940f1a1a58164b0098c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:119 \u00B7 server/src/services/metrics/run-metrics.ts:59 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/metrics/dashboard-metrics.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c92289e4e84382df847f4c4277e50c58ae62bb3503bb659f520cfb9a04c84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:1083 \u00B7 server/src/services/queue-intake-monitor-service.ts:1100 \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/queue-intake-monitor-service.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"905e20460d9cd0dd43bc6b838638ea763246185919293188bd6329d345530b54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/run-egress-gateway-service.ts:326 \u00B7 server/src/services/run-egress-gateway-service.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/run-egress-gateway-service.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f45d3616d4583b7428278fd8813dfeec7093e88e5e2450b43a70123ec67507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:1793 \u00B7 server/src/storage/sqlite/chat-repository.ts:254 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/sqlite-portability-service.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0c7db64f01036124aec2603302c3ee1524d4f5b63d97a5a608075fe1d207b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/summary-service.ts:443 \u00B7 server/src/services/summary-service.ts:509 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/summary-service.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b75419e95cb0a0cfc1057303f3acb413523ef8f92d402304e2834ba7299e631"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): server/src/storage/admission-reservation-repository.ts:431 \u00B7 server/src/storage/durable-goal-repository.ts:85 \u00B7 server/src/storage/phase-transition-repository.ts:79 \u00B7 server/src/storage/reflection-extraction-job-repository.ts:110 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b93157f85b948ea4735bff45138157b22c84507bba56c2e42e2157f88385fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/storage/sqlite/durable-goal-repository.ts:116 \u00B7 server/src/storage/sqlite/run-approval-repository.ts:146 \u00B7 server/src/storage/sqlite/run-supervisor-repository.ts:117 \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/storage/sqlite/durable-goal-repository.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0102f65a3a36b5a8db20b852f8e74a8498e9b0f37575e013d113379852faf4c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/storage/sqlite/knowledge-collection-repository.ts:155 \u00B7 server/src/storage/sqlite/knowledge-collection-repository.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":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc7a3183f9d909281246474275af73c5aee3a6de868de987fa557b68b1a84ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/storage/sqlite/sqlite-journal-policy.ts:86 \u00B7 server/src/storage/sqlite/sqlite-ownership-lock.ts:66 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/sqlite-journal-policy.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b92bc5b4334f04dbd9107874cda4d8e108b8de351ea22af25fd1076e24e22f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:1724 \u00B7 server/src/storage/workspace-checkpoint-repository.ts:1741 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38b98c29d2326fac2e6b8b301d8c36d07f6a1283e3183961135f50ba439fb82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/dashboard/NeedsAttentionQueue.tsx:978 \u00B7 web/src/components/dashboard/NeedsAttentionQueue.tsx:994 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc5878a562f236ca3c1be40c77fdc26e0b227cebf21338c4dcb05f5bc2eeca6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/evidence/EvidenceTimelinePanel.tsx:499 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:542 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"363262ea590ad499519009a408176855a0a2206c6143530053be65513a76294a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:1203 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1435 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccf7259d161b03e48804205f73aa026e332df7595b0534ad682540dff44ece8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/src/components/settings/tabs/AgentsTab.tsx:2097 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2925 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:3151 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7327f8a311d84354b551505f55c0af5dfc746c20954bafaa3b951f5e195f1c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/settings/tabs/TrackersTab.tsx:244 \u00B7 web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx:134 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54bcd3239b05206aa9806a98309175b75ee01d4c78e5162968190f0e5ac920c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/workflows/WorkflowRunList.tsx:118 \u00B7 web/src/components/workflows/WorkflowsPage.tsx:308 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowRunList.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a22caa4351bea9ca1a1d9afe2743f57253261d091a052209c6becb4184af28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/hooks/useTasks.ts:257 \u00B7 web/src/hooks/useTasks.ts:597 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb04d0213a736e5029b5609688e43dc32f379872da9ee5bb5f6b9d7a562edc54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/lib/api/ceremonies.ts:11 \u00B7 web/src/lib/api/reflections.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":"web/src/lib/api/ceremonies.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcf5516721316a4124441bf03f66a14bc2ab2b1ff97dbbe15f9d18258a8ede4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): web/src/lib/feature-settings-writes.ts:168 \u00B7 web/src/lib/task-save-writes.ts:228 \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":"web/src/lib/feature-settings-writes.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdb22dc495f8ac3ddf153fb815b7364422035a8a72374d4008ff0ba04498efe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/chat.ts:371 \u00B7 server/src/routes/chat.ts:394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7e40939ed84074adf4081c280e941589d8dc7c3cea54af70eb338979801d56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/credential-broker.ts:56 \u00B7 server/src/routes/tool-control-plane.ts:103 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/credential-broker.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b188e815e0e40b5db936c8ab055cd8843d28d3fa909de0bf75ac3d1d5aa4c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/decisions.ts:156 \u00B7 server/src/routes/governance-traces.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/decisions.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b2a7759445983d708632eeb7194439a7f3562047cbdaef93d6ddae36a5ab4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): server/src/routes/projects.ts:11 \u00B7 server/src/routes/sprints.ts:10 \u00B7 server/src/routes/task-types.ts:13 \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/projects.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c29553b5b123fa2e6710d85a0b790698bb533b474ddc4b17984d9db83c265c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/run-terminals.ts:190 \u00B7 server/src/routes/run-terminals.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":"server/src/routes/run-terminals.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4074c77fecdc61580c115a4c91e88a8642838ab0b79e7a9bfb5dccefbe8c04de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/search.ts:26 \u00B7 server/src/routes/search.ts:53 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/search.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b6213b54ac699b51b3f823442288d8be98f208f01a4e9decec1b0f4585a5da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): server/src/routes/shared-resources.ts:24 \u00B7 server/src/routes/shared-resources.ts:58 \u00B7 server/src/routes/shared-resources.ts:77 \u00B7 server/src/routes/shared-resources.ts:107 \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/shared-resources.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5562d6424eff060803b65d86937025cc938d77f43764510fb36ac6fba9a2110"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/skill-security.ts:64 \u00B7 server/src/routes/skill-security.ts:83 \u2014 both copies are in the same file, so extract the block into one function there 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/skill-security.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b6eacf885f8da327e862dd424e170d1c9008a4391121485daab5b49f6b3bcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/task-archive.ts:97 \u00B7 server/src/routes/tasks.ts:686 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/task-archive.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"23adce63138401e1e77f1567e376cf80f0025f73c027602a49e2d7ec69da4d55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/server.ts:925 \u00B7 server/src/server.ts:944 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4be9ee8fea1ccd35643165d6fd99b29dce7a0152aeb4ddeac8e94745b2db78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/acp-stdio-adapter.ts:791 \u00B7 server/src/services/acp-stdio-adapter.ts: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":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ca919f9114a9704947ae0976324bf898264273046858ab4988a49de47e327f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/admission-control-service.ts:2083 \u00B7 server/src/services/admission-control-service.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/admission-control-service.ts"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"6793c44eddbd17964ccb00a1d345950cc8eef61fccd8760c9e0f651c13f3dc48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): server/src/services/backlog-service.ts:133 \u00B7 server/src/services/task-service.ts:703 \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":"server/src/services/backlog-service.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"da351ad2da3fda3d43c15c4f4d1e913fb21ab132958b88f4fc6e45dd4ce8cdce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): server/src/services/buzz-compatibility-service.ts:120 \u00B7 server/src/services/buzz-compatibility-service.ts:149 \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":"server/src/services/buzz-compatibility-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0e73a3804d8fe28c32632fc279e1e4653da9c1ba6fba4a583e34178f2f63f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:910 \u00B7 server/src/services/buzz-definition-import-service.ts:1117 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"be82b3c0a33f9cdff607459e5db65dcd2dfa33708f8dd4510b0838c75433e58d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:336 \u00B7 server/src/services/tool-control-plane-service.ts:76 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdcbabe385d5bb0c158c7fb66dbcac6259c36a39c97713aef624c56c96aac67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:5604 \u00B7 server/src/services/clawdbot-agent-service.ts:6606 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ededdff861082e285ef78ded2bf7fbfdc673659436328e977f10f9591860680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:9387 \u00B7 server/src/services/workflow-run-service.ts:2776 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/clawdbot-agent-service.ts"},"region":{"startLine":9387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecc8c8f1dd5290be243bb5e43b759f861ce7d36d274964b136e95aa50706c7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/harness-support-profile-registry.ts:343 \u00B7 server/src/services/harness-support-profile-registry.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":"server/src/services/harness-support-profile-registry.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"717a86a48af936b2959fce39fa658907e13142550c434db82b48bee722ab17c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/openclaw-workflow-adapter.ts:428 \u00B7 server/src/services/openclaw-workflow-adapter.ts:663 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/openclaw-workflow-adapter.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2708655ca5ebe33c3c3cac3207956d38a15ef22cd94abff840e6cd5912e691f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/progress-watchdog-service.ts:282 \u00B7 server/src/services/progress-watchdog-service.ts:341 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/progress-watchdog-service.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a384908f2853299a3f16e096a427697d5b7a122709b140217dab0af5a785c80c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:273 \u00B7 server/src/services/queue-intake-monitor-service.ts:289 \u2014 both copies are in the same file, so extract the block into one function there 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/queue-intake-monitor-service.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"709a21d7cab068ec00a9b09c09524b81c1d5aed98414a7195286d0941b50a57d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/template-service.ts:184 \u00B7 server/src/storage/sqlite/template-repository.ts:42 \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/template-service.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c22ff55c907f51901d0ce5b440e0c295feac3a44e6d70e39886e1b5ccfaf9ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:852 \u00B7 server/src/services/workflow-run-service.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/workflow-run-service.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecd76f486403ca7e4ce653b4f3f2b3dfb27afa93223dd3fef64bd2e9f9a0a9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1216 \u00B7 server/src/services/workflow-run-service.ts:1358 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd7d4d4e36a2c3ee04fad7a5cc0502b85464c3e7db5455111b6839af8c00df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/worktree-service.ts:849 \u00B7 server/src/services/worktree-service.ts:1040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a5a30a3bbdefd7f0570addb8399887d6e35431a21d2f1dc53f10d909c73810"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6 locations): server/src/storage/admission-reservation-repository.ts:604 \u00B7 server/src/storage/durable-goal-repository.ts:144 \u00B7 server/src/storage/phase-transition-repository.ts:129 \u00B7 server/src/storage/reflection-extraction-job-repository.ts:169 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f1d113a91a68ef16950a7f392972f23e6c4b87dc88f9b06ea9c1ebbf807c47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/storage/broadcast-repository.ts:78 \u00B7 server/src/storage/progress-repository.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/storage/broadcast-repository.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef011852e641b5e771b86d91463bc4fc9469f01d0468112a3387b5adff7ee358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/storage/chat-repository.ts:470 \u00B7 server/src/storage/workflow-execution-file-repository.ts:98 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/chat-repository.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89d20e25f8ab523d47675df77571bfc0f7ca9d359fccb53e1a7dd68cf43839a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/storage/dependency-circuit-override-repository.ts:121 \u00B7 server/src/storage/dependency-circuit-state-repository.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/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc5095517087e0a01c6974d6cd377990e9158132d453cea033913b2bb535939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/storage/sqlite/audit-policy-repositories.ts:299 \u00B7 server/src/storage/sqlite/workflow-repositories.ts:153 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/audit-policy-repositories.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5dcfe8109165e6fcf9c3dc23af4b6b8eb1e9dbc4b6a42b9d6632c7142e0c4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/storage/sqlite/knowledge-collection-repository.ts:595 \u00B7 server/src/storage/sqlite/knowledge-collection-repository.ts:704 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc26400ae08ec19dd1ca676e15e86d5bf502cae1b7e02616d804d9e5174ac10f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/board/ArchiveSuggestionBanner.tsx:77 \u00B7 web/src/components/board/SprintArchiveSuggestion.tsx:87 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/ArchiveSuggestionBanner.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5af5710b991c19828572d0bd556506e795d0f37ab4f95144530872418cdaee0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/digest/OperationsDigestPage.tsx:798 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:591 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"00342b2a126b558f29d4b71d1ad63906fdff6aa5b2186ba81f5c19dc769a9138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/evidence/EvidenceTimelinePanel.tsx:163 \u00B7 web/src/components/time/TimeBreakdownPage.tsx: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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7206416145490d703202c15aa2772bd9b654e6e93b497510c723e6fb55a72100"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/scoring/ScoreExplorer.tsx:235 \u00B7 web/src/components/scoring/ScoringProfiles.tsx:904 \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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a502030e270a7a9d2317915077b53dcaca266c455c0d95630df18d512fbca64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/scoring/ScoringProfiles.tsx:736 \u00B7 web/src/components/scoring/ScoringProfiles.tsx:794 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931c188f032cc2fb7f840b714450f8f30ececdc1608acf0f76400adac0d88a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:194 \u00B7 web/src/components/settings/tabs/GeneralTab.tsx:157 \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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dd3b1e40005a00c0d1d911df27dc91a585e221c97b2a7dcddcb3689bfb6da8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:718 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx: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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0acde0dbadc78d56038dccd53395320505894964f3694f50bb30b5703f3bce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/task/ApplyTemplateDialog.tsx:444 \u00B7 web/src/components/task/create/TemplateVariableInputs.tsx:24 \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":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"46db9cc5fc78455f1ba2be3998beba21f30bd2361ab71ed2a0db3cde7ec84d4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/task/CommentsSection.tsx:27 \u00B7 web/src/components/task/ObservationsSection.tsx:31 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a61a4be6b36b323810eb044544aeb5a48e03a911c74304eec281e7a118c61d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/task/DeliverablesSection.tsx:291 \u00B7 web/src/components/task/detail/TaskDetailsTab.tsx:274 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a07a129584b01a7887145b0f427eac148c104d611596894b27b002fc0dd51a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): web/src/components/templates/TemplateEditorDialog.tsx:280 \u00B7 web/src/components/templates/TemplateEditorDialog.tsx:316 \u00B7 web/src/components/templates/TemplateEditorDialog.tsx:345 \u00B7 web/src/components/templates/TemplateEditorDialog.tsx:374 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ff46622bd9189855f86e52007f51c792426c293a8d4e7f2034c8b685ada3d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/ui/UiVocabulary.tsx:45 \u00B7 web/src/components/ui/UiVocabulary.tsx: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":"web/src/components/ui/UiVocabulary.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e0c0d4550c477fb8c21931d12cb58f835dba231656a36339790633070b129e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/hooks/useAgent.ts:208 \u00B7 web/src/hooks/useAgent.ts:224 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAgent.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1d388ea259cbbf8b5c231d68dfdd8c683385c65470518b97b967083256fc10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/hooks/useAttachments.ts:19 \u00B7 web/src/hooks/useAttachments.ts:38 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAttachments.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b65f198e3cab9f3f0b92f4c9530a40685aa4c2a02379715d0173c6bcb53c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/hooks/useTimeTracking.ts:31 \u00B7 web/src/hooks/useTimeTracking.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":"web/src/hooks/useTimeTracking.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f25c4d060a7c06756aa68997f70b4f7601a779c38410785426025122c72613b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): cli/src/commands/tasks.ts:44 \u00B7 cli/src/commands/tasks.ts:126 \u00B7 cli/src/commands/tasks.ts:182 \u00B7 cli/src/commands/tasks.ts:211 \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":"cli/src/commands/tasks.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cef02c84870304c6dfa1390efa9385075b82bd033281f14db2d004cefc05cb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/commands/time.ts:22 \u00B7 cli/src/commands/time.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":"cli/src/commands/time.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"337bb628939d1bfc044ff0ad4614876f37fba07efca5284344dcdc95b2f5f807"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): cli/src/commands/workflow.ts:21 \u00B7 cli/src/commands/workflow.ts:151 \u00B7 cli/src/commands/workflow.ts:195 \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/workflow.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"380c9e61ced5ea2cf4112dce67e3db4a6dca1e6af9d6ae1f81cf082abbf38b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/commands/workspaces.ts:84 \u00B7 cli/src/commands/workspaces.ts:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/workspaces.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"067405f8e6229065ed9a3e6c908f721916074e6fc6966cad7528a5ae81cbeb6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): desktop/src/main/process-supervisor.ts:106 \u00B7 server/src/services/run-egress-gateway-service.ts:827 \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":"desktop/src/main/process-supervisor.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"294b53ee41e96c7b6192661a7b54d8f0aaef9b9d377b59338bcccdd686265c44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): mcp/src/tools/projects.ts:294 \u00B7 mcp/src/tools/sprints.ts:267 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp/src/tools/projects.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c826e3ccc1adf669a4aee0f21cd44ab4cd511bfa22b53ff34e4ea6cdfdca03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): server/src/middleware/local-agent-capability.ts:3 \u00B7 web/src/lib/client-policy.ts:1 \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":"server/src/middleware/local-agent-capability.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8d039505ed37839e18d03a2f5dfe1df44591ee364c8f33b2b86cce5ca82301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7 locations): server/src/routes/admission.ts:115 \u00B7 server/src/routes/admission.ts:130 \u00B7 server/src/routes/admission.ts:146 \u00B7 server/src/routes/admission.ts:162 \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/admission.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3557b19d953c158fa11ff6a58c674c4227bcc963ee1a17948776811bddaa87a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7 locations): server/src/routes/agent-routing.ts:169 \u00B7 server/src/routes/cost-prediction.ts:85 \u00B7 server/src/routes/docs.ts:36 \u00B7 server/src/routes/error-learning.ts:79 \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":"server/src/routes/agent-routing.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"342629375cbda0ad9ca48c817f114ab804c24465346671ca6c27a5e58a171a47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/agents.ts:300 \u00B7 server/src/routes/agents.ts:678 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d586bb585ea2e8317128ada7ffceaca6a490318dd0037b9ffabd6f21a2b47a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/config.ts:397 \u00B7 server/src/routes/prompt-registry.ts:167 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/config.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebefc57f9efd8758a588fb96e6e99d0fa9409abf955e4803522e06311f46221d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/routes/decisions.ts:86 \u00B7 server/src/routes/decisions.ts:101 \u00B7 server/src/routes/decisions.ts:123 \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/decisions.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a63e74c2bb2f3c95fa16ba6dee35464f933a85f6065a949d4d081c6dbf9df4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): server/src/routes/health.ts:185 \u00B7 server/src/routes/health.ts:243 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17b2feb8bf60c78612a0721da7d363253ec6458eb35397f20f17ddbc26ae8c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): server/src/routes/knowledge-collections.ts:86 \u00B7 server/src/routes/knowledge-collections.ts:137 \u00B7 server/src/routes/knowledge-collections.ts:208 \u00B7 server/src/routes/knowledge-collections.ts:307 \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/routes/knowledge-collections.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e296148bea50bf7acf40a22949953dc94f790956824b1e42dae2f7d5a45dc35c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/maintenance.ts:26 \u00B7 server/src/routes/sqlite-portability.ts:17 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/maintenance.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbd9eb6a13bf070d7373d3ff87de62710bb64730b78f172af3aabd7abee7ac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/maintenance.ts:165 \u00B7 server/src/routes/maintenance.ts:210 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/maintenance.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"036fa852c75ea812229f456bee7693f0d4a54485f789b0d673551d6da254f6cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/routes/workflows.ts:124 \u00B7 server/src/routes/workflows.ts:565 \u00B7 server/src/routes/workflows.ts:619 \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/workflows.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c35bf6d13f4b21904b8adc8e54007941f9f499e2ca8d0fc1486cda4a5ceca68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): server/src/schemas/feature-settings-schema.ts:416 \u00B7 server/src/schemas/watcher-policy-schemas.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 124 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/schemas/feature-settings-schema.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaca180913ccd9186ae2066a57511faa961f787a075dda2be6f2d7b1385ff2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/schemas/work-product-schemas.ts:51 \u00B7 server/src/schemas/work-product-schemas.ts:69 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/work-product-schemas.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade31db459778c4e349b6a77b960e6779b067264e23ae620b6537bcb7c4aac9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): server/src/services/activity-service.ts:131 \u00B7 server/src/storage/append-activity-repository.ts:192 \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":"server/src/services/activity-service.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2f803e5afc3179d1dda0356f50407feec4e97c9af9a955a1fe63b875c4994"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/admission-control-service.ts:614 \u00B7 server/src/services/admission-control-service.ts:1600 \u2014 both copies are in the same file, so extract the block into one function there 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/admission-control-service.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad0d67a7b346e79a7a3c5c057b5968bc42a032fa273d38ef107b13889f3ba61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): server/src/services/admission-control-service.ts:191 \u00B7 server/src/services/run-supervisor-service.ts:122 \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/admission-control-service.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb78041a5269cd0f34392e8f605e0abe06795ad6f7f1b7bb9e289b949b8918d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:952 \u00B7 server/src/services/buzz-definition-import-service.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/buzz-definition-import-service.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b313afa25cdea585d5337bff7476d3a7a136d658b1e17c9f7a343ec137afdbb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:1301 \u00B7 server/src/services/buzz-definition-import-service.ts:1374 \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/buzz-definition-import-service.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08891599827537944b8b64e102f9612a0c3e7c11b597838f6eda27369b9937a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): server/src/services/clawdbot-agent-service.ts:5556 \u00B7 server/src/services/clawdbot-agent-service.ts:6481 \u00B7 server/src/services/clawdbot-agent-service.ts:7170 \u00B7 server/src/services/clawdbot-agent-service.ts:7450 \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/clawdbot-agent-service.ts"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c3c827808a358f3e57ffe5ca90b7afe7a1dd7d0bdd52a7a7e153b93c186ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:706 \u00B7 server/src/services/communication-adapter-service.ts:739 \u2014 both copies are in the same file, so extract the block into one function there 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/communication-adapter-service.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691aa430a03e6db2aba9062f496ffe8f788bb6055f5f5b4ff806b79efcb25fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:1397 \u00B7 server/src/services/communication-adapter-service.ts:1416 \u2014 both copies are in the same file, so extract the block into one function there 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/communication-adapter-service.ts"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79346f6c1c1a630d6e366d47aed1348b16886fe0bff3173ca0bb9b0c6ee208"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/dependency-circuit-registry-service.ts:234 \u00B7 server/src/services/workspace-checkpoint-service.ts:104 \u00B7 server/src/storage/worktree-manifest-repository.ts:111 \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/dependency-circuit-registry-service.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9679f5292f8bf6a6f2f77ec0fd880480a91385df9e67a42e39177d7a3deb719e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/file-lock.ts:32 \u00B7 server/src/storage/credential-broker-state-lock.ts:17 \u00B7 server/src/storage/worktree-manifest-lock.ts:17 \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/file-lock.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee3bedb2e06945b3e7cedcf697bcb9c91f9c392c7845e9e598f7d9cfe31f11b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:533 \u00B7 server/src/services/metrics/dashboard-metrics.ts:569 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcdf4fb5b009f443f3832efe8b658216e1e32c9c37de67a10bc6a2a7f36f599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/openclaw-workflow-adapter.ts:270 \u00B7 server/src/services/openclaw-workflow-adapter.ts:546 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/openclaw-workflow-adapter.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b715676a3e3557c767792e33747f82c9e1e7a7381e97a1c48d262c23c0eb3285"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/prompt-registry-service.ts:316 \u00B7 server/src/services/template-service.ts:218 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-registry-service.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f734b725855dcb9d2892cdf6cea0fbc9d34ea275b434a0b99654acecd316b16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/reflection-service.ts:408 \u00B7 server/src/services/reflection-service.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":"server/src/services/reflection-service.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a6e7654d9e319541e80c58612106340e3e9be00a3d1248c72cb7380b2437c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/run-supervisor-service.ts:760 \u00B7 server/src/storage/sqlite/work-product-artifact-repository.ts:19 \u00B7 server/src/storage/work-product-artifact-repository.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/run-supervisor-service.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f63a75b6e2f89a28108746391b8770dc8afc5f1701576b10072bc76363ff8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/scheduled-deliverables-service.ts:421 \u00B7 server/src/services/scheduler-service.ts:971 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scheduled-deliverables-service.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"23636489287739b255c093f255a3fc7f6e0b6600869d22fdc6af0f5878c13761"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/telemetry-service.ts:74 \u00B7 server/src/services/work-product-service.ts:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/telemetry-service.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"79714e43a61b70daf95c4ffd9f8526fcddb98b0ab3c212d73f3b8733635306c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/workflow-authoring-service.ts:1206 \u00B7 server/src/services/workflow-authoring-service.ts:1431 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bc331526c2628fc789bdb882faa23d45cdba39083396467103ad4859280201"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): server/src/storage/admission-reservation-repository.ts:233 \u00B7 server/src/storage/admission-reservation-repository.ts:258 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:423 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:448 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4507257d4334c3d88770774d3b7013b88ad320cf5d3b67699cb43dd678f08251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/storage/sqlite/admission-reservation-repository.ts:54 \u00B7 server/src/storage/sqlite/admission-reservation-repository.ts:140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"668f7c45fa279e5668eb59a69586b4124a21c5bb4f3d52158e71a56574afdb00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/storage/sqlite/knowledge-collection-repository.ts:361 \u00B7 server/src/storage/sqlite/knowledge-collection-repository.ts:545 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"2884c95fe2a47941fe409d516e6a2656d28273e9d91fc283a390f69b2a52e48f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/storage/sqlite/sqlite-ownership-lock.ts:154 \u00B7 server/src/storage/sqlite/sqlite-ownership-lock.ts:203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/sqlite-ownership-lock.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ba3850b300be833f82ba231e23705862cdd0013e3530c85687deb6a8ae8f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): server/src/storage/workspace-execution-trust-repository.ts:232 \u00B7 server/src/storage/workspace-execution-trust-repository.ts:246 \u00B7 server/src/storage/workspace-execution-trust-repository.ts:260 \u00B7 server/src/storage/workspace-execution-trust-repository.ts:274 \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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e878e6a1ea7fa371b1c81b290f0f3ef05e88cdefcc628a5fcec13e5f8eecacb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/settings/tabs/MaintenanceTab.tsx:247 \u00B7 web/src/components/settings/tabs/MaintenanceTab.tsx:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc74bbdd1cc38c7d57028d39be459ea7b229c54cbaacc5d2857f4ab8323aaaae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:327 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:365 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b713f0f425739dc525e4304753ecdf7b9f310b84d186be8e3bdb676dac762d50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/components/settings/tabs/SecurityTab.tsx:79 \u00B7 web/src/components/settings/tabs/SecurityTab.tsx:93 \u00B7 web/src/components/settings/tabs/SecurityTab.tsx:125 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SecurityTab.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"612d6e5b1de354217318131b31ba815d032b1b983cd01ae21fa215d64cd5d38c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/components/task/AttachmentsSection.tsx:67 \u00B7 web/src/components/task/CommentsSection.tsx:86 \u00B7 web/src/components/task/DeliverablesSection.tsx:99 \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":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa0026fb795312e785ed2a2f0f0f671f049152fe1dc71cac1cd1b0d2bbb0902"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/task/DecisionReviewSessionsSection.tsx:559 \u00B7 web/src/components/task/DecisionReviewSessionsSection.tsx:573 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e88e811f6882abd22bd4bdebf4fc08dbdc3ce52583d86738c445bd719b43dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/templates/TemplatePreviewPanel.tsx:116 \u00B7 web/src/components/templates/TemplatePreviewPanel.tsx:142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf583d8eee2a924f6c805544c7e7fd0205886fe3368f81d1b785fea33d751a0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/src/components/workflows/WorkflowsPage.tsx:233 \u00B7 web/src/components/workflows/WorkflowsPage.tsx:361 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"88817ac489ebd2780248330c7041ac8930c5641926d68b22e954b42400ee63b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/workflows/dashboard/ActiveRunsList.tsx:19 \u00B7 web/src/components/workflows/dashboard/RecentRunsList.tsx:41 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/dashboard/ActiveRunsList.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ce989f6abb8b551dbf7a085b1ff85e6ce2ab378ef2c6dd654fa860d49d6a90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/hooks/useBulkTaskMetrics.ts:55 \u00B7 web/src/hooks/useTaskMetrics.ts:82 \u00B7 web/src/hooks/useTaskMetrics.ts:98 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34c7a2f219f893680038cd8e34a882eb47f447e1cb7346f9975248bd0b9f6c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/hooks/useDecisions.ts:35 \u00B7 web/src/hooks/useTasks.ts:258 \u00B7 web/src/hooks/useTasks.ts:598 \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":"web/src/hooks/useDecisions.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d235e15e4713b547465aa8d11bd5a336d72fb465b9e6dd2d6ff77ba089722de9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/hooks/useMetrics.ts:237 \u00B7 web/src/hooks/useMetrics.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":"web/src/hooks/useMetrics.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f30de205b1640493eacc874e0e79ee9d4721557a2124a0bdcadd87e8139f57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/hooks/usePolicies.ts:18 \u00B7 web/src/hooks/usePolicies.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":"web/src/hooks/usePolicies.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8269b99b22af6dc4a7558ae1375fbaededc7acd11eb7d915ecc72cd70be9e805"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/hooks/useTasks.ts:720 \u00B7 web/src/hooks/useTasks.ts:743 \u00B7 web/src/hooks/useTasks.ts:759 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"395c182ce502da214ae95faf6848bbcf22ab3407a73ad7f98770c34c27067c9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/lib/api/backlog.ts:52 \u00B7 web/src/lib/api/entities.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":"web/src/lib/api/backlog.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d950165ba129237facd286e5700a8ee77da67609f712373ea2de59914296aa8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/agent-status.ts:132 \u00B7 cli/src/commands/projects.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/agent-status.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbbc77e1a9065f01fe7f5d3c0f49729af15a3b4d0da556c1a40f2b2e1e1ade6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/agents.ts:356 \u00B7 cli/src/commands/agents.ts:469 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agents.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"207225a41e09c93f7ed35600ee52dde0b17bc1b0d77f02b2456c58121a39c5fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/agents.ts:450 \u00B7 cli/src/commands/agents.ts:1075 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/agents.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d42af67097b32af272f9b8bd0a25bf9afa8b56460286d97cda2f70bcf6620a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): cli/src/commands/agents.ts:507 \u00B7 cli/src/commands/workspaces.ts:77 \u00B7 cli/src/commands/workspaces.ts:111 \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/agents.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"78455ed54188820d4018272675b5bc11feb1bcf81978e82d31e4f00cf68821aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/projects.ts:14 \u00B7 cli/src/commands/sprints.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/projects.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a2180651e5e13aac290920afb3734a31fc102a5d3de5f8ae8d7c578791ea7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): desktop/src/shared/desktop-bridge-contracts.ts:701 \u00B7 web/src/components/auth/DesktopOnboarding.tsx: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":"desktop/src/shared/desktop-bridge-contracts.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad617180bbdb8b06405ec025ce81269ef12d256ce32bc9bba642487a05452f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): mcp/src/tools/projects.ts:61 \u00B7 mcp/src/tools/sprints.ts:39 \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":"mcp/src/tools/projects.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96e7a71a7ec37984fac5fcb051dddf697698300bd403ea3bc25df161283143b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): mcp/src/tools/tasks.ts:314 \u00B7 mcp/src/tools/tasks.ts:332 \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":"mcp/src/tools/tasks.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"44637e3d3cd73b12723a5bff012f30735ba5527e0175e32822f2351bb823c0fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/middleware/auth.ts:436 \u00B7 server/src/middleware/auth.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/middleware/auth.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfaeb4279f0deb226b0a1489f735985272b01ba777f60ff70590cd753411a4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/agent-routing.ts:91 \u00B7 server/src/routes/cost-prediction.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/routes/agent-routing.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da884c130a5e2e5c25b968a2d90b22b0b5f52054536074b1518fd7a2e1c84b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/agents.ts:122 \u00B7 server/src/routes/agents.ts:155 \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":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ad9c0afd90c99b688661726da2281849acecb7b98cecaf189538c7e30c5eae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/agents.ts:507 \u00B7 server/src/routes/agents.ts:739 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7909d1b887a241aecd5d60753e8e89f2f29f5cb71d0ed6a09c5deb23daab28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/agents.ts:848 \u00B7 server/src/routes/agents.ts:867 \u2014 both copies are in the same file, so extract the block into one function there 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":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b9cd1b60cc887311089d8c9f6c2493bf57c6b8ee3e193c0a7cf42cb44c574d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): server/src/routes/attachments.ts:121 \u00B7 server/src/routes/attachments.ts:145 \u00B7 server/src/routes/attachments.ts:178 \u00B7 server/src/routes/attachments.ts:208 \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/attachments.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f308da0c3aace924592d7275cce647124eabc2569edacbfdfc65dd0b64f2c48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/routes/backlog.ts:263 \u00B7 server/src/routes/tasks.ts:1461 \u00B7 server/src/routes/tasks.ts:1526 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/backlog.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2b346625adbf886f36354af47a8868d1a4711d0abfcc1a26d72e9906459094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/routes/broadcasts.ts:22 \u00B7 server/src/routes/feedback.ts:100 \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":"server/src/routes/broadcasts.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc97aef7a8c275b6b643778a7a238933cc129362a87b5369a969006438e2269f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/routes/broadcasts.ts:22 \u00B7 server/src/routes/goals.ts:197 \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":"server/src/routes/broadcasts.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b063beb0f31770dd5542eb76f7cac409d55e230e83bfbd563ba3b5653d2574"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/digest.ts:6 \u00B7 server/src/routes/digest.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/routes/digest.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b2d333fe201582df0f77548a32e5dc31b86c939435aad2239ab6377862662e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/routes/external-trackers.ts:83 \u00B7 server/src/routes/goals.ts:142 \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":"server/src/routes/external-trackers.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5c54adc122867bf3e89eec5d954b8e326df53574d89113a2b8cdffa0a5fc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/goals.ts:247 \u00B7 server/src/routes/goals.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/routes/goals.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f505d94b7c05df17b5536f0086e0a4c3d764518077b85916089c057e70cec5c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/notifications.ts:204 \u00B7 server/src/routes/reports.ts:93 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/notifications.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5591d3a94ad428eb74ff73055c2c2a4be6f5101d4db013d46cc959da0167117"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/prompt-registry.ts:61 \u00B7 server/src/routes/templates.ts:149 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/prompt-registry.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55d7aa2b13dffa473bff7363ffad05e6a9dc7d66e60ff9cbf8a47df8b0834e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/workflows.ts:166 \u00B7 server/src/routes/workflows.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/routes/workflows.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e7cb9ba2a4c54ee51caf81028c3380b5df263568d3dc41e6e747944431261"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): server/src/routes/workflows.ts:248 \u00B7 server/src/routes/workflows.ts:630 \u00B7 server/src/routes/workflows.ts:651 \u00B7 server/src/routes/workflows.ts:682 \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/workflows.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c15011bc803374a23d49d89f9352280eb17c02c82438db4c5f0ced9d3a4c16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/schemas/feature-settings-schema.ts:213 \u00B7 server/src/schemas/run-launch-manifest-schemas.ts:135 \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":"server/src/schemas/feature-settings-schema.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4ed31e61657dac977bd7af7658229b99c5d6abeb7459cc86c3e8a65b8543b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/admission-control-service.ts:566 \u00B7 server/src/services/admission-control-service.ts:602 \u2014 both copies are in the same file, so extract the block into one function there 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/admission-control-service.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"1961fdd7c908d8de0b0c64a85d2fe1f624373872ef6f25f45d46fc9ffcd12e66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/admission-control-service.ts:1754 \u00B7 server/src/services/admission-control-service.ts:1777 \u2014 both copies are in the same file, so extract the block into one function there 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/admission-control-service.ts"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c85a46a62c7499fe0d518ef0551a5b4048a7f738a2468d2914e2d36ce601c2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/blocking-service.ts:121 \u00B7 server/src/services/task-service.ts:1908 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/blocking-service.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddac520c65cf70b2da3ba7a575110bf5384d0bce752fdc7478e8262100d970dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:802 \u00B7 server/src/services/buzz-definition-import-service.ts:821 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca329a0e88a27f671b8f0bd79252d2bea6ca8bfabaaa971e3a0a2081b191870e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:842 \u00B7 server/src/services/buzz-definition-import-service.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/services/buzz-definition-import-service.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea462b4fc6861e6b31fb761e35b33acdd6380856b5ed3c21be7b4f47257e344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:4151 \u00B7 server/src/services/clawdbot-agent-service.ts:4183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":4151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80e627cc9bc866a43af5e8ed0d0064b6c850dea08a1ffaacda1e02cc74907e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/services/clawdbot-agent-service.ts:6623 \u00B7 server/src/services/clawdbot-agent-service.ts:7048 \u00B7 server/src/services/clawdbot-agent-service.ts:7246 \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/clawdbot-agent-service.ts"},"region":{"startLine":6623}}}],"partialFingerprints":{"codehealthFindingId/v1":"16644a5d198a90d4bc477221be9fbfa613a4ed24510ac51aa246a1b18dc30a3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6684 \u00B7 server/src/services/clawdbot-agent-service.ts:7287 \u2014 both copies are in the same file, so extract the block into one function there 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/clawdbot-agent-service.ts"},"region":{"startLine":6684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ec638831787fb492ffa3772de5e39e7daae5d3da49e902f209d0c491ce8832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:7181 \u00B7 server/src/services/clawdbot-agent-service.ts:7461 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5389c8bae6b16b77e296f3f7486e210b1410607ebdaa66ba3d2ba8d42b763d47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:2346 \u00B7 server/src/services/communication-adapter-service.ts:2395 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3752cc2068d20d09f986f9db671464ff344a55c164e603e894f7fa3962371380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:253 \u00B7 web/src/components/chat/SquadChatPanel.tsx:45 \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":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c051147677e2dcaf67411288dffc2e31a6c7a2adf945e787267b65c2dbe41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/conflict-service.ts:248 \u00B7 server/src/services/conflict-service.ts:282 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/conflict-service.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"42025ae3437dc1bf9df838a89a138d4177fb5408e7e6a30b18d437fd336b499c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/drift-service.ts:77 \u00B7 server/src/services/notification-service.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":"server/src/services/drift-service.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b0d8c301a9b343f06fa6bebead1376934c1f2447bfe297958c5d16ad394c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/feedback-service.ts:136 \u00B7 server/src/services/scoring-service.ts:227 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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-service.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7669049cb4f3d2b6785fd2647a63b2f3be097966fd311d0b90b78186b9d6cf0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/feedback-service.ts:151 \u00B7 server/src/services/scoring-service.ts:309 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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-service.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8deb61521c5c72c14fdbce2592eb7ec42c8a3d8710a5346e46c4a6fd88757e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/governance-trace-service.ts:135 \u00B7 server/src/services/maintenance-service.ts:704 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/governance-trace-service.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"332175f79f3f6a6c3d29525caa9eb3291724b873b829973d97d2ffffb5d9bfe7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:431 \u00B7 server/src/services/metrics/dashboard-metrics.ts:553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d9b8ed247466e9bc43cc573bf05efb4e4a99e38b8c81bbc9e3905f5bf85052"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/metrics/metrics-service.ts:46 \u00B7 server/src/services/metrics/metrics-service.ts:85 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/metrics-service.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0551fa0ca60d038f7f67f07729e191ed73bf4953b9caebe8b9e367471cd2aba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/mime-validation.ts:222 \u00B7 server/src/services/mime-validation.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":"server/src/services/mime-validation.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed402198dfac55933602e8c22430e5b8cfd4cc041d0d662b9c36a88b2260b68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): server/src/services/provider-run-event-mappers.ts:189 \u00B7 server/src/services/provider-run-event-mappers.ts:209 \u00B7 server/src/services/provider-run-event-mappers.ts:270 \u00B7 server/src/services/provider-run-event-mappers.ts:289 \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/services/provider-run-event-mappers.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e1ac9fc10a515d04253b91c64ff6f209629724479dd58eb0facbd39d5b97c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/provider-task-envelope-renderer.ts:327 \u00B7 server/src/services/provider-task-envelope-renderer.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/provider-task-envelope-renderer.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabf1c13f171dd8efcabb53068b156ecdc2be39a5b4bb2120c076c431c09f015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/run-egress-gateway-service.ts:396 \u00B7 server/src/services/run-egress-gateway-service.ts:450 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-egress-gateway-service.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae4f950488c813503d18b530e995339117175e99b6c6ee21222b2b994c6b9d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/run-session-share-service.ts:209 \u00B7 server/src/services/run-session-share-service.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/run-session-share-service.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"409bd28a38f9167d740e6e75fd8e69d1f10ae71e7f3b64822a8022a27e96e07c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/scheduler-service.ts:158 \u00B7 server/src/services/scheduler-service.ts:190 \u2014 both copies are in the same file, so extract the block into one function there 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/scheduler-service.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae9a7158d211830b791d3f3ed31a865fd2457e7a99300198e10fbe0b3e869d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:1507 \u00B7 server/src/storage/sqlite/template-repository.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/sqlite-portability-service.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bd7816c880d4f85f170b38a7ac50ed7447907d10224446053ed6596d583c3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/task-identity-diagnostics.ts:69 \u00B7 server/src/services/task-identity-diagnostics.ts:83 \u2014 both copies are in the same file, so extract the block into one function there 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/task-identity-diagnostics.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"93258993eea22f97ec9d37df5a482cfe4885baed50b3fc25310e989612fde813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/task-service.ts:739 \u00B7 server/src/services/task-service.ts:1126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-service.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a719b0d58d0c9d61ac0a2fb166d9be946bf9668fd7c71b156e39b8982616fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/services/work-product-artifact-preview-service.ts:145 \u00B7 server/src/services/work-product-artifact-preview-service.ts:242 \u00B7 server/src/services/work-product-artifact-preview-service.ts:268 \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/work-product-artifact-preview-service.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd4a9e2667982fe4cafb90fac057d30ec4ac813f3b048c671ce222c98a167bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/workflow-authoring-service.ts:310 \u00B7 server/src/services/workflow-authoring-service.ts:669 \u2014 both copies are in the same file, so extract the block into one function there 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/workflow-authoring-service.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d221cf1d7825d3f50be02c5b82fbae15b08fa3b96899fb0d1a393b1a2281715c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/worktree-service.ts:397 \u00B7 server/src/services/worktree-service.ts:1571 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc5d56c6e17b9fe9d3e70e2a26613f55b8ec16da8f1643786ca880ddb758b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/worktree-service.ts:738 \u00B7 server/src/services/worktree-service.ts:793 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"82104bb14b267cc3ed440149344959ad8cf0305601402d16ff7d59418a054f5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/storage/credential-broker-repository.ts:78 \u00B7 server/src/storage/credential-broker-repository.ts:124 \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":"server/src/storage/credential-broker-repository.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5b84fafe92338a3bb22596cfddd2b10cac48033a61d1abfc35a541ec0f5d09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/storage/scheduled-deliverables-repository.ts:53 \u00B7 server/src/storage/status-history-repository.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/storage/scheduled-deliverables-repository.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"477c4bd5a6ac831247255bc55ede8228ee45c30d697952381f6400a291b4920b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/storage/sqlite/admission-reservation-repository.ts:255 \u00B7 server/src/storage/sqlite/reflection-extraction-job-repository.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/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d42b490f6f1704996696dbc5e8064d594eb0314d85c73fc7a131c33c7b3177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/storage/sqlite/knowledge-collection-repository.ts:429 \u00B7 server/src/storage/sqlite/knowledge-collection-repository.ts:778 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"def5ba6ef77cb3b545dff64562755f62a381b4223a3813ead695f81cd0e18a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/storage/sqlite/managed-list-repository.ts:221 \u00B7 server/src/storage/sqlite/managed-list-repository.ts:257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/managed-list-repository.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c197df1ecd38d33a53799ed9c5eb1586110f688332e979a42686ad5d95febab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:328 \u00B7 server/src/storage/workspace-checkpoint-repository.ts:1404 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2ef37e3c31774dd0d4129dfee4c90e1ca37f768ea5ed225a7230fd0bc471f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/src/components/auth/AuthGuard.tsx:85 \u00B7 web/src/components/board/KanbanBoard.tsx:588 \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":"web/src/components/auth/AuthGuard.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90a56c0cc49fcbdc196d195a5d2eb7c80edffaf897577b17926e8dbcc3a7028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/auth/DesktopOnboarding.tsx:198 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:792 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5067aae7175c03be89beeaa9dbdb3b759f451637f0c674b537308fe65b2ceb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/board/FilterBar.tsx:159 \u00B7 web/src/components/board/FilterBar.tsx:175 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a698810b81c33e512a16604b3b100be4e75ba9cc9fba7b13b70f7e181a73aacf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/chat/SquadChatPanel.tsx:589 \u00B7 web/src/components/chat/SquadChatPanel.tsx:789 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"12569081663007b04e143d6dcfd46f7da220c87b27fe2b69cfeefa6a0eb4f7de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/dashboard/ActivityClock.tsx:28 \u00B7 web/src/components/dashboard/HourlyActivityChart.tsx:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/ActivityClock.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"14720c82267cd281d9aa85e0b39334f26cee107fa9bebc34fea035f503d59f8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/digest/AdmissionQueuePanel.tsx:851 \u00B7 web/src/components/digest/AdmissionQueuePanel.tsx:885 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b29ecfe4f26aa7a2374287d28e44884cf2ab1c08097a430f6edc6ad4a19f2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/feedback/FeedbackPanel.tsx:283 \u00B7 web/src/components/feedback/FeedbackPanel.tsx:296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"331314c5476d385c56108c49c394b7469ba10c6a97ef206fa97e6777e714d538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/feedback/FeedbackPanel.tsx:515 \u00B7 web/src/components/feedback/FeedbackPanel.tsx:529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f49d1386e6527b533c25e4c81f53f0789e8ea6951597614b00b8eb12bd85f8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): web/src/components/policies/PolicyManager.tsx:582 \u00B7 web/src/components/policies/PolicyManager.tsx:669 \u00B7 web/src/components/policies/PolicyManager.tsx:752 \u00B7 web/src/components/policies/PolicyManager.tsx:782 \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":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20aec307b717ac4d9bc988dec5708444b09f7ab18b8dacf02a0e836d79daf1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/src/components/scoring/ScoringProfiles.tsx:573 \u00B7 web/src/components/scoring/ScoringProfiles.tsx:680 \u00B7 web/src/components/scoring/ScoringProfiles.tsx:717 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4675b8a8b8e418974788fda10eb9bdf52541e7600d2959d6e0424e9eba5a8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/settings/SettingsDialog.tsx:849 \u00B7 web/src/components/settings/tabs/TemplateComponents.tsx:249 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"934d86671f96f71c23cb74a7e906291343abe374b8f90f023ed7dc496929c7a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/src/components/settings/shared/NumberRow.tsx:75 \u00B7 web/src/components/settings/shared/NumberRow.tsx:98 \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":"web/src/components/settings/shared/NumberRow.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc646d680c26ebed6cf07d65538bf0450edd5cc46bdcc25c53394503df632c91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/src/components/settings/tabs/BuzzConnectionPanel.tsx:219 \u00B7 web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx:172 \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":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"897b10674298b7da4eaf70f6390c93682ba82a1858a1f262db49f115bde0dacf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/settings/tabs/ManageTab.tsx:208 \u00B7 web/src/components/settings/tabs/ManageTab.tsx:266 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec76783c85f1d6f917d920a4609a75770a24c5aa0ef8dc712b376373c2144d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/settings/tabs/TemplateComponents.tsx:77 \u00B7 web/src/components/settings/tabs/TemplateComponents.tsx:134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7435ed2de91b405a1f8b6926b15ddb9c203cf9f5029f2f0616d09086865cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/settings/tabs/TrackersTab.tsx:175 \u00B7 web/src/components/settings/tabs/TrackersTab.tsx:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc11dddb50a23c501a7ed61849ae6d2cddd8936c5542c4f155f3c28e91a9de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/task/DecisionReviewSessionsSection.tsx:416 \u00B7 web/src/components/task/DecisionReviewSessionsSection.tsx:473 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23612fab7ec703116b8c100b31b80d2ad76ab0375b4b6d8f65e20678c07dab5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/workflows/WorkflowDetailView.tsx:222 \u00B7 web/src/components/workflows/WorkflowDetailView.tsx:236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb87efd7495e2c046272b183ef617ce1a6eea48c4da0717cb4747ff4eafee33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/hooks/useDeliverables.ts:30 \u00B7 web/src/hooks/useDeliverables.ts:44 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useDeliverables.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2113a0bc0af16fdae1cdc2fd65ffa59fb9974385545c5d31663bed6866a183d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8 locations): web/src/hooks/useIdentity.tsx:314 \u00B7 web/src/hooks/useIdentity.tsx:328 \u00B7 web/src/hooks/useIdentity.tsx:342 \u00B7 web/src/hooks/useIdentity.tsx:356 \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":"web/src/hooks/useIdentity.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec6ce2652a04080284abb4e1267021bc2f63b8e8d47345849dc19be5d19ec12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/hooks/useTaskMetrics.ts:77 \u00B7 web/src/hooks/useTaskMetrics.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":"web/src/hooks/useTaskMetrics.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"072035aefd7c3b4e173664585db1abbd07e34e7906f2d7f01b6ce56f5b8312b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/lib/api/agent.ts:132 \u00B7 web/src/lib/api/decisions.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":"web/src/lib/api/agent.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"02720b7319b02502e0c1fb6925ddfb2d799223844b62d5358772be72ba9fce6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): web/src/lib/api/agent.ts:192 \u00B7 web/src/lib/api/agent.ts:206 \u00B7 web/src/lib/api/agent.ts:220 \u00B7 web/src/lib/api/integrations.ts:238 \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":"web/src/lib/api/agent.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb12ca994d887a514c3f24df8089d57a3841427ee7de3298840464e6488c72e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): cli/src/commands/admission.ts:116 \u00B7 cli/src/commands/admission.ts:275 \u00B7 cli/src/commands/goals.ts:63 \u00B7 cli/src/commands/work-products.ts:110 \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/admission.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2756e9d372181d5d3a88ddd62d6ac0d48928f1cc523b4a7e13498a5929ae00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8 locations): cli/src/commands/agent-status.ts:57 \u00B7 cli/src/commands/agents.ts:590 \u00B7 cli/src/commands/tasks.ts:50 \u00B7 cli/src/commands/tasks.ts:188 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 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":"cli/src/commands/agent-status.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"511abd03ef634fa019f376ccecd77a4c40b6fbdb66039b8ce10d6f325327ef2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/agents.ts:318 \u00B7 cli/src/commands/agents.ts:425 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/agents.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0565d7db3565ee858816a08280d1d93e81abd0be7ce72594cff602a26e68b61a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/backlog.ts:145 \u00B7 cli/src/commands/notifications.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":"cli/src/commands/backlog.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ee6d3335bbaf8369f42e74460934382cae550c65d715274e35ecdbac805c5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/doctor.ts:200 \u00B7 cli/src/commands/snapshot.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":"cli/src/commands/doctor.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e132b4e3bc72778814207d973741bd957ddad2eef3ee93d21e45890388a4f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): cli/src/commands/scheduler.ts:98 \u00B7 cli/src/commands/scheduler.ts:115 \u00B7 cli/src/commands/scheduler.ts:158 \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/scheduler.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ea95da2621562b3e05f26fc489563f6b52685932369842377bf7193f801784"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/tasks.ts:123 \u00B7 cli/src/commands/tasks.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":"cli/src/commands/tasks.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9de75bbd93c1ff8e1d50be23a360699f3b9c5b46310d37b141dfe46d323b0b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): cli/src/commands/workflow.ts:54 \u00B7 cli/src/commands/workflow.ts:170 \u00B7 cli/src/commands/workflow.ts:213 \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/workflow.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb622abad5f8074f486e0907342eefe13424b8dfe78c37977d8c7a2b4e09920"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): desktop/src/preload/index.ts:58 \u00B7 desktop/src/shared/desktop-bridge-contracts.ts:498 \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":"desktop/src/preload/index.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad2c0fec9b52dc94ac8d81101cdce2a1cd0b042cc3a83135832629d7ca8d5da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/native-ui/settings-window.mjs:19 \u00B7 scripts/native-ui/settings-window.mjs: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":"scripts/native-ui/settings-window.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17aca6c6b85b4f4dd528bd4065f421c5aa5859fc821fff488f045a6fee10740"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/middleware/auth.ts:682 \u00B7 server/src/middleware/auth.ts:720 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies 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":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a979927573aaab08ac97f413e4f34faf38cefdd7e8cf2581532a670c11ca252f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): server/src/routes/admission.ts:142 \u00B7 server/src/routes/admission.ts:158 \u00B7 server/src/routes/admission.ts:174 \u00B7 server/src/routes/admission.ts:223 \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/routes/admission.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f255371356404b42716d5c13c10cc6fc176fcd0c68a51362caf578397434496d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agent-permissions.ts:128 \u00B7 server/src/routes/scheduled-deliverables.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/routes/agent-permissions.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c76945082190a14ac7423a503232c1151a514655c16ff1fcf0aa19993cc0653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agent-registry.ts:120 \u00B7 server/src/routes/agent-registry.ts:175 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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-registry.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39fa5dd72ac26cea2e118269ffc22ee0f058dbba399fa0c10561c4991b84ab4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:239 \u00B7 server/src/schemas/workspace-checkpoint-schemas.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":"server/src/routes/agents.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75703b748c5ebed54ecc765a47180510095cb3abd80d6fb584e6ac7a473ce28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:546 \u00B7 server/src/routes/agents.ts:568 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ca54c633694b4d64f2fff0e6e8e6795b0844fb20e27e341d5ff6ca95422b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:1124 \u00B7 server/src/routes/agents.ts:1137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f2f06db345d07a4931b2678ffd7f15cb85b97bdd9f08874219e743ff7ac9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/backlog.ts:200 \u00B7 server/src/routes/tasks.ts:1422 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/backlog.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fd11a6c2f2ec8b67c600ae4d3b03d3f56acc4b1e481737dc13e2ce7d94c373"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): server/src/routes/github.ts:87 \u00B7 server/src/routes/managed-list-routes.ts:48 \u00B7 server/src/routes/prompt-registry.ts:76 \u00B7 server/src/routes/templates.ts:133 \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/routes/github.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b9ee6fbfa044bc4c23717d8aa926d64907fd439f65babd58382c7aab9d9c23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/integrations.ts:394 \u00B7 server/src/routes/integrations.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/routes/integrations.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5763d0c8267ca470177ad4881df79df6acc7e995c16f346688d00cf71eb6889f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/knowledge-collections.ts:192 \u00B7 server/src/routes/knowledge-collections.ts:259 \u2014 both copies are in the same file, so extract the block into one function there 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/knowledge-collections.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e1b91ec0c284263a79b4e95c4099679f0e5aef7a2a8b787537abde86398e20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/routes/queue-monitors.ts:43 \u00B7 server/src/routes/queue-monitors.ts:67 \u00B7 server/src/routes/queue-monitors.ts:82 \u00B7 server/src/routes/scheduler.ts:173 \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/queue-monitors.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc56564356fe7225dc537697f8851d6fee85c7cc91424cc5a7e5766bc16ebd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/tasks.ts:1259 \u00B7 server/src/routes/tasks.ts:1293 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tasks.ts"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acd57343211a4157270d87f60a6e2e59228b43c752c253affffc13d6dff434b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/schemas/buzz-definition-schemas.ts:3 \u00B7 server/src/schemas/tool-control-plane-schemas.ts:13 \u00B7 server/src/schemas/tool-control-plane-schemas.ts:25 \u2014 the 3 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/schemas/buzz-definition-schemas.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f479d55dcd80f61d4c6f97ecdffc285a10dd7dba21be187a15efd950f9f2f40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/schemas/credential-broker-schemas.ts:11 \u00B7 server/src/schemas/tool-control-plane-schemas.ts:39 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/schemas/credential-broker-schemas.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"403077864ef78e44282739c000dfea8a1e727cf49fd05fdb52be1ff1da1dfe81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): server/src/services/activity-service.ts:219 \u00B7 server/src/storage/file-storage.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":"server/src/services/activity-service.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc9bf25907aaa044ea7b9bf0360123e1ef2cb1e710c11429da91fae895f211c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): server/src/services/api-token-service.ts:153 \u00B7 server/src/services/api-token-service.ts:176 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/api-token-service.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cefa43773223a717087cf88d185ec94bef1449786659c804683f03a2a95c1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:790 \u00B7 server/src/services/buzz-definition-import-service.ts:1030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7127a5a0228b9fd6c037adc3dccd62ee73e175da13c86b8d188724da347b1d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:1262 \u00B7 server/src/services/buzz-definition-import-service.ts:1346 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5649ceb21bc62e425357906a76cfd3d83254cfcadab2910af3bc3376192b9790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:3965 \u00B7 server/src/services/clawdbot-agent-service.ts:3982 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c501d5a6334cd971a0ce579698709da0b72a5fb5009ea23400e0ce5c21db34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:862 \u00B7 server/src/services/communication-adapter-service.ts:925 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"c102c0ec20cc6e2814cd7bb77ddaae9f8f187c1a48b2873cb9b5414b4a289236"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/docs-service.ts:125 \u00B7 server/src/services/docs-service.ts:156 \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/docs-service.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bf36fbe5201194dff7254fe71e40bb65636a74be9963207e0f0092bf74d980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/durable-goal-service.ts:261 \u00B7 server/src/services/durable-goal-service.ts:290 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/durable-goal-service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8919aad262b4b015ce2545f2f1c5f0f7fbf4134a5ac801faf38eac31b2e2fec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/integrity-service.ts:144 \u00B7 server/src/services/integrity-service.ts:192 \u2014 both copies are in the same file, so extract the block into one function there 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/integrity-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ff956f4d3fd78dd52d761d9ce0303b95dd1a3584769d3c7c8a90e26af06d66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/metrics/helpers.ts:109 \u00B7 server/src/services/metrics/helpers.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/metrics/helpers.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad7ed1d85f1b3ed48db65cd8526eef7f0f106529217d0083b3e891a3b5225e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/prompt-registry-service.ts:43 \u00B7 server/src/services/template-service.ts:31 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/prompt-registry-service.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c7ac14c9413a4cf5fc42b3eb2d93fbf7fedcb0740cd889397239a5edd81a93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:314 \u00B7 server/src/services/queue-intake-monitor-service.ts:348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/queue-intake-monitor-service.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fac5a1afcc4768c1123ce1bef03031f94ccc3452ececaed013b4f132c125f4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/run-session-share-service.ts:230 \u00B7 server/src/services/run-session-share-service.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":"server/src/services/run-session-share-service.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4bcc320519cd66d6ebedfcd6ea9e7c4cfddaa2612c99c69625b4394267b04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:1600 \u00B7 server/src/storage/sqlite/activity-repository.ts:52 \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":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b45f70d344bf6a42f69f9083cc70aa04730309f0262ac2753a42fbdf9dcc81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/task-service.ts:1407 \u00B7 server/src/services/task-service.ts:1446 \u2014 both copies are in the same file, so extract the block into one function there 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/task-service.ts"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aba986c1cf8e0ded878bf1f76543673c509cb8c6347b9fe47267c4561f7d3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/storage/admission-reservation-repository.ts:57 \u00B7 server/src/storage/admission-reservation-repository.ts:71 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe000d30f2c0c72f30786bdf659f06f986f81f90282153a83a9401ef004468f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): server/src/storage/broadcast-repository.ts:37 \u00B7 server/src/storage/progress-repository.ts:77 \u00B7 server/src/storage/reflection-state-repository.ts:59 \u00B7 server/src/storage/transition-hooks-config-repository.ts:44 \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/storage/broadcast-repository.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdb66dce94224cfe346cff7562be0d76337f381b3e7c5e4663bc5a33bfbecf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/storage/knowledge-collection-repository.ts:398 \u00B7 server/src/storage/knowledge-collection-repository.ts:468 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"831c4c1599eb6e43455b18869fdcb1a6a6e3b65352ecd83361d20af36281c5a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/storage/run-output-artifact-repository.ts:303 \u00B7 server/src/storage/work-product-artifact-repository.ts:376 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef663fad25bcba31bc4d4d31d8a4ce3fab364d3ac3b5ff8867341112b13b03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/storage/sqlite/journal-maintenance-service.ts:882 \u00B7 server/src/storage/sqlite/journal-maintenance-service.ts:926 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"c828b8ffd2122694ed52041af63db29f48c7366c96b142a6431d3bb24f4b165b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/storage/sqlite/task-repository.ts:449 \u00B7 server/src/storage/sqlite/work-product-repository.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/storage/sqlite/task-repository.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c55d4cf745333f8223c087d2579107914801eda9e18951acbe2983540ca051"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): server/src/storage/sqlite/work-product-artifact-repository.ts:172 \u00B7 server/src/storage/sqlite/work-product-repository.ts:147 \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":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c47383b0f4146826318854100cdea04bee8d2cd51539a2ce000a81c076c74c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:343 \u00B7 server/src/storage/workspace-checkpoint-repository.ts:1419 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfe054f33f3da99c556c818d209b8e6a5ab3c1c7340b3e6592fd2fa68bb24aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): server/src/storage/worktree-manifest-repository.ts:51 \u00B7 server/src/storage/worktree-manifest-repository.ts:97 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/worktree-manifest-repository.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ce4f342f0ac4f301ce7d4d8c28bcf04dd7f2a90a829204360b38fa0ab0217b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/activity/ActivityFeed.tsx:60 \u00B7 web/src/components/activity/ActivityFeed.tsx:73 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"011c6cae45384a29f7314dd1dc24532a4ba4b9e5fa5c6a40d8757957ab94c443"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/chat/ChatPanel.tsx:105 \u00B7 web/src/components/chat/SquadChatPanel.tsx:203 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"131c819cd6a8b69a4b4ca7c46ef96883c8af8309c2b3a232cf66355e19ca91f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/components/chat/ChatPanel.tsx:323 \u00B7 web/src/components/task/SubtasksSection.tsx:97 \u00B7 web/src/components/task/TaskMetricsPanel.tsx:243 \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":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a91d850e9473e2fd59f6371e8e8644528fd2127e0360967e6c6acd78f42f36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/decisions/DecisionExplorer.tsx:397 \u00B7 web/src/components/decisions/DecisionExplorer.tsx:438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"660f02b5fe01fb14eafab1cbe71dac22bd60c447ab48b48000501ced3103231a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/digest/OperationsDigestPage.tsx:534 \u00B7 web/src/components/digest/OperationsDigestPage.tsx:618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb287f9763db7688448ac7e7e78b518b2f20a40e0760daf9de285c3132de776e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/policies/PolicyManager.tsx:597 \u00B7 web/src/components/policies/PolicyManager.tsx:796 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f3b0313779957c14fab178de671bacf3cf475413568019587119dee5cd1bee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/scoring/ScoringProfiles.tsx:305 \u00B7 web/src/components/settings/tabs/SchedulerTab.tsx:105 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe6df78c800aa6a8081f43c59c5f1d817c8082c5860c3b353c808c04986c52b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/search/SearchDialog.tsx:418 \u00B7 web/src/components/task/CreateTaskDialog.tsx:497 \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":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d5db6226c3f013eec06636517c2c39435bb5b04194e80c17b9d1f6ba77788d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:1039 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1744 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80f8669d28ba0a9813c008b3a0b3fb985a1d870e6c7686b7fe5f3d1755bca57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/components/settings/tabs/AgentsTab.tsx:2040 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2052 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2064 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aae4ca29622693954cdb4d260a10ee5d339efc7e53a89798daed6e817768c65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:2840 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:3038 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff570fd9a882a131b0a4d6bc3de75f741938c373748bdf60fbfbcfbf360759c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/settings/tabs/SchedulerTab.tsx:66 \u00B7 web/src/components/settings/tabs/SchedulerTab.tsx:87 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde27d8bfc6ab971db3c8d93828811ae9b45f576af6e1d2c7742662b10fce2e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/settings/tabs/TemplateComponents.tsx:57 \u00B7 web/src/components/templates/TemplateEditorDialog.tsx:168 \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":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed2b30583f129d569f9f3680b6f8ebc96f30f72649ff7634231c13627b10249"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/settings/tabs/TemplateComponents.tsx:124 \u00B7 web/src/components/settings/tabs/TemplateComponents.tsx:143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a33a011ec36c68c4d4f92e44dd746fc8de6a4d4fccbbd8463378f81309d2cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/task/AgentPanel.tsx:107 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx:1123 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed9288f5c4a339918bba489f3735ba3b9e0439755cb7666e8b8c3a81ab0461d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/task/AgentRunTimelinePanel.tsx:1459 \u00B7 web/src/components/task/ReviewPanel.tsx:262 \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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8c8b799e01b66af78bc99a1262e79eaad8c1e2d5583311ea6f931df5eedcca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/task/ApplyTemplateDialog.tsx:285 \u00B7 web/src/hooks/useTemplateForm.ts:196 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a1d408a6870ce1b0e3890e80771c4beddf17cc68c66ae66b4540f1719e4c69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/task/ConflictResolver.tsx:497 \u00B7 web/src/components/task/ObservationsSection.tsx:146 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3b88ba754bf02afef66246acf1267d4c75c2d3185a4cd0e37be778f992a775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/task/TaskWorkView.tsx:1071 \u00B7 web/src/components/task/WorkProductsSection.tsx:492 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0b1c8bbc02337d6e8b6177d3a966c1b0f477dbde09aca0d5dc632a55401d33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/task/TimeTrackingSection.tsx:264 \u00B7 web/src/components/task/TimeTrackingSection.tsx: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":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"be342d5bf07bb29574b2b1ee9b4bf3409218467f87652f526b40a7da0a9e84a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/ui/toast.tsx:9 \u00B7 web/src/components/ui/toast.tsx:85 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ui/toast.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7946632d2a2192601ab3c7b951e7164d2d6804990893861f47956158aedacb28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/src/contexts/ViewContext.tsx:121 \u00B7 web/src/contexts/ViewContext.tsx:292 \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":"web/src/contexts/ViewContext.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7beda6ca76e14e0a18fb3f8ca186d874dd61def2d9d778d9a2ee4f3d360d2c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/src/hooks/useAgentRunTimeline.ts:12 \u00B7 web/src/hooks/useAgentRunTimeline.ts:25 \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":"web/src/hooks/useAgentRunTimeline.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f6b9e606a665e1bf4ebcc1036cd8c7db1994faacdfd18c2721f84805c094a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): web/src/hooks/useIdentity.tsx:314 \u00B7 web/src/hooks/useIdentity.tsx:328 \u00B7 web/src/hooks/useIdentity.tsx:342 \u00B7 web/src/hooks/useIdentity.tsx:356 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useIdentity.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f17314c8589a756df40768884d13a1f71862a7de25d41552b36c30c854e4ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): web/src/hooks/useMetrics.ts:83 \u00B7 web/src/hooks/useMetrics.ts:228 \u00B7 web/src/hooks/useMetrics.ts:245 \u00B7 web/src/hooks/useMetrics.ts:262 \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":"web/src/hooks/useMetrics.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc023b548dc537bc046b2c6d7189a568291428e248819007c4f5b6212c246d69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/hooks/useMetrics.ts:293 \u00B7 web/src/hooks/useMetrics.ts:306 \u00B7 web/src/hooks/useMetrics.ts:319 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useMetrics.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a3ea62729d0e7febe9168e83f7245424fadada8a744175c90c38770cd73805"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/hooks/useTasks.ts:503 \u00B7 web/src/hooks/useTasks.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":"web/src/hooks/useTasks.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"888988d0912013ad9f9af9ce301182c8df12570d1ae756ced25fd29a4c31bc7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/hooks/useTemplates.ts:23 \u00B7 web/src/hooks/useTemplates.ts:54 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTemplates.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b458faac39bc5ef935b3ae4a7cc635439a077e66f9dade48737b3b64720f25a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/lib/api/backlog.ts:73 \u00B7 web/src/lib/api/tasks.ts:112 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/backlog.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ad620ae7b252727eaef399727edf09e08711ac75980f8892fe3da8fd76488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/lib/api/decisions.ts:26 \u00B7 web/src/lib/api/governance-traces.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":"web/src/lib/api/decisions.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9fddb2f4a601db18657bd054e217203fe3cfd948256d07704de758ded2dc69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/lib/api/entities.ts:50 \u00B7 web/src/lib/api/entities.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":"web/src/lib/api/entities.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"810e580100d746c99752224072c2939bba0dbbaa8e6e47c34c898bbed2d449f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/lib/api/identity.ts:232 \u00B7 web/src/lib/api/identity.ts:255 \u00B7 web/src/lib/api/identity.ts:290 \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":"web/src/lib/api/identity.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849731e3d59ae3ea26a3184daf491a17ab90056bc570cb66b199be78afc1eed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/lib/api/prompt-registry.ts:46 \u00B7 web/src/lib/api/scoring.ts:28 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/prompt-registry.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c7455eccda23fa74c5828ec64dc539a858cb8efdd563cc8869d0f4e7aca13b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/admission.ts:66 \u00B7 cli/src/commands/admission.ts:180 \u2014 both copies are in the same file, so extract the block into one function there 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/admission.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"262bbd62a413e6a619ccdfa3080d74ad3885c779851e73bd81ebb93bf5ff819b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): cli/src/commands/agent-status.ts:89 \u00B7 cli/src/commands/github.ts:53 \u00B7 cli/src/commands/github.ts:134 \u00B7 cli/src/commands/notifications.ts:45 \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":"cli/src/commands/agent-status.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b18e5e3bd13aa685c3f936187a87e57af5e88afd5814776c0236270ffdab97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): cli/src/commands/agent-status.ts:112 \u00B7 cli/src/commands/agents.ts:504 \u00B7 cli/src/commands/agents.ts:537 \u00B7 cli/src/commands/workspaces.ts:74 \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":"cli/src/commands/agent-status.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8a89d1dd284aaeafc852d0c6dbc96d0a676b468ce199d04faab1a040a3ad50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): cli/src/commands/agents.ts:691 \u00B7 cli/src/commands/automation.ts:90 \u00B7 cli/src/commands/notifications.ts:68 \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/agents.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d835b71b71fdea3f8efecd7be14a5ecbe05179472da4221c2abe727a4f4f8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): cli/src/commands/agents.ts:1204 \u00B7 cli/src/commands/backlog.ts:72 \u00B7 cli/src/commands/backlog.ts:95 \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/agents.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd7d45d583cefdcdfb00fa27cefc00f93529f9cff06c73d692a3bb2e8f8b48c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/prompts.ts:77 \u00B7 cli/src/commands/snapshot.ts:297 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/prompts.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9b09584b19f4dc0936fdc6da15ed672cb087667213ee4cca03b38169b88830"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/sprints.ts:228 \u00B7 cli/src/commands/workflow.ts:131 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/sprints.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17fa947d4b07407be3fa3698a7bbf438add142bfcae2cb6d958b8a04a5a8924"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): mcp/src/tools/agents.ts:272 \u00B7 mcp/src/tools/tasks.ts:239 \u00B7 mcp/src/tools/tasks.ts:309 \u00B7 mcp/src/tools/tasks.ts:327 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e386108da0c276b8f00decbf4fb2b4e147b9678be4e114a406d80d44f7a6fe78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/check-actions-pinned.mjs:62 \u00B7 scripts/check-actions-pinned.mjs:79 \u2014 both copies are in the same file, so extract the block into one function there 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/check-actions-pinned.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e364030e1b873a85b547dd928fd62a75f3a5c3564796243d6e9728e84661db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/check-desktop-local-packaging-smoke.mjs:40 \u00B7 scripts/prepare-desktop-release.mjs:43 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/check-desktop-local-packaging-smoke.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fdc5c1c01b17b8f358638993b1fe89ed030728d0f087218a4bc7d51a975c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): scripts/native-ui/menu-commands.mjs:161 \u00B7 scripts/native-ui/menu-commands.mjs:180 \u00B7 scripts/native-ui/menu-commands.mjs:212 \u00B7 scripts/native-ui/menu-commands.mjs:228 \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":"scripts/native-ui/menu-commands.mjs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ced6027fe9e853c8853ac85852ca24f6a556160e1ccc585a4c63cca641448f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/smoke-cli-mcp-compat.mjs:18 \u00B7 scripts/wait-for-desktop-ready.mjs:242 \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":"scripts/smoke-cli-mcp-compat.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30840a7c4e4a6df87f7c6c34f5d3ffb8cb9393440a913daea878c27a03412ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/runtime/run-tool-bridge.mjs:200 \u00B7 server/src/services/run-tool-bridge-service.ts:291 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/runtime/run-tool-bridge.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92109108f66f7bef7523ee44adf51f071c2e91e13d80e7f0bc441079a3feeb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:355 \u00B7 server/src/routes/agents.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/routes/agents.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff9239b6fdcfb03d27dd5299eb006708655d613907c0642be026fe0cf94c08a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11 locations): server/src/routes/agents.ts:971 \u00B7 server/src/routes/chat.ts:229 \u00B7 server/src/routes/config.ts:78 \u00B7 server/src/routes/prompt-registry.ts:45 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 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":"server/src/routes/agents.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87a7fd5c7d299ecc6fede7ca84dd9e0f1b92ffc89754bc58384ef347da0d5ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/auth.ts:725 \u00B7 server/src/routes/auth.ts:927 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/auth.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d4bca7d5b9233aae93bb1090169eff5ca94fc1e3e10699f9a3717f9aec8ec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/backlog.ts:36 \u00B7 server/src/routes/backlog.ts:48 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/backlog.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"452fb39a3c4ff9ac2ad16378fba93b21b8a11456a98b6c6761944d4c5481d200"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/backlog.ts:280 \u00B7 server/src/routes/tasks.ts:1492 \u00B7 server/src/routes/tasks.ts:1557 \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/backlog.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"75710f22e6242a34d9f9d072470a2c38dd6ee15f8ee71950717b024967bbf5ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/config.ts:226 \u00B7 server/src/routes/config.ts:242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/config.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd57c0e1a76b41b9afb274d70b9edb6584fe8e8bca757c9e4c974d5415621eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/config.ts:272 \u00B7 server/src/routes/tasks.ts:1015 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/config.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5764a9fff656ac1572fa7c56117ff2aee16011627b4e8e6b2b34210db36536d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): server/src/routes/knowledge-collections.ts:403 \u00B7 server/src/routes/knowledge-collections.ts:415 \u00B7 server/src/routes/maintenance.ts:63 \u00B7 server/src/routes/skill-security.ts:31 \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/knowledge-collections.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7bdab2ea430029f1b01af977856f8c24acb6cd55eb18860ffc21f0b179e2f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/lifecycle-hooks.ts:87 \u00B7 server/src/routes/lifecycle-hooks.ts:109 \u2014 both copies are in the same file, so extract the block into one function there 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/lifecycle-hooks.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6647d86030a2ba27d55a665aa6b2c53dc54a87f64f949fbc6cc4186db49a2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): server/src/routes/scheduled-deliverables.ts:116 \u00B7 server/src/routes/skill-security.ts:103 \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":"server/src/routes/scheduled-deliverables.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff0382d4d074c3d7e0cae3a26178cd10b2bd0ef94533a83b16431793597b6f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): server/src/routes/task-deliverables.ts:36 \u00B7 server/src/routes/task-deliverables.ts:92 \u00B7 server/src/routes/task-verification.ts:27 \u00B7 server/src/routes/task-verification.ts:61 \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/task-deliverables.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a245e4f4ca59299c9e69b1e4f3e002398772a545a384f23ed21fcebfcfbd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/workflows.ts:661 \u00B7 server/src/routes/workflows.ts:718 \u00B7 server/src/routes/workflows.ts:769 \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/workflows.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"49670bc93ebe7edfaac7d1025c6b2fd29a7c868be576e59b77f04d04a4b6a570"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/schemas/doc-freshness-schemas.ts:15 \u00B7 server/src/schemas/doc-freshness-schemas.ts:27 \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/schemas/doc-freshness-schemas.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e7bb0c43bf19d837455193431fd87e6ad66e5f10aa28aa9e70d8fbe422a29b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/schemas/team-roster-schemas.ts:129 \u00B7 server/src/schemas/team-roster-schemas.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":"server/src/schemas/team-roster-schemas.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1404b04772a530d3feba4d39ae901d9901eac5ac735f01ed4e43e9f18d15ae2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/activity-service.ts:85 \u00B7 server/src/services/chat-service.ts:61 \u00B7 server/src/services/workflow-run-service.ts:141 \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-service.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db54863237d6c452087b9ac3ddc172fddaa645072d2463cd9a29cbc0d7f510c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/admission-control-service.ts:1011 \u00B7 server/src/services/admission-control-service.ts:1252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a53a2e88fadd57c165a04d42707f67c608b2f879d84016c1b4d555ae043672"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/automation-activation-service.ts:1090 \u00B7 server/src/services/run-file-execution-policy-service.ts:538 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/automation-activation-service.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef2a79bc4b8f5b988bf6b43b602e9d2aa3dd2f976ded4d655085127b0c28e83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): server/src/services/automation-draft-service.ts:75 \u00B7 server/src/services/automation-draft-service.ts:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2143fc834809c8cf6033b64b42123973ee5f28031eafbd5ffe7eda5570f8d7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): server/src/services/buzz-communication-service.ts:172 \u00B7 server/src/services/buzz-definition-import-service.ts:269 \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":"server/src/services/buzz-communication-service.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1587f99c5b5f1669c69e036487f8df9ac695d63d9ed23c90d558f5f352d5e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): server/src/services/clawdbot-agent-service.ts:6046 \u00B7 server/src/services/clawdbot-agent-service.ts:6693 \u00B7 server/src/services/clawdbot-agent-service.ts:7103 \u00B7 server/src/services/clawdbot-agent-service.ts:7296 \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/clawdbot-agent-service.ts"},"region":{"startLine":6046}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d62d235814b403b6b280f27129ec53e06caa8fcce29e9551136dcbac5225932"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/conflict-service.ts:60 \u00B7 server/src/services/preview-service.ts:152 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/conflict-service.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d756888a899f22d9302a908f7e5bee75d081de6b626e0d3d2a22c0d85208a9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/feedback-service.ts:177 \u00B7 server/src/services/scoring-service.ts:675 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"887d591d2cf2d92c3de2672328c7fe82c3413237f718bdd2f1460528c8e3507c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/harness-conformance-service.ts:284 \u00B7 server/src/services/harness-conformance-service.ts:295 \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/harness-conformance-service.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"facde232904822261e7284475a6d18bd0803084f4396d5dd914f2e0fed06af45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/knowledge-collection-service.ts:133 \u00B7 server/src/services/status-history-service.ts:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"826ace6226136f144b78543bed7b263136d87a4e9b5b39087464bfcda7aa76c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:330 \u00B7 server/src/services/metrics/run-metrics.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/metrics/dashboard-metrics.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5eb1b24b427d4de4cd86ba3596e18de8882a9bfde52a4103398e583bb2aabc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:643 \u00B7 server/src/services/metrics/dashboard-metrics.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/metrics/dashboard-metrics.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb233c1af3a5d6f6049202b773f5292cb873c708ae994c8f0937fc0c3555577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/metrics/telemetry-reader.ts:73 \u00B7 server/src/services/metrics/telemetry-reader.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/metrics/telemetry-reader.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1df4f5034109789dbfa77d7e7d1b12d952e218b8138984e7cdc65bbdac7731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/notification-service.ts:106 \u00B7 server/src/services/workflow-run-service.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":"server/src/services/notification-service.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0093f2cfe97fce2fb308804db9a5571e59402765f8ff9a0e9a5563d30c2252f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/phase-transition-service.ts:52 \u00B7 server/src/services/tool-control-plane-service.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":"server/src/services/phase-transition-service.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d8b36344d9a4c77940c939d4b4a822d9bc2fa82b0daf121e5caa0b36febbe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/progress-watchdog-control-service.ts:55 \u00B7 server/src/services/progress-watchdog-coordinator-service.ts:240 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/progress-watchdog-control-service.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"314e1572b5c6df6a7952cb8962136658af1951f7b551f34b809239ee90bbb670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/progress-watchdog-service.ts:263 \u00B7 server/src/services/progress-watchdog-service.ts:291 \u00B7 server/src/services/progress-watchdog-service.ts:326 \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/progress-watchdog-service.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"eace57db9c503da1cc2fffb83e706959271a9616052b54f1b705763bfffe6d83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): server/src/services/provider-event-evidence.ts:47 \u00B7 server/src/services/provider-event-evidence.ts:89 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-event-evidence.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea583827759c8250dfb9a5d92054ed1451e5ffdb2a827173f0d87508bcaec93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:365 \u00B7 server/src/services/queue-intake-monitor-service.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/queue-intake-monitor-service.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe803cc1d62864523c8d7d56382327ff46f12a593bae3b6e2113e6ffb3fc9e0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/run-file-execution-policy-service.ts:543 \u00B7 server/src/services/run-file-provenance-service.ts:505 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-file-execution-policy-service.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc8bf691ef45a64523158cf46f2c49eb0d945d8b6b7569b742749c56afaff69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/run-launch-manifest-service.ts:772 \u00B7 server/src/services/task-envelope-service.ts:876 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-launch-manifest-service.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0c0cec6bafed7c7322560d948a68e76f15baa5378d99cf90ff0d935259153e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/scheduler-service.ts:339 \u00B7 server/src/services/scheduler-service.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/scheduler-service.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac3e5df83d99045b810a6e977573cdbeaf135736fc48a23306f2b9d34ccdd7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/search-service.ts:1387 \u00B7 server/src/services/search-service.ts:1401 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/search-service.ts"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef65401d6cf5d206208a68ec579165e6406f128429b6833e66c540127f14be0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/task-service.ts:249 \u00B7 server/src/storage/task-file-repository.ts:525 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/task-service.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"164bf17a1762af2a815e9191770ef0edd91f978993c53ca8fd27a72d93e6ba79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/task-service.ts:1796 \u00B7 server/src/services/task-service.ts:1810 \u2014 both copies are in the same file, so extract the block into one function there 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/task-service.ts"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d852a96580207413068255b8392dd373f23ccf40055fedce8e0da9a0bd058bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): server/src/storage/agent-permission-repository.ts:127 \u00B7 server/src/storage/run-event-repository.ts:115 \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":"server/src/storage/agent-permission-repository.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c94cc792512fe33c11c538b0cb4bcc1dd2b4c3412bcb7d1d99ddc09103e16f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/storage/dependency-circuit-override-repository.ts:82 \u00B7 server/src/storage/dependency-circuit-state-repository.ts:109 \u00B7 server/src/storage/fs-helpers.ts:159 \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/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acdd6298ec66f44ceb69b1a499082436b2c70a891a948395c8ca2ee237496c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/storage/error-analysis-repository.ts:39 \u00B7 server/src/storage/error-analysis-repository.ts:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/error-analysis-repository.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"45888f7b143a9f8fa3657536b7f7199d27b6c04ae429c20be9f899d4608f588d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/storage/knowledge-collection-repository.ts:462 \u00B7 server/src/storage/knowledge-collection-repository.ts:544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"243ea5de353de63b6d2ffa2aa7d0283415edf9405ded2238b0c0d05d4101c0e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12 locations): server/src/storage/sqlite/governance-repositories.ts:109 \u00B7 server/src/storage/sqlite/governance-repositories.ts:216 \u00B7 server/src/storage/sqlite/governance-repositories.ts:228 \u00B7 server/src/storage/sqlite/governance-repositories.ts:270 \u00B7 \u002B8 more site(s) not listed \u2014 the 6 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/governance-repositories.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca47a9a7f80c0ab8fd7d6778c1919845bc41c15ae2dc812b722f0dbab760451"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/utils/filesystem-sandbox-runtime.ts:498 \u00B7 server/src/utils/filesystem-sandbox-runtime.ts:509 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8050353be097947aefc447bd70f3d6bf43df4317d71c200487a8928c7b9de9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): web/src/components/backlog/BacklogPage.tsx:309 \u00B7 web/src/components/workflows/WorkflowRunList.tsx:197 \u00B7 web/src/components/workflows/WorkflowRunView.tsx:692 \u00B7 web/src/components/workflows/dashboard/ActiveRunsList.tsx:44 \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":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"256b6f1efd493be67784ff4021f994039c68491eb258054f2c24bcdfa3495154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/src/components/chat/ChatPanel.tsx:325 \u00B7 web/src/components/task/SubtasksSection.tsx:99 \u00B7 web/src/components/task/TaskMetricsPanel.tsx:245 \u00B7 web/src/hooks/useBulkActions.tsx:30 \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":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"677f7ee5164f06d4303a05f0598fc5ca46e6a9e8857657af7706f89263ec0d18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/dashboard/ExportDialog.tsx:41 \u00B7 web/src/components/task/ApplyTemplateDialog.tsx:71 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5c5dba070e52a6e8c44fed10d5082922de614e30e45c13f82d0fcb93955118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/src/components/digest/OperationsDigestPage.tsx:277 \u00B7 web/src/components/settings/tabs/MaintenanceTab.tsx:481 \u00B7 web/src/components/settings/tabs/MaintenanceTab.tsx:517 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:248 \u2014 the 4 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17858f02d70151a079a5f1f13885d37f24f4cf554e71cb74d292e4c3be18d23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/layout/DesktopBottomPanel.tsx:21 \u00B7 web/src/components/layout/Header.tsx:72 \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":"web/src/components/layout/DesktopBottomPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afb923372a1af0df5d3071c8c26f928ee5a8d69bb79aea014672887438e15ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/src/components/policies/PolicyManager.tsx:369 \u00B7 web/src/components/settings/tabs/SchedulerTab.tsx:86 \u00B7 web/src/components/task/WorkProductsSection.tsx:135 \u00B7 web/src/components/task/WorkProductsSection.tsx:231 \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":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca13fcc715926d46802f601fc4953ee488084f418c38add86c85084d0cce12f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/scoring/ScoringProfiles.tsx:633 \u00B7 web/src/components/scoring/ScoringProfiles.tsx:692 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"5089552cfe9ad765b0b192fcd7183fdaf7c25d9060de2d09abaa2ffc01d21834"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/settings/tabs/ManageTab.tsx:165 \u00B7 web/src/components/settings/tabs/ManageTab.tsx:228 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e71c7307fdddc25970fb121eff1681ae4adff14cd178e4666928ff72070fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:997 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:1201 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"66392f04fad33e1b3aa38ca129843070ed325f74c4e06d2e06399f9f9bae1032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/task/AgentPanel.tsx:753 \u00B7 web/src/components/task/ReviewPanel.tsx:264 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bb6e46ff33475b40aa92aed934e64cbef3671f4f2c37c7581e2b72dea027dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/task/AgentRunTimelinePanel.tsx:1127 \u00B7 web/src/components/task/ApplyTemplateDialog.tsx:75 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b1edf9eedb6eeba47fa44bc247b5cabd38ca0bd7e32babc83f0cfb259a6185"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/components/task/CommentsSection.tsx:172 \u00B7 web/src/components/task/DeliverablesSection.tsx:196 \u00B7 web/src/components/task/DeliverablesSection.tsx:444 \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":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9040e068a8dcb87a834bfe4898cf146e65cd4ec0bcdccb9341e6961d24b48b23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/task/git/WorktreeStatus.tsx:446 \u00B7 web/src/components/task/git/WorktreeStatus.tsx:501 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6277b02836b1433f0874da256e168123058a142a276a89d90af259e473c6d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/src/components/ui/alert-dialog.tsx:12 \u00B7 web/src/components/ui/dialog.tsx:13 \u00B7 web/src/components/ui/select.tsx:43 \u00B7 web/src/components/ui/sheet.tsx:15 \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":"web/src/components/ui/alert-dialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81b7170a3118368bb27cd3ac230fcfff41be6fb7d29e9c90305827182bc9b80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/ui/popover.tsx:75 \u00B7 web/src/components/ui/sheet.tsx:185 \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":"web/src/components/ui/popover.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27df7d924e79915d13694ebfc7a1d5890f2ca4a0e40f1e4394c7160d2200d14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/workflows/WorkflowAuthoringPanel.tsx:810 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:848 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e5cec6fd6c2c2a5a64949535e74ca597cb985d4a554eb24092114590f20cf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/hooks/useConfig.ts:143 \u00B7 web/src/hooks/useConfig.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":"web/src/hooks/useConfig.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"075a8ac45e5a81ce68d68edd72dd445e6b0c6c8edb8e184740f21f5f6c4f9857"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/hooks/useIdentity.tsx:377 \u00B7 web/src/hooks/useIdentity.tsx: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":"web/src/hooks/useIdentity.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c401362ef2326ff2b82b27ed073b099565b5d759763611e22bb2bbce83dda05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/src/hooks/useQueueMonitors.ts:10 \u00B7 web/src/hooks/useQueueMonitors.ts:26 \u00B7 web/src/hooks/useScheduler.ts:58 \u00B7 web/src/hooks/useScheduler.ts:74 \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":"web/src/hooks/useQueueMonitors.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"60710ad98a8e18a9f46b5973a14d2c669d391ab6777a4c9fe36b83541607afc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/hooks/useSandboxPolicies.ts:17 \u00B7 web/src/hooks/useSandboxPolicies.ts:29 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useSandboxPolicies.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f2670fd5d949a2b34d81c41771c94829f72d8cfc060815ad6e5f14136cfb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/hooks/useTasks.ts:543 \u00B7 web/src/hooks/useTasks.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":"web/src/hooks/useTasks.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81b709383eae860a531469ff1a8d33008b98d08b37d32e1e176ebf6c663aeeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/lib/api/diff.ts:97 \u00B7 web/src/lib/api/prompt-registry.ts:46 \u00B7 web/src/lib/api/scoring.ts:28 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/diff.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"56653a24775d69b32684d67ce30991185a6e2b4910c3587077fd23b6c5c84775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/lib/api/entities.ts:15 \u00B7 web/src/lib/api/scoring.ts: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":"web/src/lib/api/entities.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbff5e6be95af23541c221ff7d5b8b32fa3279de8bf2d7fd457f9c9548b4110f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/lib/api/integrations.ts:131 \u00B7 web/src/lib/api/integrations.ts:191 \u00B7 web/src/lib/api/run-sessions.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":"web/src/lib/api/integrations.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d614854041642c54ad745a6603fd4d3c9c7b5e598b53f09cadc16f900c2eddf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): cli/src/commands/agent-status.ts:15 \u00B7 cli/src/commands/github.ts:56 \u00B7 cli/src/commands/workspaces.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":"cli/src/commands/agent-status.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83018af4c9f3a743c1fd93b1c475185db8bd896fed7c5a5dd3feac5b4b07eaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): cli/src/commands/agents.ts:477 \u00B7 cli/src/commands/projects.ts:14 \u00B7 cli/src/commands/sprints.ts:168 \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/agents.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6db22abef55b3a5b8b4d1ee0307e393e26a11ce6c68d76715d6ad7f7acabc3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/agents.ts:586 \u00B7 cli/src/commands/summary.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":"cli/src/commands/agents.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a91d63ee0e24b4c08864bbd1b91f509433427f5c19de026bfb4bdb0760b3b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): cli/src/commands/agents.ts:753 \u00B7 cli/src/commands/agents.ts:1017 \u00B7 cli/src/commands/notifications.ts:72 \u00B7 cli/src/commands/notifications.ts:114 \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":"cli/src/commands/agents.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"48509d9293c255e1e2224b3c82f418c5927b737aec90cbd732694284413fa2fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/automation.ts:131 \u00B7 cli/src/commands/notifications.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":"cli/src/commands/automation.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aeb39ad8ff8ac428f592562b71e704783e7aaa29523dd63cd4fdfa80eea669"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/backlog.ts:50 \u00B7 cli/src/commands/tasks.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":"cli/src/commands/backlog.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da187e10b4f5a523cd6e6d76a04c0c1e02b68d67281ddcf945de2cbeeaa18c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): cli/src/commands/comments.ts:10 \u00B7 cli/src/commands/workflow.ts:75 \u00B7 cli/src/commands/workflow.ts:147 \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/comments.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df6a0fa15a8c6e926bcd5a13ee8b53f325d350d9ce290205342f7cb370136be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/scheduler.ts:346 \u00B7 web/src/components/settings/tabs/SchedulerTab.tsx:482 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/scheduler.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2856033873ff139876843ac20920c441f117b40ed3f5d7ff3a17d1bfe88b2c2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/usage.ts:77 \u00B7 cli/src/commands/usage.ts:163 \u2014 both copies are in the same file, so extract the block into one function there 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/usage.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f130d862cf273f8ab32e1126e6589b15b4d54da8b15db285497ede38f7a3861"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): desktop/src/main/settings-window.ts:46 \u00B7 desktop/src/main/settings-window.ts:126 \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":"desktop/src/main/settings-window.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"509cd4a0e19ca1c384b882ea1345825c8caa51483b4c256865ce5db14cc2c4df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): mcp/src/tools/agents.ts:303 \u00B7 mcp/src/tools/automation.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":"mcp/src/tools/agents.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbfb38e29eb7a1d9a1f5850420a74b80e71796c19a89ee81bb448ab3ab49144"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/capture-local-macos-release.mjs:145 \u00B7 scripts/promote-local-macos-release.mjs: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":"scripts/capture-local-macos-release.mjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"abca19d359e1ecad1a16f7131d68039553ee943ae028b7102dedcdb96e6370b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/capture-local-macos-release.mjs:481 \u00B7 scripts/promote-local-macos-release.mjs: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":"scripts/capture-local-macos-release.mjs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dd0c6e75d66b28bb8289ba9c32042fa6ec65b85b250d3a4d5953ef69e09556"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/check-delivery-cadence.mjs:293 \u00B7 scripts/check-service-filesystem-boundary.mjs:134 \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":"scripts/check-delivery-cadence.mjs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42d194fb74d981d49f8392ebea291ddc68ab9173dc2120119cdd6146f9d0db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/check-mantine-qa-gate.mjs:46 \u00B7 scripts/smoke-cli-mcp-compat.mjs:88 \u00B7 scripts/validate-release.mjs:258 \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":"scripts/check-mantine-qa-gate.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baeed1c7610a3fc7da5b8c9986655ec14ab4283a83321566846dd0f8df20523"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/docs-media/run.mjs:33 \u00B7 scripts/native-ui/run.mjs: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":"scripts/docs-media/run.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"004e323e3ef0c5a4dbc70dda8362352444bf1d09cd15a338390618665e0feb6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/native-ui/shutdown.mjs:10 \u00B7 scripts/native-ui/task-deep-links.mjs:10 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/native-ui/shutdown.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf7f8eda450456581d47bdf22c6a15826d7b68ef95608b63ebcb8cf195eb23d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/select-ci-test-scope.mjs:167 \u00B7 scripts/select-ci-test-scope.mjs: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":"scripts/select-ci-test-scope.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba4e33c82f096a16bc76a1a8790672fbb35d387dc59c7c1705101921ea7b316"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/routes/agent-permissions.ts:96 \u00B7 server/src/routes/lifecycle-hooks.ts:73 \u00B7 server/src/routes/notifications.ts:188 \u00B7 server/src/routes/reports.ts:62 \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/agent-permissions.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5387f737ec6d955ed468577d8c913acf2cc31d022db29948ecbbfe473524aa29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): server/src/routes/agent-registry.ts:163 \u00B7 server/src/routes/managed-list-routes.ts:32 \u00B7 server/src/routes/prompt-registry.ts:60 \u00B7 server/src/routes/prompt-registry.ts:141 \u00B7 \u002B2 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-registry.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"610cb0e982bd887fad426043141015a9712d2db471d076a6eafc8c3afc14f968"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:473 \u00B7 server/src/routes/tasks.ts:1768 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"071b183e0e2973d3c53c4fc5680a65f1b3ea417061390399326d1d2bd57ee54f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): server/src/routes/agents.ts:748 \u00B7 server/src/routes/config.ts:414 \u00B7 server/src/routes/task-archive.ts:65 \u00B7 server/src/routes/task-archive.ts:105 \u00B7 \u002B2 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f24df0d224e799b38d3033deec582fc9dea14441872dde5bbb3df24d320358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:825 \u00B7 server/src/routes/prompt-registry.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":"server/src/routes/agents.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c80412d56cda7d24dd1a0d7319f85f962f8d899df004a4f494f6a09799696"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10 locations): server/src/routes/agents.ts:975 \u00B7 server/src/routes/chat.ts:236 \u00B7 server/src/routes/config.ts:82 \u00B7 server/src/routes/prompt-registry.ts:49 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already 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 10 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/agents.ts"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e88f72edc15f141fba0c0b7e27e3098b7043964bdf576b90d80e9d35822ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/auth.ts:709 \u00B7 server/src/routes/auth.ts:823 \u00B7 server/src/routes/auth.ts:908 \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/auth.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0717c6f8b6b3bf801d094a8a45052c5757ce6814e2c3897b5e4c7b743191954"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): server/src/routes/automation.ts:61 \u00B7 server/src/routes/backlog.ts:98 \u00B7 server/src/routes/managed-list-routes.ts:24 \u00B7 server/src/routes/prompt-registry.ts:52 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/automation.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2231b1ea89cfbcbb1b5419e578c6b5e2fbe9bfaa76decfed0557b195040cd4c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 17 locations): server/src/routes/backlog.ts:112 \u00B7 server/src/routes/backlog.ts:141 \u00B7 server/src/routes/backlog.ts:216 \u00B7 server/src/routes/backlog.ts:257 \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":"server/src/routes/backlog.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2239175059be2917ac61e5ad33c31872b056c83d55c204a52ffacbb7e3a5a56c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/routes/backlog.ts:168 \u00B7 server/src/routes/prompt-registry.ts:103 \u00B7 server/src/routes/task-deliverables.ts:146 \u00B7 server/src/routes/task-verification.ts:97 \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/backlog.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc1ea40d0765624293f316c2c9290d49b00a3cd0afb3a5609eea6fb3410aa27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/backlog.ts:245 \u00B7 server/src/routes/tasks.ts:1433 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/backlog.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1617724b4adcbe40b0655300ded294d55909f18fa4ec04c32c9658f21cc48d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/broadcasts.ts:66 \u00B7 server/src/routes/doc-freshness.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/broadcasts.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d3d29970223e00bff38e2635a2b1e52a961a1484727db0613bca7826c148ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/chat.ts:253 \u00B7 server/src/routes/chat.ts:460 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bcaabd04119c6d095073341bdf0a3baa854e98972b6570d3f40ea5b8d85619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/docs.ts:75 \u00B7 server/src/routes/docs.ts:91 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/docs.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5914852b8bdabe388fe8ddfdf9e1714c448d3c0c525b6f0da97e97fc4c0b6a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/drift.ts:60 \u00B7 server/src/routes/drift.ts:75 \u2014 both copies are in the same file, so extract the block into one function there 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/drift.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75b4f037ecff05ba63b91dabed6e0f49dd4c38fda5966cce8bfd09f9fe01e8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/routes/error-learning.ts:138 \u00B7 server/src/routes/reports.ts:121 \u00B7 server/src/routes/scheduled-deliverables.ts:58 \u00B7 server/src/routes/shared-resources.ts:52 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. 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/routes/error-learning.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25c7e4b62b8d4a793afec2b644ee289b8835952ebaafb73fa3bdac44e071a50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/external-trackers.ts:109 \u00B7 server/src/routes/external-trackers.ts:143 \u00B7 server/src/routes/work-products.ts:93 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/external-trackers.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29e6db6db8e90f6aeb69f9e692b755fc2c9492bbba7daa0d6d4578fb2557ad0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/feedback.ts:28 \u00B7 server/src/routes/scoring.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/routes/feedback.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"372a4e35d5b090df90cc413fb002a140e06fc34f3f89baa5deb0f1bef8684d7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/routes/github.ts:55 \u00B7 server/src/routes/github.ts:85 \u00B7 server/src/routes/prompt-registry.ts:74 \u00B7 server/src/routes/templates.ts:131 \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/github.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bd4eb3cb3a5fba4ee4614603c34d21e5339e48fbba25c48b88abc031722d63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/health.ts:363 \u00B7 server/src/routes/health.ts:387 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c67dfaaebe814d8bacad8f2366714f9e5f9ea8ce296db6fc9db82ec07fd1a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/identity.ts:158 \u00B7 server/src/routes/identity.ts:229 \u00B7 server/src/routes/identity.ts:243 \u00B7 server/src/routes/identity.ts:295 \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/identity.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0923848a57bc8c056c23287bdda6ad3c644ecd1ce0dd602b1e70d7488e436c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/identity.ts:169 \u00B7 server/src/routes/sqlite-portability.ts:62 \u00B7 server/src/routes/sqlite-portability.ts:75 \u00B7 server/src/routes/sqlite-portability.ts:95 \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/identity.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacc7c85ad8da518969b0ed9813186487c8fff400a7ddc523d372c8ea21015af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/identity.ts:344 \u00B7 server/src/routes/search.ts:31 \u00B7 server/src/routes/search.ts:58 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/identity.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba33e743fa5f733c1b917071190e122c7006987cab4e2f88cacc4163ce82606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/integrations.ts:319 \u00B7 server/src/routes/skill-security.ts:73 \u00B7 server/src/routes/skill-security.ts:92 \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/integrations.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e660bf36a706656ae3f933a9a0a2c8e2c6f38065a195c1dbd94788cadef686c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/lifecycle-hooks.ts:98 \u00B7 server/src/routes/reports.ts:41 \u00B7 server/src/routes/scheduled-deliverables.ts:62 \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/lifecycle-hooks.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0349cd1b932a094ea845fe73c22a6cc5443721cc1e61e532272b426b2429dde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): server/src/routes/metrics.ts:45 \u00B7 server/src/routes/metrics.ts:60 \u00B7 server/src/routes/metrics.ts:75 \u00B7 server/src/routes/metrics.ts:90 \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/metrics.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"301ec6859d4ac72c3b5dc2eff20d4d07d16da85b6d69da16cc1d6eaf6bb373a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/run-terminals.ts:169 \u00B7 server/src/routes/run-terminals.ts:180 \u00B7 server/src/routes/run-terminals.ts:199 \u00B7 server/src/routes/run-terminals.ts:216 \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/run-terminals.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e218169685aba869b0ccad9e6b633740d5f00980ab2416fb8a593b4a0e54f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/task-subtasks.ts:105 \u00B7 server/src/routes/task-subtasks.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/routes/task-subtasks.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba763c4740b4a2e2556c17a2d8e266b2eabd9a920860ef10fff8fed59de52bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/tasks.ts:1704 \u00B7 server/src/routes/tasks.ts:1726 \u00B7 server/src/routes/tasks.ts:1751 \u00B7 server/src/routes/tasks.ts:1924 \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/tasks.ts"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5dc8deb29ad215809addb0270e1b76be3ed8177d175a6604471b78d959c3c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/templates.ts:22 \u00B7 server/src/routes/templates.ts:80 \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/templates.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f2fba3d6e3ceb047fb2c1d20a387ef8fdb3a51f55ccf13f92aa6cf3a629116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/work-products.ts:180 \u00B7 server/src/routes/work-products.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/work-products.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36c6d2c98c7bb66abfc22adc7987425248ea085a3ffa532b0e161e0f9a7c795"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/src/schemas/admission-control-schemas.ts:112 \u00B7 server/src/schemas/harness-support-profile-schemas.ts:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/admission-control-schemas.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2c73b2df95e7550267eaf7a4340c3ded549376fbb86d4fa0ddf93ab595f4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/schemas/durable-goal-schemas.ts:175 \u00B7 server/src/schemas/durable-goal-schemas.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/schemas/durable-goal-schemas.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae77621d99719451bb1efe73319a0b4161bc8ffcc8dc78e23a7c89fb93621c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/acp-stdio-adapter.ts:882 \u00B7 server/src/services/buzz-definition-import-service.ts:106 \u00B7 server/src/services/run-file-provenance-service.ts:501 \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/acp-stdio-adapter.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"392048a97fd5357795e7f814b614f86f0d7f358f55991f7a26a2e061fd596782"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:1014 \u00B7 server/src/services/buzz-definition-import-service.ts:1324 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"762b52c76d13018582978321b72e33b1a2dcfcd51429714f76936f3e4aa104ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/src/services/chat-service.ts:87 \u00B7 server/src/storage/chat-repository.ts:82 \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":"server/src/services/chat-service.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb94cb115a1410cd5465d463d45d528823e60861dc99acb7251748fd9710f3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:4961 \u00B7 server/src/services/openclaw-completion-service.ts:153 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":4961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c643b9178df74fddb3017954caf2efe3a38a1e2ceb9156af5d3157eb65c692c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6181 \u00B7 server/src/services/clawdbot-agent-service.ts:6756 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050ab13cc0e6a16ab72419f67c475ad6a68167fbabd4d4f0ab2e451cfbc82b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6222 \u00B7 server/src/services/clawdbot-agent-service.ts:6790 \u2014 both copies are in the same file, so extract the block into one function there 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/clawdbot-agent-service.ts"},"region":{"startLine":6222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56c81c408fa7250090502b4b11defed6c32f49796f9af6e874e128ddc9c3bdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:9520 \u00B7 server/src/services/workflow-run-service.ts:2802 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/clawdbot-agent-service.ts"},"region":{"startLine":9520}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2b5a8e4fc8faa37a8237f3531b278d28414a9e9275ce62eb9e7be2b2042408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:736 \u00B7 server/src/services/communication-adapter-service.ts:2315 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbe3754cf48fb9577f27206fa935bdc7c42239fdbd4d52501cd636f06182c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:1060 \u00B7 server/src/services/communication-adapter-service.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/communication-adapter-service.ts"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edeac953b162658efc1d39c3b9d2f39dab48dc5e55c48dba14a0d7e30f31347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/config-service.ts:229 \u00B7 server/src/storage/sqlite/settings-repository.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":"server/src/services/config-service.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"983b586c31704452f8043d918e24f9290359881122931dc136b7997799a51a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/config-service.ts:307 \u00B7 server/src/services/telemetry-service.ts:74 \u00B7 server/src/services/work-product-service.ts:55 \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/config-service.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c90e18e945ca41f4a67166db94db740264ba6a17ffdf3c1c9564e3245eed95c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/config-service.ts:438 \u00B7 server/src/storage/sqlite/settings-repository.ts:134 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/config-service.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e1a54833bb304ee3746f2f4f75fa742cb421b0aec363b3c7b88eff1a30f7ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/cost-prediction-service.ts:227 \u00B7 server/src/services/error-learning-service.ts:229 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cost-prediction-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5746fb0437e78508f86552aa5a28fb7ca6222da38178d994fc2a89993ee3b71f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/decision-review-service.ts:101 \u00B7 server/src/services/decision-review-service.ts:140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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-review-service.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4f4cbdc58dcb55033ded04b2872b89dfc796bb0330dce10d6e172b72233aa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/evidence-timeline-service.ts:330 \u00B7 server/src/services/evidence-timeline-service.ts:357 \u00B7 server/src/services/evidence-timeline-service.ts:386 \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/evidence-timeline-service.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a896f8356d3bfbe69237161952b02a17bb1d1afb1364d476b4cbe68b96a6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/feedback-service.ts:261 \u00B7 server/src/services/scoring-service.ts:392 \u00B7 server/src/services/scoring-service.ts:425 \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/feedback-service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d767e3c056960eebeb7e185735866a7b0f4845a85e656cd275643a6dcf441b11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/managed-list-service.ts:244 \u00B7 server/src/storage/sqlite/managed-list-repository.ts:157 \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/managed-list-service.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"664f77effc9b5b341f18b28a54f20f3590e6f90379c3f69ffc42b13e83d7a869"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/src/services/metrics/helpers.ts:190 \u00B7 web/src/components/dashboard/AgentComparison.tsx:79 \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":"server/src/services/metrics/helpers.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f2bb5b3de202fd30eaa92d1512a9ce6fe6cc5ab4e6dc68070210b99eb42165"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/metrics/telemetry-reader.ts:134 \u00B7 server/src/services/metrics/telemetry-reader.ts:236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c24ef04a3bfe4e40148c6e1f0c06f1253839ecd845782e7a3beef0db603f741"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/mime-validation.ts:310 \u00B7 server/src/services/mime-validation.ts:322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mime-validation.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c127e5ae0c7d3bbae72843d3a3ad93d58b114c1712182b27cd745bc46b5a30fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/openclaw-workflow-adapter.ts:394 \u00B7 server/src/services/openclaw-workflow-adapter.ts:655 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/openclaw-workflow-adapter.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9479d94e413397ffdaaf5cba36747b5a294d148c952f51db52590dbc348e2b2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/outbound-integration-service.ts:269 \u00B7 server/src/services/outbound-integration-service.ts:289 \u00B7 server/src/services/outbound-integration-service.ts:351 \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/outbound-integration-service.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e068a809c37bb845745d69902c7a83115019bd16e81363435027ed974d88da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/outbound-integration-service.ts:371 \u00B7 server/src/services/outbound-integration-service.ts:399 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/outbound-integration-service.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efd342db59479d737e618c34a1338ff5b29086aa734d0bd44a36b224a799cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/run-egress-gateway-service.ts:445 \u00B7 server/src/services/run-egress-gateway-service.ts:517 \u2014 both copies are in the same file, so extract the block into one function there 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/run-egress-gateway-service.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8684d3f2d6c75d0856aa13e8a77411011a9e128511b3d7c7b7adf5d165e7bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/scheduler-service.ts:298 \u00B7 server/src/services/scheduler-service.ts:342 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scheduler-service.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b26f16460e34da8cabf5ef5ed4124402b40ddb4842e54f868081ec976a9403e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/scoring-service.ts:248 \u00B7 server/src/services/scoring-service.ts:259 \u2014 both copies are in the same file, so extract the block into one function there 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/scoring-service.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa4c44724704ad53c17e7a5acb16ac233abe501f8bf4389e72ed041abd220fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:1308 \u00B7 server/src/services/sqlite-portability-service.ts:1333 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eeb2478e873b94828c7ab9d0533887802171a46eae2b9a7a66fe332a8ebc0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/task-service.ts:771 \u00B7 server/src/services/task-service.ts:1409 \u00B7 server/src/services/task-service.ts:1448 \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/task-service.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423773113a4e7ee0b4bbf4fe01aae844acc565258c87e2ad2baab1ad675547c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/task-service.ts:1755 \u00B7 server/src/services/task-service.ts:1849 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-service.ts"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"d241bd04ae40753e1b305b9593b1e504043ace00bd5c50a20b5ba9bb2f0e25da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/task-service.ts:1950 \u00B7 server/src/services/task-service.ts:1985 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-service.ts"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d3336fece517fe9e0f20e47fc18259b9ab17453fdff9c84592bd57f1b56186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/time-breakdown-service.ts:456 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:583 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/time-breakdown-service.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9b26cbdfb8a819f8875e56e21cb7c4a6390616f03100762a490cc4450c335a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/src/services/tool-policy-service.ts:213 \u00B7 server/src/services/tool-policy-service.ts:331 \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":"server/src/services/tool-policy-service.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c7ffb31f02b43be9092410bbffdcc0afceb028c60d9968aa7db2407effab82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:883 \u00B7 server/src/services/workflow-run-service.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/workflow-run-service.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe54a98390399b089fef3ee736e5f7cce917103e48e41f21c2dd50b6ea85f1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1248 \u00B7 server/src/services/workflow-run-service.ts:1317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d7829b09624f1ad7d306ea61a98227fc38947b01ef069bcf92214b85468e84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1995 \u00B7 server/src/services/workflow-run-service.ts:2052 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"390d929e688c9a6bfbdd786643068557f3b526cfae8a03b495c155c97e75eb07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/storage/admission-reservation-repository.ts:346 \u00B7 server/src/storage/admission-reservation-repository.ts:377 \u00B7 server/src/storage/reflection-extraction-job-repository.ts:89 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e1fbd74a99fe88d1427e498656cbfa7b66d34fa6846dfc69bd090e430ed3ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): server/src/storage/admission-reservation-repository.ts:488 \u00B7 server/src/storage/durable-goal-repository.ts:113 \u00B7 server/src/storage/reflection-extraction-job-repository.ts:138 \u00B7 server/src/storage/run-approval-repository.ts:112 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d647cffb2df6b85fbc05f6920c76854b318fdce1f646b5f8c2c0ac8972b24f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/src/storage/agent-permission-repository.ts:53 \u00B7 server/src/storage/agent-permission-repository.ts:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 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/storage/agent-permission-repository.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc6146d0ab2e497aa35f1c10716c64ac6d91b39bb28cd1de8f2b35271cc2bb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/storage/dependency-circuit-override-repository.ts:94 \u00B7 server/src/storage/dependency-circuit-state-repository.ts:121 \u00B7 server/src/storage/telemetry-file-repository.ts:38 \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/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"817466ff94875357dc98e2c8ddcc51d8dee02d910fb26cf2d3a2cd021c9abe0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/storage/durable-goal-repository.ts:64 \u00B7 server/src/storage/reflection-extraction-job-repository.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":"server/src/storage/durable-goal-repository.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"155c9de653ff1073ccea8c193de97b34d7538dd3e32ab54ca227c5a02ef49921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/storage/sqlite/device-session-repository.ts:218 \u00B7 server/src/storage/sqlite/device-session-repository.ts:329 \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/storage/sqlite/device-session-repository.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"add691248a1069a10b451e2c55a814add09078ba315a0b02ce4687244bf73d49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/storage/sqlite/reflection-extraction-job-repository.ts:63 \u00B7 server/src/storage/sqlite/run-output-artifact-repository.ts:97 \u00B7 server/src/storage/sqlite/work-product-artifact-repository.ts:119 \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/storage/sqlite/reflection-extraction-job-repository.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b3d18b363b6804f5632ce6b0c3bc39bd0e851ef094badbdc72ec74ebd3c4df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/storage/workflow-definition-repository.ts:138 \u00B7 server/src/utils/filesystem-sandbox-runtime.ts:584 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workflow-definition-repository.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"86af24e69843abc95339276e05ec3053934dd8cfae08513f696f2773ab845955"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/src/storage/workflow-run-repository.ts:124 \u00B7 server/src/storage/workspace-execution-trust-repository.ts:507 \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":"server/src/storage/workflow-run-repository.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"856e3114c9c49a898a307ad8168780e10caf8cac9654e1d1ee4d136c1aaa7936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:383 \u00B7 server/src/storage/workspace-checkpoint-repository.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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"29667ef1464b9c0f91fcb734b0dfa7cc5ce90466818baa6178fc6d74ac663666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/utils/completion-result-digest.ts:4 \u00B7 server/src/utils/run-launch-manifest-digest.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/utils/completion-result-digest.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac4331e4855e0cbcfda317eefefc1998b756090754d95e1a4f16c2a7c34423b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/board/BulkActionsBar.tsx:125 \u00B7 web/src/components/board/BulkActionsBar.tsx:168 \u00B7 web/src/components/board/BulkActionsBar.tsx:207 \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":"web/src/components/board/BulkActionsBar.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00f170e1b47d63cff2339e355a747fca69a8537448f403614c6634659bdc7be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/src/components/dashboard/AgentComparison.tsx:264 \u00B7 web/src/components/dashboard/AgentComparison.tsx:274 \u00B7 web/src/components/dashboard/AgentComparison.tsx:284 \u00B7 web/src/components/dashboard/AgentComparison.tsx:294 \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":"web/src/components/dashboard/AgentComparison.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d752703da3853cb75f447cb1b77de872efcf12f1bf038fd1dc0ac573646d67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/dashboard/ErrorsDrillDown.tsx:34 \u00B7 web/src/components/dashboard/TasksDrillDown.tsx:106 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/ErrorsDrillDown.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dea3f7d00a736fbaf889d596d0ee534a14c80ed11e70638be3ec7a5f1b5785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/decisions/GovernanceTraceDetail.tsx:126 \u00B7 web/src/components/decisions/GovernanceTraceDetail.tsx: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":"web/src/components/decisions/GovernanceTraceDetail.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ab387f601f36e833eafd85cef23d3b941a2b6dace30996ebd096f6076ea65f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/digest/OperationsDigestPage.tsx:374 \u00B7 web/src/components/digest/OperationsDigestPage.tsx:447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f337eb99cca99d69a5993a568a6a1ef37a15d40e7a89466cfbf39f1106f5c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/evidence/EvidenceTimelinePanel.tsx:264 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:170 \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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e20cee4d695e47cbd3290967a7f917953579356612b2c5f221ea32467506c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/evidence/EvidenceTimelinePanel.tsx:311 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:274 \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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82d6a961ca213f0d41e1a870488f94f88b5e2b3d31741b3037cd2565488cc20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/layout/ArchiveSidebar.tsx:301 \u00B7 web/src/components/scoring/ScoreExplorer.tsx:84 \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":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0588c2c9d7dbe0cae668e68d2f467ce4f9c535a99dceda7e7e6d2d8c5687d34d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/policies/PolicyManager.tsx:853 \u00B7 web/src/components/policies/PolicyManager.tsx:876 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9d7d949f94b1f56a3312b6e277aa3f16e2544bc938b00b3662837e2a597fd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/policies/PolicyManager.tsx:919 \u00B7 web/src/components/policies/PolicyManager.tsx:929 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7a070ecc18227002789b01a23f482518158f866dfe14bc36aee893a881d6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:1289 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1485 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ae6df09be7ff79f2218cb6bb4742f84c080841119c2e7d6092a7d39b6f8377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/settings/tabs/AgentsTab.tsx:1990 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2818 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:3014 \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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"3184437502ce1a2a55b503fc3a2c5835918c744612848ae1a4a52894296d38ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:2757 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2770 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2757}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c49dde29852dc6144495f14826924c92d9bffcf9ce8610daa572dc49d25097a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/settings/tabs/BuzzConnectionPanel.tsx:88 \u00B7 web/src/components/settings/tabs/NotificationsTab.tsx:188 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0610b6f0c8ac59dc5ad86231eeff0479cc731bd589909feb99308d8edda6b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/settings/tabs/BuzzConnectionPanel.tsx:108 \u00B7 web/src/components/settings/tabs/NotificationsTab.tsx:201 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0615a007347885fa36805f920a9073f04a5c9da86f3257f9f7debeccfced302"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/settings/tabs/ManageTab.tsx:139 \u00B7 web/src/components/settings/tabs/ManageTab.tsx:164 \u00B7 web/src/components/settings/tabs/ManageTab.tsx:227 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"295fa40b4ed22127924b1fa16a37d0073fe129a177da2386835d256a71f7ff4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/settings/tabs/TemplateComponents.tsx:156 \u00B7 web/src/components/task/DeliverablesSection.tsx:188 \u00B7 web/src/components/task/DeliverablesSection.tsx:436 \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":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b061b7e1e969aee91faca3618aff728f4b26d0e0cede1b88af6d1c02c88a4411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx:245 \u00B7 web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx: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":"web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fa92ed730f5b2a9089acec1f04faa6ba7ffc8cbdf98cc537f927889868fa74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/task/AgentRunTimelinePanel.tsx:1621 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx:1634 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx:1681 \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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cc54cef578b55e696db9e91e978cf58351332a32c16f565cdd318bc41bc471"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/task/AgentRunTimelinePanel.tsx:1465 \u00B7 web/src/components/task/ReviewPanel.tsx:264 \u00B7 web/src/components/task/git/PRDialog.tsx:85 \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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a27e2749d0509caba7c728bcb102441272d17f8f38f2cfac5b4df08a33d42c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/task/DependenciesSection.tsx:135 \u00B7 web/src/components/task/DependenciesSection.tsx: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":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0f763a153f0b59b8304a0fef71b0af07dce9623c3f6bcf26bd32748943bc85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/task/WorkflowSection.tsx:58 \u00B7 web/src/components/task/WorkflowSection.tsx: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":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ac77899b617a5f7d974cd70180335e295860237b0338aec4f5fb83f851e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/hooks/useBacklog.ts:74 \u00B7 web/src/hooks/useFeedback.ts:62 \u00B7 web/src/hooks/useSandboxPolicies.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":"web/src/hooks/useBacklog.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c4824623d4b87d14614ce4addc4a5463298963a2e0d314dfb8a0ce196968e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/hooks/useIdentity.tsx:281 \u00B7 web/src/hooks/useIdentity.tsx:292 \u00B7 web/src/hooks/useIdentity.tsx:303 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useIdentity.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71e1e5ea3749422bb6d91ba3fc826915a91880a72e876e3f1735d3f1ea03c0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/hooks/useMetrics.ts:361 \u00B7 web/src/hooks/useTrends.ts:43 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useMetrics.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb61868ef6a6ccca16803b1f8a7368518353d65018304ec19295353f0d2f2da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/hooks/useOperationsDigest.ts:20 \u00B7 web/src/hooks/useOperationsDigest.ts:31 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useOperationsDigest.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4328ea55a769f7849615552c10484674ca2d6823e98590fa670459524d03b7c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/src/hooks/useScoring.ts:47 \u00B7 web/src/hooks/useTasks.ts:494 \u00B7 web/src/hooks/useTasks.ts:585 \u00B7 web/src/hooks/useWorkspaceCapabilities.ts:36 \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":"web/src/hooks/useScoring.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"765213a10ce0fbb023c6fb8015d1c532cf11f330fd962eb192906cc754e36b84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/hooks/useSortableList.ts:70 \u00B7 web/src/hooks/useSortableList.ts:84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useSortableList.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1964664e23984fd0161c7de4fcbad508cf40abb974cb175f9d36a0eead49e8c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/hooks/useTasks.ts:454 \u00B7 web/src/hooks/useTasks.ts:493 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c39001b1a6922b9870f1546e9b1da7b1393b3235302e514bcabd4b53f4266cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/hooks/useWorktree.ts:27 \u00B7 web/src/hooks/useWorktree.ts:52 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useWorktree.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ed62557e827dbb859459b4270f2780113fed37602c9a472f85522ae56f4a36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/lib/api/agent.ts:345 \u00B7 web/src/lib/api/agent.ts:359 \u00B7 web/src/lib/api/entities.ts:46 \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":"web/src/lib/api/agent.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a083c6e938e0f074a6ff3045a8d2d913e93467384a22994bff190116b88c2263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/lib/api/chat.ts:130 \u00B7 web/src/lib/api/chat.ts:141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/chat.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53f69100ffc62744d4c666533580f8ee459702c703bd342ec7daa1cbce63446"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/lib/api/decisions.ts:86 \u00B7 web/src/lib/api/decisions.ts:99 \u00B7 web/src/lib/api/decisions.ts:113 \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":"web/src/lib/api/decisions.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e061dd2ee6b7bc9a3820ded716f89b119e1daa6c46709b781879dd29a4fb819e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/lib/api/diff.ts:6 \u00B7 web/src/lib/api/diff.ts:31 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/diff.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9bc54fda9e3e7a1a8321b1b760e34d259b014ed5fa612e1d400266208bd682"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/lib/api/integrations.ts:179 \u00B7 web/src/lib/api/integrations.ts:209 \u00B7 web/src/lib/api/tasks.ts:88 \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":"web/src/lib/api/integrations.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2438b4659a73ae5f8d0847d972da91a8d792a86944738ac59b3552f03eee27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/src/lib/api/maintenance.ts:29 \u00B7 web/src/lib/api/work-products.ts:16 \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":"web/src/lib/api/maintenance.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11f3845e899488d20b8ea648dbbb6f3f47e8a2a0c63bd168eca3218b8aa47b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/lib/api/tasks.ts:46 \u00B7 web/src/lib/api/tasks.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":"web/src/lib/api/tasks.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"681cb5e7a1b9728f13c701ad98b699b34c013ca15f5593d035cdc14dd6120680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/lib/template-schema.ts:60 \u00B7 web/src/lib/template-schema.ts:102 \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":"web/src/lib/template-schema.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda8c5338434a4d79cda445c823826fa7730b782a277d8418a3d4544ec1bd91d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/commands/agents.ts:167 \u00B7 cli/src/commands/agents.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":"cli/src/commands/agents.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb20da8c7943ae1feaf9c8ee76d974d02b06a3d8fa68072ddafe89fd0e99ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/commands/agents.ts:427 \u00B7 cli/src/commands/sqlite.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":"cli/src/commands/agents.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d9dbdffdda752f791af8646d9280691ce33843b6b94d3600e8a041b2a70be6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): cli/src/commands/agents.ts:792 \u00B7 cli/src/commands/agents.ts:882 \u00B7 cli/src/commands/agents.ts:973 \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/agents.ts"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbc5e3d05f336f3311d6cad3c730c0987e4a109da9c6720ac35bc1d6b1cca7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): cli/src/commands/time.ts:66 \u00B7 cli/src/commands/workflow.ts:67 \u00B7 cli/src/commands/workflow.ts:139 \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/time.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52474a9691f38c9b8150541770cc0037d63296a2894ab01962be0f16dca7ef9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): cli/src/commands/tool-servers.ts:78 \u00B7 cli/src/commands/tool-servers.ts:92 \u00B7 cli/src/commands/tool-servers.ts:103 \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/tool-servers.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6627a203a75deb61a09ab1a3e06e38866f68851e7ec7f362fb4edee6d9227b70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/commands/usage.ts:97 \u00B7 cli/src/commands/usage.ts:184 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/usage.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"508c7a1ed61f00e4e06ac5ee8eedc2baf8cdabac871bbd6171089e91d7ecf6ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/commands/workspaces.ts:124 \u00B7 cli/src/commands/workspaces.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":"cli/src/commands/workspaces.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e02fb8b630fa4fa0d210860c5e4a881c4f0fb7fe91c5b7302984677019abb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): desktop/src/main/runtime.ts:57 \u00B7 desktop/src/main/runtime.ts:113 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/runtime.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde824f26b0f012489f25f4f037b04eb945db6c3de017e82e931d16ce127f628"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/check-coverage-policy.mjs:242 \u00B7 scripts/check-coverage-ratchets.mjs:531 \u00B7 scripts/run-coverage.mjs:106 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-coverage-policy.mjs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"37264d3be59c6a04bc3e1a30c0e2362ac97d463ccc3a7dcec4927434608773db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/config/env.ts:27 \u00B7 server/src/schemas/broadcast-schemas.ts:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/config/env.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66cb6d4d43e3fe0a85bed1628f42f04632fc8dac7e2955f9b2577a49b6cc303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/agent-status.ts:263 \u00B7 server/src/routes/agent-status.ts:323 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-status.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"404c8fdf30d8fe0e2c88784043c5a8557dbef9ba6ae4cd626279c0fbdd45dca3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/attachments.ts:137 \u00B7 server/src/routes/attachments.ts:170 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attachments.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91edcc5f0b46b7ddd279539c69f918ff2291f295dd13a2837915057bc6a5815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/chat.ts:465 \u00B7 server/src/routes/chat.ts:490 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f28a9c15e1dc14118f3d63ff050d2dcdb2fbaa98b5e56743bf1ab223280a1ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/conflicts.ts:27 \u00B7 server/src/routes/diff.ts:32 \u00B7 server/src/routes/preview.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/routes/conflicts.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e906ad267edc6552442cfba96f25dc1111f985c2a2f697c034c222f258b048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/integrations.ts:306 \u00B7 server/src/routes/integrations.ts:324 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/integrations.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8922a6049a90b50589444cea2577a52c6a87f3cfc1864db2e2cd621f8105540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/integrations.ts:350 \u00B7 server/src/routes/skill-security.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/routes/integrations.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa54cddd7da9ff1a1c5e0b821cdc830df6beee9a0788297baaaff319e62025e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/integrations.ts:526 \u00B7 server/src/routes/integrations.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/routes/integrations.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"106a080e662da12bac0c9f8810eea25a8be4e01c6eb19483497dc7c6b37319e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/knowledge-collections.ts:37 \u00B7 server/src/routes/knowledge-collections.ts:53 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/knowledge-collections.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0968e4335d04c6e8288f48eaff9942e46e75300cc94056e8e8b39be439e3a710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 14 locations): server/src/routes/metrics.ts:33 \u00B7 server/src/routes/metrics.ts:48 \u00B7 server/src/routes/metrics.ts:63 \u00B7 server/src/routes/metrics.ts:78 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/metrics.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2de2b97a14a65384126909ffa645ac735b69234e7ab562cd58b50ced902c486"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/routes/prompt-registry.ts:12 \u00B7 server/src/schemas/shared-resources-schemas.ts:31 \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":"server/src/routes/prompt-registry.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7077f5702df466bc805008715f1123cb3ada49264d532a3f8d4a8a194260915c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/routes/prompt-registry.ts:27 \u00B7 server/src/schemas/task-mutation-schemas.ts:23 \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":"server/src/routes/prompt-registry.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89a5503ed0e04523c37a54915c387954a672f80ed8ef84e8b7167f7783c7c8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/queue-monitors.ts:75 \u00B7 server/src/routes/queue-monitors.ts:89 \u00B7 server/src/routes/scheduler.ts:194 \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/queue-monitors.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f162a8f5b6a55964ee69d6e7fef344fe5479ada3ff66b5c3b6ced4b90b89c54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/reflections.ts:246 \u00B7 server/src/routes/reflections.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":"server/src/routes/reflections.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcd53d490b3452466375a95ae91517673d4f57dbd624d16c78ac266da8573df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/routes/reflections.ts:153 \u00B7 server/src/schemas/buzz-definition-schemas.ts:45 \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":"server/src/routes/reflections.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e3f25d32ac0f9ca16fe44945499d4b5f548e5d75cd5e839fb0224c2b29eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/run-sessions.ts:82 \u00B7 server/src/routes/run-sessions.ts:100 \u00B7 server/src/routes/run-sessions.ts:111 \u00B7 server/src/routes/run-sessions.ts:123 \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/run-sessions.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a9c9ea64df68d3134d0b7aa726dcf04a1f187073962f5d92b666f1fcfe129e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/skill-capabilities.ts:88 \u00B7 server/src/routes/skill-security.ts:67 \u00B7 server/src/routes/skill-security.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/skill-capabilities.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"329fe88812f03d2d3144ba8c62c7ed32c27efb58d3510fd22b66bf0101390ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/sqlite-portability.ts:76 \u00B7 server/src/routes/sqlite-portability.ts:86 \u00B7 server/src/routes/sqlite-portability.ts:96 \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/sqlite-portability.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e22e15bf7f9d5664a945fd3999e74ac68cd5ba97893979108cfcfedd6a772d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/summary.ts:17 \u00B7 server/src/routes/summary.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/summary.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eb1eb83997bb9fab7120cc865af0253d60d324c26e4b62d63e43f1ae446874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/task-comments.ts:31 \u00B7 server/src/routes/task-subtasks.ts:31 \u00B7 server/src/routes/task-time.ts:51 \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/task-comments.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a513d95290e24559696e77cb56fc9286f07ea0088feedac43c793e7305f11fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/tasks.ts:778 \u00B7 server/src/routes/tasks.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/tasks.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"508073adac8a83d117698cf3a812bc5b516d435ffabbf2858e38361fc66c38c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/tasks.ts:929 \u00B7 server/src/routes/tasks.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/tasks.ts"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"226ba17a92e2bc032a8eca50b17e02be542ada149e605d382f6c1778c9a09c9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/tasks.ts:1758 \u00B7 server/src/routes/tasks.ts:1883 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tasks.ts"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95eaa30c868b803be6534d58080059ae7edf4c221b1386d1116be7568237e78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/work-products.ts:275 \u00B7 server/src/routes/work-products.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/routes/work-products.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b74f2c2aa06397141d3f218b14e04773350a06109456b6fe5cf544041ee220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/schemas/admission-control-schemas.ts:356 \u00B7 server/src/schemas/task-envelope-schemas.ts:29 \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":"server/src/schemas/admission-control-schemas.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b0ee34ddee02cc2cf9004b5d4767b2c02541754f130986937e1119f47c45aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/schemas/agent-profile-package-schemas.ts:106 \u00B7 server/src/schemas/team-roster-schemas.ts:84 \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/schemas/agent-profile-package-schemas.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc63a82b278316c08021927fdc5e304ad58a9bbd5345898439356ed9a16670ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/schemas/agent-profile-package-schemas.ts:136 \u00B7 server/src/schemas/team-roster-schemas.ts:167 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/agent-profile-package-schemas.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a1817d2eb2628ee0db290ba234c24756cfe32d859b06bce5a7f3d0b28e0e06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/schemas/knowledge-collection-schemas.ts:35 \u00B7 server/src/schemas/workspace-checkpoint-schemas.ts:17 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c5435b00371d63ad8c7245cebbb95580c969728230061da8b9e506c9dc14f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/schemas/run-approval-schemas.ts:98 \u00B7 server/src/schemas/run-event-schemas.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":"server/src/schemas/run-approval-schemas.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1f5e5c982e27bd36ee50d6956d7012e95463d2ce10df63074f15bae5e831ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/schemas/run-launch-manifest-schemas.ts:13 \u00B7 server/src/schemas/task-envelope-schemas.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":"server/src/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e364c0814eaedfd177f69d46d3bcee90e85a374a08c6944ddd948f28ecfd79a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/services/agent-provider-adapter-registry.ts:220 \u00B7 server/src/services/agent-provider-adapter-registry.ts:234 \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":"server/src/services/agent-provider-adapter-registry.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b27a3fc3d32dce897fe8c8b6a7dec1354ba8ed8d850544ac45037dcbe8e777"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:144 \u00B7 server/src/services/communication-adapter-service.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/buzz-definition-import-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0786b8f917053cbd5f56a3af349da4ac28e0ce7e85cf7522e666b8b2d09f869b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:780 \u00B7 server/src/services/buzz-definition-import-service.ts:1222 \u2014 both copies are in the same file, so extract the block into one function there 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/buzz-definition-import-service.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084e328faed4a273fe93e6c0de8778580fe070ddfb62f1753a347c22b357787"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:1231 \u00B7 server/src/services/buzz-definition-import-service.ts:1336 \u2014 both copies are in the same file, so extract the block into one function there 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/buzz-definition-import-service.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"55894dd0559c8c25fed69aa1e7cbd87bb669ce56c9f13d5c26081e8540291267"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/services/ceremony-service.ts:92 \u00B7 server/src/services/reflection-service.ts:155 \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":"server/src/services/ceremony-service.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"632654e902a807fbe19f55045ec170a7a736e171d3c46a3bb06a3358572e7369"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:1500 \u00B7 server/src/services/workflow-run-service.ts:1415 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"739f5e9e7eef208bfb6a93020fe4ac8fe585ec28d7f4a329016b693d803d8a4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/clawdbot-agent-service.ts:1914 \u00B7 server/src/services/workflow-run-service.ts:884 \u00B7 server/src/services/workflow-run-service.ts:972 \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/clawdbot-agent-service.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"978b3f5f4091973abd4d7d1fa3bca2ed56773818b90f2bf4d6226409f24bea29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:8143 \u00B7 server/src/services/clawdbot-agent-service.ts:8172 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":8143}}}],"partialFingerprints":{"codehealthFindingId/v1":"503be265f6c9da93d5c30a64d0b8d04c862ae5bb13eeba8e741bb63fe9b6a0c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/communication-adapter-service.ts:1805 \u00B7 server/src/services/communication-adapter-service.ts:1816 \u2014 both copies are in the same file, so extract the block into one function there 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/communication-adapter-service.ts"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"04378402149c934fa064338acba6075f86cfa647e5843bc9e562f8896106586e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/services/decision-review-service.ts:313 \u00B7 web/src/components/task/DecisionReviewSessionsSection.tsx:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-review-service.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"512020335c4ba9a68dbf7ccc447a2d93922bf8e52da3668338c950436987b1b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/dependency-circuit-registry-service.ts:42 \u00B7 server/src/services/dependency-circuit-registry-service.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/dependency-circuit-registry-service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3298b8c20bb17157cbfdbf28c067cddaec6dcf4730fa14a2834287d9eb722ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/evidence-timeline-service.ts:710 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx: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/evidence-timeline-service.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c852dd8925ea03dadc76fabe7513fb55d5fd07054e132248ca01162d046a64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/github-service.ts:234 \u00B7 server/src/services/preview-service.ts:147 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/github-service.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7753db2c815713dcc71196da5f51d9fb0252d88a82ec4d23d2d365e1e58ecc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/integrity-service.ts:324 \u00B7 server/src/services/integrity-service.ts:356 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/integrity-service.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dfa81d94f8604b57191abfa19c9b632b4cf9ccab86b880305f2d00f852de4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/maintenance-service.ts:346 \u00B7 server/src/services/maintenance-service.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/maintenance-service.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56e2fb208fcf81cdae695cd22920593a0c864488aaa129e7caf00a067351dab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/metrics/prometheus.ts:30 \u00B7 server/src/services/metrics/prometheus.ts:63 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/prometheus.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35055b7d07badfc8d405f699c36e59bb2e0f43298e060bb6a1f2a427e351686"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/services/metrics/telemetry-reader.ts:24 \u00B7 server/src/services/telemetry-service.ts:523 \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":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1c9a6b91868e552c44c0e6adf059a9d74add2ca1d8194913fbc9407705b7c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/openclaw-workflow-adapter.ts:208 \u00B7 server/src/services/openclaw-workflow-adapter.ts:229 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/openclaw-workflow-adapter.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"07309c2d4acb41ea8505d11eab8e65f399defb1090f3b1983bea42342a5df339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/phase-transition-service.ts:56 \u00B7 server/src/services/run-approval-broker-service.ts:89 \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/phase-transition-service.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f22562de8f8621b0910d15d577b1e6a33bab214477581ece2d5cd120ef7422"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/queue-intake-monitor-service.ts:435 \u00B7 server/src/services/queue-intake-monitor-service.ts:1299 \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/queue-intake-monitor-service.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d1256630c5b621d173c49d97fc8a766b3cda2db55268ae9022897a4de21291"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/reflection-extraction-job-service.ts:140 \u00B7 server/src/services/reflection-extraction-job-service.ts:158 \u00B7 server/src/services/reflection-extraction-job-service.ts:176 \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/reflection-extraction-job-service.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"144201ece72574a92d723a769fadb54deeb03a3cb3ecf7f13e0885f6cd89b543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/reflection-service.ts:340 \u00B7 server/src/services/reflection-service.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/services/reflection-service.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9706442880ae7798d3d81f0adb82ac3ff2d014b3ddccc392890b097dcd003c66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/run-access-summary-service.ts:570 \u00B7 server/src/services/run-access-summary-service.ts:583 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-access-summary-service.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdffc69b3426218c63b0f9fa65810f2612329decf37d6a7770ae521018163e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/run-phase-authority-service.ts:27 \u00B7 server/src/services/run-phase-authority-service.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":"server/src/services/run-phase-authority-service.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fcb089e0dd5b9f84c1a9d57b989d7ce4cb0ffc82e31d7346c54d6cc3be8ec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/scheduler-service.ts:408 \u00B7 server/src/services/scheduler-service.ts:421 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scheduler-service.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc13369a04d7623f31769c5c37f760623543991a6899d8674ad517fb0ad5fab3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:642 \u00B7 server/src/services/sqlite-portability-service.ts:664 \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/sqlite-portability-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e80474d65ff132c4fc7d6baeed427b70be4d85a0f65ec925fed2f15d03029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/sqlite-portability-service.ts:2210 \u00B7 server/src/storage/sqlite/telemetry-repository.ts:358 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91c055560c17a1d8d20bdc75351b461d41a53250f91e7509b13c54d7ee3fb96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/summary-service.ts:105 \u00B7 server/src/services/summary-service.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/summary-service.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa6540ec9dcdf594464f5882aa7ee548dfb6662ab709ec86e1373bb1c5064a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/system-health-service.ts:59 \u00B7 server/src/services/system-health-service.ts:84 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/system-health-service.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"194da3189252f2f317271690aeb9358a6d9b7a89c464502c6c68bec696173b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/task-envelope-service.ts:96 \u00B7 server/src/services/task-envelope-service.ts:110 \u2014 both copies are in the same file, so extract the block into one function there 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/task-envelope-service.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc72843fe6e5e79280d5e21d495eed8d8589990f0ea584c4f5e80a30650281b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/text-extraction-service.ts:169 \u00B7 server/src/services/text-extraction-service.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/text-extraction-service.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a463a5f2c93f1a61ef1bdc9aeded52ebadfc02cde8ff733d0bb2904dcdd48989"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/tool-control-plane-service.ts:1132 \u00B7 server/src/services/tool-control-plane-service.ts:1143 \u2014 both copies are in the same file, so extract the block into one function there 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/tool-control-plane-service.ts"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fd466913788f5381bc3f4064e31a1c299b4a68b8be2ff98d4b9d742d50f0af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1324 \u00B7 server/src/services/workflow-run-service.ts:1351 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0708cd8b7379f9f711299d4ebd91bda1933f270d9a73dd55054d7c383ebbb90d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/workflow-run-service.ts:2376 \u00B7 server/src/services/workflow-run-service.ts:2424 \u00B7 server/src/services/workflow-run-service.ts:2481 \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/workflow-run-service.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b94cbf0bc59a04e4f25657f8664adc59c6217a932446f398435fee006b3649f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/storage/admission-reservation-repository.ts:392 \u00B7 server/src/storage/durable-goal-repository.ts:79 \u00B7 server/src/storage/run-supervisor-repository.ts:69 \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/storage/admission-reservation-repository.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f010255bda901452f92a6eb35c505bda4e9cdee7727667567e22eedb64177ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): server/src/storage/admission-reservation-repository.ts:451 \u00B7 server/src/storage/task-file-repository.ts:368 \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":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"19127a3ecb2593a7c155c7d105c41f30b6db76d4a84151a69e9dec03717f4d64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/storage/backlog-repository.ts:169 \u00B7 server/src/storage/sqlite/task-repository.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/storage/backlog-repository.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ac801fa389bd92325d7b63c3ab791774c09ce9b55e78ba1ea399b7b3f8355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/storage/conflict-workspace-repository.ts:29 \u00B7 server/src/storage/progress-repository.ts:70 \u00B7 server/src/storage/workflow-definition-repository.ts:178 \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/storage/conflict-workspace-repository.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e68d9d766255db0eb34feacb7fc45e2ce1364c121484e50279adaf9f4c847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/storage/file-storage.ts:215 \u00B7 server/src/storage/file-storage.ts:243 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-storage.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd2511f62bace7e8d985272d835d131d0af829f727a40207b990982c731231a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/storage/run-output-artifact-repository.ts:89 \u00B7 server/src/storage/work-product-artifact-repository.ts:219 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8fa0f2a21664b19b7a8746d4eafdcbaf50182c397d6080cc7affd6b55d0987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/storage/sqlite/journal-maintenance-service.ts:177 \u00B7 server/src/storage/sqlite/sqlite-journal-policy.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":"server/src/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"83148c0e19d911e1e7f12f6d803078b2e92f3e68151e2797b732fff2005b76f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/storage/sqlite/notification-repository.ts:27 \u00B7 server/src/storage/sqlite/notification-repository.ts:230 \u00B7 server/src/storage/sqlite/scheduled-deliverables-repository.ts:25 \u00B7 server/src/storage/sqlite/scheduled-deliverables-repository.ts:99 \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/storage/sqlite/notification-repository.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7027596c0c95a820a59725718bd69c9f59caf17d4851da46e1c6d3da590cfb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/storage/sqlite/work-product-artifact-repository.ts:124 \u00B7 server/src/storage/sqlite/work-product-artifact-repository.ts:142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4471c6f23204abf2feed0048ef2b101eb8414ae166b01c1800242d81bfdf15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/src/components/board/KanbanBoard.tsx:271 \u00B7 web/src/contexts/ViewContext.tsx:264 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37926de0d547ac092c007617fa75370844ac8947543f97bc8d9c6298373b3f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/components/dashboard/BudgetCard.tsx:208 \u00B7 web/src/components/dashboard/BudgetCard.tsx:224 \u00B7 web/src/components/dashboard/BudgetCard.tsx:254 \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":"web/src/components/dashboard/BudgetCard.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fed6e1b115aa8ec4147dd5f7f021f4808704b81930d06d6b4de08b990ec9269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/components/dashboard/ExportDialog.tsx:43 \u00B7 web/src/components/task/ApplyTemplateDialog.tsx:73 \u00B7 web/src/components/workflows/WorkflowStartDialog.tsx:23 \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":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c5b69b6f782d540195b54a091d64e29a00d6a95eb492781d410ceaa0b7384c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/dashboard/StatusTimeline.tsx:115 \u00B7 web/src/components/dashboard/StatusTimeline.tsx:125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/StatusTimeline.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daf9afa359180e426866d88fb37f453916c7632e7e8eff46c75d26adb149b06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/dashboard/TrendsCharts.tsx:100 \u00B7 web/src/components/dashboard/TrendsCharts.tsx:163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/TrendsCharts.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f018b858c32a64a8989575289bf8d97385ca594f84876460d1aec0a4b50b183"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/components/digest/OperationsDigestPage.tsx:104 \u00B7 web/src/components/evidence/EvidenceTimelinePanel.tsx:166 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:85 \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":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d819bc2bd78f3ed49e14e5ca4b28ec7bdf237602cea75da1182494ebf317fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/digest/OperationsDigestPage.tsx:783 \u00B7 web/src/components/evidence/EvidenceTimelinePage.tsx:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"8199946731676f2ad5ef025c89be2237558a7da4095a6bf587ab7ddcf964df27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:225 \u00B7 web/src/components/settings/tabs/GeneralTab.tsx:173 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"710653aa704000c2bea53be152c40bf42b070b9b451261d38621a44624f6afca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:1347 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e35419433e6196ddd60a12eb49f1d4db5fb9010cc6e646bcccd779a8d2b2fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/components/settings/tabs/MaintenanceTab.tsx:58 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:133 \u00B7 web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx:48 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5c6b29cf30a52d9ffcaab109722b3cbf3add172bd02080f1ab8cf9c53ceeb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/settings/tabs/TemplateComponents.tsx:32 \u00B7 web/src/components/templates/TemplateEditorDialog.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":"web/src/components/settings/tabs/TemplateComponents.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d18314ffd50f21c766b2fe9a7ee1113af1c50298e385bce3855c3b23d85552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/AgentRunTimelinePanel.tsx:1605 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx:1650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"5957467ba90f2da3fb08c174760d86ea7a5a87b1be9ca0e2dfed30aa46f740e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/ApplyTemplateDialog.tsx:221 \u00B7 web/src/hooks/useTemplateForm.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":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5a5d4df90d061492d592de4e2ed94e1bed22ebe86f874b7ca8e290c9bd9423"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/CommentsSection.tsx:148 \u00B7 web/src/components/task/CommentsSection.tsx:163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CommentsSection.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c3b112cb42d3fc260f153590d56f15553755d3dd0cf3cf711f1ed7178e91bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/GitSection.tsx:27 \u00B7 web/src/components/task/GitSection.tsx:46 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/GitSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1192e83dba68b47babc685b34af3f1c25f699f88f29eb5b822f037bc3ccbfb15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/RunSessionSharesSection.tsx:464 \u00B7 web/src/components/task/RunSessionSharesSection.tsx: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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9d68f60052fcd0394801b5d8ad4295f2a5e293d3ad0e3498c0bf6ea67e6e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/TaskCard.tsx:328 \u00B7 web/src/components/task/TaskCard.tsx: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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b273a633b84ae1ced10b7279ef25ff63ae719d54afc3ea5acf5be2dfe19bfc91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/task/TaskWorkView.tsx:701 \u00B7 web/src/components/task/TaskWorkView.tsx:887 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3c65fbb26341314affe9a98ea99e75f0c9f9b5300bd36165323aabc65f46c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/components/ui/alert-dialog.tsx:160 \u00B7 web/src/components/ui/dialog.tsx:188 \u00B7 web/src/components/ui/sheet.tsx:178 \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":"web/src/components/ui/alert-dialog.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7ab3aec0e9fb3d8e31b088f25f87de54768d6b6316d50243d910eedfed6f89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/components/workflows/WorkflowAuthoringPanel.tsx:531 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:944 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:1084 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a90507cce583cae0bba78b45e4030d6e1716a6e9385d223f67b6948c7232ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/workflows/WorkflowAuthoringPanel.tsx:864 \u00B7 web/src/components/workflows/WorkflowAuthoringPanel.tsx:1327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"1784c916c6e1781e328f1fe147f2734d31e275b255051d96c19bebb7e9eecc7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/hooks/useAuth.tsx:90 \u00B7 web/src/hooks/useAuth.tsx:120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAuth.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67bbe40eb2ef52943e48f4fabb7f269eaaf9a1f28856a7f733e48e61a1f8247"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/hooks/useBacklog.ts:121 \u00B7 web/src/hooks/useTasks.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":"web/src/hooks/useBacklog.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8fda2202648a1bbade1ca621f5cfbcd1ba40cd867ec42ca9712571d754a350"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/hooks/useBudgetMetrics.ts:79 \u00B7 web/src/hooks/useMetrics.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":"web/src/hooks/useBudgetMetrics.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d90c92ad7f002728ecfba980ca90b4516e63e651c203f87efda6f545b4056f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/hooks/useChat.ts:214 \u00B7 web/src/hooks/useChat.ts:234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useChat.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"57491d02bdef84da327ba61838e97dec2c80ae0cd1211231be10e0b2c7cac090"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/src/hooks/useDrift.ts:17 \u00B7 web/src/lib/api/feedback.ts:13 \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":"web/src/hooks/useDrift.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d29d26113e84bc1cf75c3f0667fff3fd126436a4a9582009a7596991af9b2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/hooks/useGitHub.ts:26 \u00B7 web/src/hooks/useGitHub.ts:51 \u00B7 web/src/hooks/usePreview.ts:43 \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":"web/src/hooks/useGitHub.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bff35758eb12ded9854079a4caaebf728189e727a245ca8a1f9c51ab2b25b05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/hooks/useTasks.ts:484 \u00B7 web/src/hooks/useTasks.ts:575 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTasks.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63cbd366d67be80402b121a756c157ad9652ea155fe13b184dc52ba03e74ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/hooks/useTimeTracking.ts:74 \u00B7 web/src/hooks/useTimeTracking.ts:90 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTimeTracking.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbec3ab7e3403a642d145dda7ac9e4ed1b06012f4d21f4aa1106374d13a1a2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/lib/api/agent.ts:61 \u00B7 web/src/lib/api/backlog.ts:76 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/agent.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f774af6b2197268b0d4981ef8a9a3fef4f0d1c763e9c014c555748bf0ed48a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/lib/api/agent.ts:93 \u00B7 web/src/lib/api/backlog.ts:61 \u00B7 web/src/lib/api/time.ts:13 \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":"web/src/lib/api/agent.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f36dedf4733b87414fad29a51f3af318e6d826978e52cf9077e36853d485abb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/lib/api/agent.ts:307 \u00B7 web/src/lib/api/agent.ts:350 \u00B7 web/src/lib/api/diff.ts:77 \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":"web/src/lib/api/agent.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6582ef0b81575879954847f415b1e9102d8b0aa6eaec7c24ab1f8cab52a46e46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/lib/api/config.ts:142 \u00B7 web/src/lib/api/integrations.ts:270 \u00B7 web/src/lib/api/integrations.ts:351 \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":"web/src/lib/api/config.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba5ee583cf4386ff820f50b3df6d9bb389f079a124780018695b2fa85040793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/lib/api/entities.ts:40 \u00B7 web/src/lib/api/scoring.ts:35 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/entities.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9136a370568929c619e6684ce398c0659b994c6b2c4bfc0977bf9fbc3f5a55d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): web/src/lib/api/tasks.ts:157 \u00B7 web/src/lib/api/tasks.ts:196 \u00B7 web/src/lib/api/tasks.ts:269 \u00B7 web/src/lib/api/tasks.ts:312 \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":"web/src/lib/api/tasks.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e4e8c199bae8ca28f814cce2f7a471d79081b5a74bde32d15aefa29d8436fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/lib/api/workflows.ts:141 \u00B7 web/src/lib/api/workflows.ts:168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/workflows.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8138d181eeb12c65a9abb7d7dd69f13134f374b7e8e0ee64bf6c612748363a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/admission.ts:45 \u00B7 cli/src/commands/admission.ts:161 \u00B7 cli/src/commands/backlog.ts:17 \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/admission.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"de313cc1c83efb39255f3ac5035b6df1a1f0be69085987ad5d385fc22473eaa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/agents.ts:599 \u00B7 cli/src/commands/automation.ts:64 \u00B7 cli/src/commands/automation.ts:107 \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/agents.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5947d8775c8843c824f10d7106216fa9e7454eecde3fd2235d4d2e62f9337f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/agents.ts:617 \u00B7 cli/src/commands/tasks.ts:206 \u00B7 cli/src/commands/tasks.ts:235 \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/agents.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"585ee0be24c66984496f39ce40353c76c5cac3ed4e7457105a1b53ccfe9065af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/commands/agents.ts:667 \u00B7 cli/src/commands/agents.ts:904 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agents.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"989b164a342e3cd4c49c92b572c84bf2cc7967509fd22f9fa9d46d5a0c537913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): cli/src/commands/tasks.ts:148 \u00B7 cli/src/commands/workflow.ts:19 \u00B7 cli/src/commands/workflow.ts:77 \u00B7 cli/src/commands/workflow.ts:149 \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/tasks.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f8e839f1b7ae45267af2a0663b794e1ad1a6a98bc54a7fbdd00e8dc419d10d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): mcp/src/tools/agents.ts:19 \u00B7 mcp/src/tools/comments.ts:9 \u00B7 mcp/src/tools/projects.ts:34 \u00B7 mcp/src/tools/sprints.ts:24 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"51df253e6514e9dade3b31195ae3895b5e00257ec971601f27d4eb5ded007885"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): mcp/src/tools/sprints.ts:32 \u00B7 mcp/src/tools/tasks.ts:10 \u00B7 server/src/routes/integrations.ts:80 \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":"mcp/src/tools/sprints.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a89140cb46bf1cd446ca2eb7970890f6769399b14e5799b2abbd131cd3ace8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/capture-local-macos-release.mjs:160 \u00B7 scripts/capture-local-macos-release.mjs:311 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/capture-local-macos-release.mjs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19ce90f53ea871bd810ea7cfad1c1766b2f9a439fda2114b4838ff48d0e568e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/check-service-filesystem-boundary.mjs:137 \u00B7 scripts/check-tracked-ignore.mjs:43 \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/check-service-filesystem-boundary.mjs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1facbdd2abb94c8e8ba4b6ad37d989171d21d60b029396180ca7b7008841b3b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/config/security.ts:136 \u00B7 server/src/config/security.ts:170 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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/config/security.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c77df5a0b90337a1d94750907f903e454c7e3e4a26f61e117cc3835015c891"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/auth.ts:72 \u00B7 server/src/routes/identity.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":"server/src/routes/auth.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e1a346b5f93c25d64d9141f1d026923bbada079e8c17ad1138d0fa3b1d452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): server/src/routes/backlog.ts:149 \u00B7 server/src/routes/backlog.ts:224 \u00B7 server/src/routes/prompt-registry.ts:92 \u00B7 server/src/routes/prompt-registry.ts:185 \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/routes/backlog.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7539307cf9fe96d32e0bd43e1e7a3dbeb744cac78d16fb9b5e2657108d013b6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/config.ts:319 \u00B7 server/src/routes/config.ts:354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/config.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"656f072bf213a7cf7df4942c8a8848dbaac6a87c32a3bcab9f01b411b649892f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/routes/external-trackers.ts:50 \u00B7 server/src/schemas/decision-schemas.ts:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/external-trackers.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2724163a2d850136932c4e29cf3fce76a351df8a0886a93584874497ea825f1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/identity.ts:92 \u00B7 server/src/routes/notifications.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":"server/src/routes/identity.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1172b6903af1a8a7260cbe96daf5effc3639fe9365459892a55e9c83d5f7c520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/integrations.ts:463 \u00B7 server/src/routes/integrations.ts:583 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/integrations.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce53b2da0dfbc05bcb73b06310b42cf8a85f0df90895fb864c2f15b22d2f17a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/integrations.ts:538 \u00B7 server/src/routes/integrations.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/routes/integrations.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f0043ce4428d380b07d149004ed93c74cd7c3ebdf72be78121994d9eaeeaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/reflections.ts:265 \u00B7 server/src/routes/reflections.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/routes/reflections.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a62db099e1a9635a3364592c64e92d77d5eb67593e04013785b0c67ef7775a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/task-comments.ts:33 \u00B7 server/src/routes/task-observations.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/routes/task-comments.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"322ebc9d5267b719cc1601469d1307e24ac525cd5d64bfcad1357c3f663fded5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/task-subtasks.ts:90 \u00B7 server/src/routes/tasks.ts:1143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/task-subtasks.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f152e787d0e0c211a11e152a2e5ad4d8598d5e0f4505818f9c0340cd4b07df8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/task-time.ts:53 \u00B7 server/src/routes/tasks.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/task-time.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b9d7574691e61684cc5105de7656c7404ae1bf189bfe492a3a179e22fe50b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/routes/workflows.ts:312 \u00B7 server/src/routes/workflows.ts:717 \u00B7 server/src/routes/workflows.ts:768 \u00B7 server/src/routes/workflows.ts:816 \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/routes/workflows.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ae9ebba5f06dd4bfb0564d4a398f5aa31458910fbbb976ba6e8216434c6b8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/schemas/admission-control-schemas.ts:116 \u00B7 server/src/schemas/phase-capability-schemas.ts:166 \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":"server/src/schemas/admission-control-schemas.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f509a65bb7b0116966c257f5e9645e2e3e891f2b8bfa9b71cccdb23ad6e789b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/schemas/agent-profile-package-schemas.ts:66 \u00B7 server/src/schemas/agent-profile-package-schemas.ts:75 \u00B7 server/src/schemas/agent-profile-package-schemas.ts:100 \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/schemas/agent-profile-package-schemas.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e063ba81ab8031bc669c04f5abfde2d0c24f176d653e948d38f24c737e89b1e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/schemas/feature-settings-schema.ts:172 \u00B7 server/src/schemas/feature-settings-schema.ts:194 \u00B7 server/src/schemas/feature-settings-schema.ts:345 \u00B7 server/src/schemas/feature-settings-schema.ts:447 \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/schemas/feature-settings-schema.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fb1129085592a5d4e3a958064715d30628878937e11caa808664b5e86ce60c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/schemas/feature-settings-schema.ts:194 \u00B7 server/src/schemas/feature-settings-schema.ts:383 \u00B7 server/src/schemas/feature-settings-schema.ts:447 \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/schemas/feature-settings-schema.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f138ae431dd26e9272c40f5b245cd586907848f72ba72516b3c6f763b8725c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/schemas/feature-settings-schema.ts:70 \u00B7 server/src/schemas/task-envelope-schemas.ts:29 \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":"server/src/schemas/feature-settings-schema.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9db4fff4a49b6ea0a6e0f5ac2e637502cf59fb921359fa15656a76b15cb87bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/schemas/harness-conformance-schemas.ts:7 \u00B7 server/src/schemas/workspace-checkpoint-schemas.ts:11 \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/schemas/harness-conformance-schemas.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f47b041f9cc725ca4f53cd3fcf0a4c2dfb4fcaa5b9abed48ceeeb52dcd2515"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/schemas/run-approval-schemas.ts:121 \u00B7 server/src/schemas/run-approval-schemas.ts:225 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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/schemas/run-approval-schemas.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc45997a117c1134538cb74152d747300d434da288b081a112d3cd9c7185f3fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/acp-stdio-adapter.ts:137 \u00B7 server/src/services/acp-stdio-adapter.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/acp-stdio-adapter.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8349ea6cacb607d824bdc125166a4d44fea61f1f6adf10f559dc82044168fcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/agent-permission-service.ts:123 \u00B7 server/src/services/agent-permission-service.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-permission-service.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cae71ab5313645334d01c46ae853bce779b1ddbb9c39cbcec17ee8f2485ab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/buzz-communication-service.ts:84 \u00B7 server/src/services/buzz-subscription-worker.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/buzz-communication-service.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e7ed14248cf134bc8a47796867c47d23759140a6379e93122f6846c48d1d90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-service.ts:162 \u00B7 server/src/services/chat-service.ts:180 \u2014 both copies are in the same file, so extract the block into one function there 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-service.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9c70f0481ea5ba1b5261f39844a9edb08ddfe0a13017ebc476dfab8f27fe0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6164 \u00B7 server/src/services/clawdbot-agent-service.ts:6735 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76be5fff6422cb83963fe5929df66ef3638cb9fca5acdb5eb85d59584551c0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/services/codex-app-server-adapter.ts:866 \u00B7 server/src/services/provider-event-evidence.ts:52 \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":"server/src/services/codex-app-server-adapter.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e438e8f52258f91905d9f0c279cd8000ac05f3b10670708fffd818c90912fe46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/cost-prediction-service.ts:227 \u00B7 server/src/services/delegation-service.ts:226 \u00B7 server/src/services/error-learning-service.ts:229 \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/cost-prediction-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0492adfeca04e38030c6dd2a0d7987bfd2569bc27bea08c7cbea8a4a5c8b8e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/decision-review-service.ts:43 \u00B7 server/src/services/scoring-service.ts:641 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-review-service.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05959818071e2ab499bb777cc0318f2c15d9edcc716048123465ee13c250ef2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/decision-service.ts:68 \u00B7 server/src/services/prompt-registry-service.ts:188 \u00B7 server/src/services/template-service.ts:156 \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-service.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faaa0fe02d0b10a7a3720ca919c26257f2b23324241b6d3fe00fb02401310c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/digest-service.ts:730 \u00B7 server/src/services/digest-service.ts:775 \u2014 both copies are in the same file, so extract the block into one function there 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/digest-service.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0c5ba30cfde6299a573c7f26b0f4341c71a840be8c3df7b8a5c5b6b5d7d229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/services/doc-freshness-service.ts:216 \u00B7 server/src/services/doc-freshness-service.ts:248 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/doc-freshness-service.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc6b5390b8204a28732b83c4feb65a4ca4f488955c3cee84153f18be4a84ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/evidence-timeline-service.ts:490 \u00B7 server/src/services/time-breakdown-service.ts:365 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/evidence-timeline-service.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e89ffe9c05d2b7158fae49733ede12a86b8a15b691af02455747f3d0e7a0a00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/evidence-timeline-service.ts:547 \u00B7 server/src/services/time-breakdown-service.ts:403 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/evidence-timeline-service.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1a96578d25c19572f6e2b654053142c87157e2043411f6433c1ab742e32925"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/feedback-service.ts:195 \u00B7 server/src/services/work-product-service.ts:128 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback-service.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"820437f32bff6b4bd158c7a45c8d57529a122ed550fe58810ea8cf8f597980bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/github-service.ts:474 \u00B7 server/src/services/github-service.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/github-service.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"4938833157ab4167f033abe5377399414e29a190975b78f1bc12a8b4f4be2394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/identity-service.ts:58 \u00B7 server/src/services/policy-service.ts:103 \u00B7 server/src/services/tool-policy-service.ts:140 \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/identity-service.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3effd8be65f96e7f82804ee0a12be09fc44960ad1ea5bdb383f1b2951582da71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/managed-list-service.ts:33 \u00B7 server/src/services/prompt-registry-service.ts:43 \u00B7 server/src/services/task-service.ts:157 \u00B7 server/src/services/template-service.ts:31 \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/managed-list-service.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c906c10473f8e55410b94a23227ccc2f82be4401b04d9ccfd31ed14f3aaacb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/metrics/prometheus.ts:55 \u00B7 server/src/services/metrics/prometheus.ts:109 \u2014 both copies are in the same file, so extract the block into one function there 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/metrics/prometheus.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdd4fd32eb7c507ab86bfc7f267886c2b4317fb9f23a8df20cdaf9b6ec53411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/services/provider-event-evidence.ts:23 \u00B7 server/src/services/run-output-spill-service.ts:112 \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":"server/src/services/provider-event-evidence.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5629d7230fe2abbd3f1065ed4c492474e7c05f5a8013dbd903b9c5976b91df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/run-terminal-service.ts:413 \u00B7 server/src/services/run-terminal-service.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/services/run-terminal-service.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f877a95b74480fdd9440966bcf72c2029dc1c15b7f6af449a0e57e8d12c98c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/task-service.ts:1637 \u00B7 server/src/services/task-service.ts:1716 \u2014 both copies are in the same file, so extract the block into one function there 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/task-service.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa644aca8d479e5a5058bc4f9be194334b458075ba275b5d7cf844d91ff6518"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:704 \u00B7 server/src/services/workflow-run-service.ts:713 \u2014 both copies are in the same file, so extract the block into one function there 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/workflow-run-service.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"10007b6e62f8bcc0702a03e765b2120bac9dc631631fe9009cc6251c29f00021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/storage/knowledge-collection-repository.ts:170 \u00B7 server/src/storage/knowledge-collection-repository.ts:403 \u00B7 server/src/storage/knowledge-collection-repository.ts:473 \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/storage/knowledge-collection-repository.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea9fc80fcec5ed71f858cee451c321848c960c29edd62ff306616b616fdfb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/storage/sqlite/audit-policy-repositories.ts:153 \u00B7 server/src/storage/sqlite/audit-policy-repositories.ts:247 \u00B7 server/src/storage/sqlite/work-product-repository.ts:44 \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/storage/sqlite/audit-policy-repositories.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c8c4f3794ff6687878ac8cb02cbc4e1636a988aa88fc520ea74ed8e02b6e0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/storage/sqlite/governance-repositories.ts:212 \u00B7 server/src/storage/sqlite/workflow-repositories.ts:256 \u00B7 server/src/storage/sqlite/workflow-repositories.ts:414 \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/storage/sqlite/governance-repositories.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"890956557e625697aa35a03c8079a137bb9690dae5416c393a1d7cbd5c0d764a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/storage/sqlite/run-approval-repository.ts:72 \u00B7 server/src/storage/sqlite/run-output-artifact-repository.ts:163 \u00B7 server/src/storage/sqlite/run-supervisor-repository.ts:57 \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/storage/sqlite/run-approval-repository.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"90647a389d9e0e510618b55aec5f2e3aa20916481b95d0497ba3271077a5b25d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): server/src/storage/sqlite/settings-repository.ts:47 \u00B7 server/src/storage/sqlite/settings-repository.ts:88 \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":"server/src/storage/sqlite/settings-repository.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eed887be9a5b2f67e44640aa3b6029b19fecf382ab1b746a1a36fdd52ba122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/storage/work-product-artifact-repository.ts:142 \u00B7 server/src/storage/work-product-artifact-repository.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/storage/work-product-artifact-repository.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde0e78461ae0019b3b8fe68e92316aa5bbe0c3bd720af8cbfbfd10ef50b307"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:205 \u00B7 server/src/storage/workspace-checkpoint-repository.ts:529 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"74654026c45c3653c3f9ce8e3aab8a042432e93176a2b095946cb745ea64f446"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:473 \u00B7 server/src/storage/workspace-checkpoint-repository.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d1bb96176ad470774bdca29ec89909470dd8d12fcfffa3874a83da8927bbef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:1335 \u00B7 server/src/storage/workspace-checkpoint-repository.ts:1502 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c482160e60dbe9c0a5942bef10be113d3c2609ac63ef21aa80765804bc28ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/utils/url-validation.ts:295 \u00B7 server/src/utils/url-validation.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/utils/url-validation.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0285dfc5b9adb23ed903c9f3b69f13dc81c35f84fc0b39575c3154cd37de68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/utils/url-validation.ts:323 \u00B7 server/src/utils/url-validation.ts:374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/url-validation.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff883e4cbe7f64c7e28bbee14909273e3bcfa310a08e2eda007d54cb4359a821"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/activity/ActivityFeed.tsx:47 \u00B7 web/src/components/layout/ActivitySidebar.tsx:130 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fce765bfcdb92139ac2fea72d901143f2de4b85d96953cbef35d82e5824bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/archive/ArchivePage.tsx:50 \u00B7 web/src/components/layout/ArchiveSidebar.tsx:49 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18028a7e293c7199e1bc3e3a8773f37de3e2d2ab7fc67e20625e99beb2ffba8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/src/components/archive/ArchivePage.tsx:86 \u00B7 web/src/components/board/FilterBar.tsx:82 \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":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff83721a4dd32c2b3af67c2ece8cd862b5e12d16a1244c4c7abc01395ff2c3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/auth/DesktopOnboarding.tsx:305 \u00B7 web/src/components/auth/LoginScreen.tsx:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f741dc580560e2955fe0a29c794db4d697a3a5535d4dc9cec4fabe9ee49230cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/components/board/BoardSidebar.tsx:102 \u00B7 web/src/components/board/MultiAgentPanel.tsx:23 \u00B7 web/src/components/shared/AgentStatusIndicator.tsx:149 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b9d96c7bd43d26483689ced85156f1fedadf7f71e9fe757a31856cca2765e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/board/KanbanBoard.tsx:76 \u00B7 web/src/components/task/WorkflowSection.tsx:163 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f35d3452210de2bdf183c15b0217f1ff566c36c7b5c83813289267ed74f0fe6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/src/components/chat/ChatPanel.tsx:140 \u00B7 web/src/components/settings/SettingsDialog.tsx:408 \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":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff313334ed2c916be66e47263643b7f175cd3cfbd882802faba5ef4598032c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/dashboard/DashboardSection.tsx:34 \u00B7 web/src/components/layout/CommandPalette.tsx:241 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/DashboardSection.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff293852c8c5e07a1f77dd1d0bea19ded4d4c06041e0b4161efa2e95e83320b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/dashboard/HourlyActivityChart.tsx:55 \u00B7 web/src/components/dashboard/WhereTimeWent.tsx: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":"web/src/components/dashboard/HourlyActivityChart.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea44b1bffec899d0a3bd2c526060017c265e69379e4245f39967aca9ddb8f9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/dashboard/NeedsAttentionQueue.tsx:201 \u00B7 web/src/components/task/ArtifactPreviewModal.tsx:337 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc1e68c8c827b1c7794a6f8d558fa5a2064307fc71a2dc1353df4d41bd99bde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/dashboard/NeedsAttentionQueue.tsx:450 \u00B7 web/src/components/dashboard/NeedsAttentionQueue.tsx: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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5852fc752fc500d8fdfc8d56cc303ee1bde2e41c6efdd8edb1d0bdb669298601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/decisions/GovernanceTraceDetail.tsx:176 \u00B7 web/src/components/decisions/GovernanceTraceDetail.tsx:197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/GovernanceTraceDetail.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7efc08c2ae385a17fb7f426dae2183ffd1e87e7f565fe2714f7bbfd14780cc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/digest/AdmissionQueuePanel.tsx:698 \u00B7 web/src/components/digest/AdmissionQueuePanel.tsx:710 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa10706a604ea35b98f643119341e8badce36c9014d4d3fb8c6348ecf24ff1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/evidence/EvidenceTimelinePanel.tsx:277 \u00B7 web/src/components/evidence/EvidenceTimelinePanel.tsx: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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea2e5b52a4034ac8624228cb90cd5bd18fd60614166e0198ac5c4bb31061f66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:1266 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1446 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"209cdbce7813e148bafad46e921743f4328ba965fc69aae23396391f620c2cb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/components/settings/tabs/TrackersTab.tsx:144 \u00B7 web/src/components/settings/tabs/TrackersTab.tsx:153 \u00B7 web/src/components/settings/tabs/TrackersTab.tsx:161 \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":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"da16fa944b6686d53f3b049c90b2a43699434f20d8a896267ed45e3d3d2519ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/task/ArtifactPreviewModal.tsx:72 \u00B7 web/src/components/task/WorkProductsSection.tsx: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":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"569eb7f21e689d8a71a31c5d92b89f485cf0aaca7b85be0f569faa38e0fbcc60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/task/detail/TaskMetadataSection.tsx:136 \u00B7 web/src/components/task/detail/TaskMetadataSection.tsx:216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/TaskMetadataSection.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8921d9c9c1c8a503440ae074aa64f48dd655a7b9872e9e1668dcff027f2c1cb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/task/diff/FileDiffView.tsx:17 \u00B7 web/src/components/task/diff/FileTree.tsx:13 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/diff/FileDiffView.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66e729a63bba6b5e513752e071bcb78eeac180f659234841906af07e85a5ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/task/git/GitSelectionForm.tsx:108 \u00B7 web/src/components/task/git/GitSelectionForm.tsx:143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/GitSelectionForm.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3b90126bee58bb225f254b2ded53b46f34886558bf89c1f1bc311809013e77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/components/workflows/WorkflowDashboard.tsx:197 \u00B7 web/src/components/workflows/WorkflowRunList.tsx:121 \u00B7 web/src/components/workflows/WorkflowsPage.tsx:311 \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":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07c90b698550b689996d485b1342302d5029360d63fe892962e9c10a423fc1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/src/hooks/useActivity.ts:70 \u00B7 web/src/hooks/useBacklog.ts:101 \u00B7 web/src/hooks/useBacklog.ts:118 \u00B7 web/src/hooks/useBacklog.ts:134 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useActivity.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b6c69bb325dda8b1df3c469aae667dffd6d7a6c60240190098b71dfd055235"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/hooks/useAgent.ts:86 \u00B7 web/src/hooks/useAgent.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":"web/src/hooks/useAgent.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bb23300c9fa95b0c2cf1c03d6b0d14f13ff906d29a469c556241bbda686baf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 17 locations): web/src/hooks/useAgent.ts:114 \u00B7 web/src/hooks/useAgent.ts:123 \u00B7 web/src/hooks/useAgent.ts:132 \u00B7 web/src/hooks/useAgent.ts:168 \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":"web/src/hooks/useAgent.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b51d6ef53114a895219880b7e054ba8d1637c5d7f7e644322f0d41eea26e9ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): web/src/hooks/useAgent.ts:122 \u00B7 web/src/hooks/useAgent.ts:131 \u00B7 web/src/hooks/useAgent.ts:167 \u00B7 web/src/hooks/useDecisionReviews.ts:44 \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":"web/src/hooks/useAgent.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae3c959530b4459c926c99f9278738433647260bb06096da07e03b2f35e1bca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/hooks/useMetrics.ts:273 \u00B7 web/src/hooks/useMetrics.ts:361 \u00B7 web/src/hooks/useTrends.ts:43 \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":"web/src/hooks/useMetrics.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c36085dc0749810db6a9e9b659d88c31f7239aaa3d7792d6bc9c0da2d2baf6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/hooks/useSortableList.ts:50 \u00B7 web/src/hooks/useSortableList.ts:70 \u00B7 web/src/hooks/useSortableList.ts:84 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useSortableList.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921a3a704407bc1ad5d2467bb1bf3a6d5787a9462b6b3468a33e7cabdf79b25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/hooks/useTimeTracking.ts:60 \u00B7 web/src/hooks/useTimeTracking.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":"web/src/hooks/useTimeTracking.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b70ac4031df1d7d8432cb0c949d9b2339d845b24c3d82916e1ff4139ae5329"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/lib/api/admission.ts:25 \u00B7 web/src/lib/api/digest.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":"web/src/lib/api/admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc481242382bdf8ce63d70e3d67e5191c2732e5c4963263e87b15b020bb5220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15 locations): web/src/lib/api/agent.ts:158 \u00B7 web/src/lib/api/agent.ts:180 \u00B7 web/src/lib/api/decisions.ts:84 \u00B7 web/src/lib/api/decisions.ts:96 \u00B7 \u002B11 more site(s) not listed \u2014 the 10 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/agent.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f611267fe22c6f6cf11fb1903c6e8a4af83c14042fcff9897e994e383d5493e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/lib/api/chat.ts:34 \u00B7 web/src/lib/api/chat.ts:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/chat.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6310673bad1ff5e200743821daf5d8aeb759b2a4f0ff0bc7f9db858f6ea1c67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/lib/api/config.ts:175 \u00B7 web/src/lib/api/integrations.ts:107 \u00B7 web/src/lib/api/integrations.ts:347 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/config.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb551a45525221543c46c6563e261e98a0376f64d45ca144421aaae0155ea3c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/src/lib/api/config.ts:242 \u00B7 web/src/lib/api/diff.ts:97 \u00B7 web/src/lib/api/prompt-registry.ts:46 \u00B7 web/src/lib/api/scoring.ts:28 \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":"web/src/lib/api/config.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"640a5d5314a9e038c173bd60253c1933bc6c3c16c83f37105a67c171d74d3362"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/src/lib/api/deliverables.ts:73 \u00B7 web/src/lib/api/scoring.ts:54 \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":"web/src/lib/api/deliverables.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b26186bec57f3ec75f3272a92c3d8c758301a624dce68bab77e1dcb1c3bd2dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/lib/api/evidence.ts:16 \u00B7 web/src/lib/api/time-breakdowns.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":"web/src/lib/api/evidence.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"57039b28ae3a527d24ce0bee1e87f65ccd00c4d09b537514c897b5f566b3de75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/acp.ts:504 \u00B7 server/src/services/tool-control-plane-service.ts:1354 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/acp.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"452e51109004658e4d40feb446669995e8f7efa0f32a8bd436900ad0eda82620"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/commands/agents.ts:638 \u00B7 cli/src/commands/agents.ts:675 \u00B7 cli/src/commands/agents.ts:1223 \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/agents.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cc11aaea12d21e45402726c31b5f8e2d630b06dd0cac4fb9304bc3f72f20f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/agents.ts:735 \u00B7 cli/src/commands/sqlite.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":"cli/src/commands/agents.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c200617eeac1f5f8f07c072352a86b4bcadb8f2bb3319decb8dae7b33c849d74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/commands/notifications.ts:57 \u00B7 cli/src/commands/time.ts:28 \u00B7 cli/src/commands/time.ts: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":"cli/src/commands/notifications.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d86c4c5b0b11f7b411c9a84a3f6723e50067ccbd596f56b758305add7a910aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/scheduler.ts:76 \u00B7 cli/src/commands/scheduler.ts:204 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/scheduler.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e0b7289248210762907ad3f86c657a3458f9b8a8e5765d3e2b9ceed722a1a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): mcp/src/tools/agents.ts:46 \u00B7 server/src/schemas/run-supervisor-schemas.ts:173 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"caea77d2111aa47676d184b320f629eea8d010f14d53bdde2af243cf7a6b5cb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): mcp/src/tools/tasks.ts:19 \u00B7 mcp/src/tools/tasks.ts:31 \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":"mcp/src/tools/tasks.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0e3c8583543ca1f921a22c64d8d8867f6eb25e43005088399903c1ace898b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/check-actions-pinned.mjs:145 \u00B7 scripts/check-security-artifacts.mjs: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":"scripts/check-actions-pinned.mjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"69882056a3a3eb394092f1dd6fb1505578fbd70b629fa96bc58f2e627c894f88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/docs-media/run.mjs:322 \u00B7 scripts/docs-media/run.mjs:384 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/docs-media/run.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c592cbc7d8c4b3726cff7dd4084d6b1700e80e8d3907c82e4b5a674f4b5726"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/docs-media/run.mjs:332 \u00B7 scripts/native-ui/run.mjs:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs-media/run.mjs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f54e93d0d6ed1e6c740119b062220a6c1eeda4c6e9d74d101c99f1f17f478ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/middleware/auth.ts:587 \u00B7 server/src/middleware/auth.ts:895 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies 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":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0b878c5b8d851a664b1ed81b0be533926d7af92f3f613d6810a7fdb0589723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/admission.ts:20 \u00B7 server/src/routes/admission.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/admission.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb167299eba6d5b8e7383f89ad34202edf42ff405fef62fee991d668c2ed87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/attachments.ts:153 \u00B7 server/src/routes/attachments.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/routes/attachments.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"43553ecb0b57eb83957f6e8a4a8dd675876cdabd22f8677d6984a52eef5fe5a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/routes/chat.ts:41 \u00B7 server/src/schemas/broadcast-schemas.ts:17 \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":"server/src/routes/chat.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f299cf5afa450f7fad6301e06a6928048cd1c9674ac7a8e9cfef427f93ecf9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/knowledge-collections.ts:240 \u00B7 server/src/routes/knowledge-collections.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":"server/src/routes/knowledge-collections.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8639107bffe7f23ae97e2e92db95e16af9f50cfb02191c75c12941376cac6468"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/notifications.ts:146 \u00B7 server/src/routes/notifications.ts:233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/notifications.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9efdf0e2f72ec36e759b0582fb1935ee6912ae9644b22f6528392989cde7ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/run-terminals.ts:117 \u00B7 server/src/routes/run-terminals.ts:125 \u2014 both copies are in the same file, so extract the block into one function there 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/run-terminals.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"817eb477c219ec5ef9aa4b23b2c6862663c5a374dece53115fecc0300c580bd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/task-subtasks.ts:75 \u00B7 server/src/routes/task-subtasks.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/routes/task-subtasks.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f98a56d832415579aae0af233b1ff0ebbaa0e157340d2bba12807b11cd668b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/routes/tasks.ts:310 \u00B7 server/src/schemas/task-mutation-schemas.ts:28 \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":"server/src/routes/tasks.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3f1fa16b387cf67be6feb207b8e753f98fc3c7115ed32fdbecf2fea4a397b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/templates.ts:87 \u00B7 server/src/routes/templates.ts:105 \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/templates.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f6563e7d935d99da1f3815605b7867920e321d3a40240da4c46b81b8e38e40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/transition-hooks.ts:41 \u00B7 server/src/routes/transition-hooks.ts:59 \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/transition-hooks.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f59e265076ffd19ffd40483d005c44e53546b6ceffed6c3d3a7b53ec9058772"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): server/src/routes/workflows.ts:640 \u00B7 server/src/routes/workflows.ts:661 \u00B7 server/src/routes/workflows.ts:692 \u00B7 server/src/routes/workflows.ts:718 \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/workflows.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ff590d24eb7f0697d266b829b5fe5ae1b7a7accc69d84562c14ce6a866223a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/schemas/admission-control-schemas.ts:356 \u00B7 server/src/schemas/run-launch-manifest-schemas.ts:16 \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":"server/src/schemas/admission-control-schemas.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb0acc46c5f6a0a222ab47036d2080b1bb347b11399253b7e1e1f3d8ca6d695"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/schemas/buzz-definition-schemas.ts:75 \u00B7 server/src/schemas/durable-goal-schemas.ts:24 \u00B7 server/src/schemas/run-supervisor-schemas.ts:38 \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/schemas/buzz-definition-schemas.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67a350ce53108cf1b72be73043eacb12000b70b03a13b7d43822538e0307d78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/schemas/credential-broker-schemas.ts:76 \u00B7 server/src/schemas/decision-schemas.ts:63 \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":"server/src/schemas/credential-broker-schemas.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a26dbbf4a1b3ae8ed0612d779ad48d4fb52424bddb3bd6e89238dae9ebb9856"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/schemas/harness-support-profile-schemas.ts:80 \u00B7 server/src/schemas/workspace-checkpoint-schemas.ts:76 \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":"server/src/schemas/harness-support-profile-schemas.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5de734fdcb541525bded12db5c3379063c0c9c9d61eef91251d00dc532b685"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/schemas/knowledge-collection-schemas.ts:697 \u00B7 server/src/storage/knowledge-collection-repository.ts:1082 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise 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/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d53f4856e078b7241e8d5c8fb3efae3114a298e30a461ea6c6567a94a31f59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/schemas/run-event-schemas.ts:5 \u00B7 server/src/schemas/run-output-artifact-schemas.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/schemas/run-event-schemas.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41bec15db88328d95e4c981637bff95234f752421571ce174979457f4ff6311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/schemas/run-launch-manifest-schemas.ts:190 \u00B7 server/src/schemas/run-launch-manifest-schemas.ts:269 \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/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ab823316fc7df66cbf90def315ca4198c08c5c5425e8ee801f7bc4b0a7e7ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/schemas/work-product-schemas.ts:178 \u00B7 server/src/schemas/work-product-schemas.ts:193 \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/schemas/work-product-schemas.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc83c22f80e3c24b44e3367e4305c1a9a6c3ea4e7d9f9e58ed4b41211824116c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/agent-profile-package-service.ts:96 \u00B7 server/src/services/team-roster-service.ts:64 \u00B7 server/src/services/team-roster-service.ts:93 \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-profile-package-service.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cfabeb2d6ffe43fb8b8a74e157c4887379e9a735d90cbd12238d3473a93fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/services/automation-draft-service.ts:1098 \u00B7 server/src/services/progress-watchdog-service.ts:551 \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":"server/src/services/automation-draft-service.ts"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd85806186ac6cff53497aac7951f2bab94fab75da12dd2a668da17a15427713"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/buzz-definition-import-service.ts:940 \u00B7 server/src/services/buzz-definition-import-service.ts:1150 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6949c990174e4206daaa98686fa3295d377b5207fa3bd7f667654f7c55ae490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/buzz-workflow-trigger-service.ts:143 \u00B7 server/src/services/communication-adapter-service.ts:999 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-workflow-trigger-service.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa6f176b64dfda23b61e09be813063c34688e72f738e8968ea579fd3da5e392"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-service.ts:61 \u00B7 server/src/services/work-product-service.ts:55 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-service.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd65112cf83a16d5e08b836c17fc066f1f0060fbebda010f9f246f0b65b777"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:5158 \u00B7 server/src/services/clawdbot-agent-service.ts:5576 \u2014 both copies are in the same file, so extract the block into one function there 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/clawdbot-agent-service.ts"},"region":{"startLine":5158}}}],"partialFingerprints":{"codehealthFindingId/v1":"349f63fafe89e571095b8085642e2e4e4b538f6d489a2a1cce2a7c5a47359831"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:7158 \u00B7 server/src/services/clawdbot-agent-service.ts:7394 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":7158}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e966063c2c625b076ce6e0695fa8ced659facf81a1a6abfa31aa8e76f2e8d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/codex-app-server-adapter.ts:931 \u00B7 server/src/services/provider-run-event-mappers.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":"server/src/services/codex-app-server-adapter.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fca4901e954c174d65456873597fad46114c25e2617b0f538ee8c28c7c2d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/codex-review-service.ts:72 \u00B7 server/src/services/workflow-step-executor.ts:1134 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/codex-review-service.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7f72d0fa38fa55db97edf5dd07374030c0aa886d2e4f20da4fc5f6691c3826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/config-service.ts:541 \u00B7 server/src/services/config-service.ts:561 \u2014 both copies are in the same file, so extract the block into one function there 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/config-service.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab821b8c831bc5f0183da658e2441478251b4f0e319d0a2a42ad49a87334229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/error-learning-service.ts:338 \u00B7 web/vite.config.ts:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/error-learning-service.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"208855f03d35dce28371cdfe38978bfd5f897c955d0c92c70dbe029ec14cab55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/filesystem-sandbox-service.ts:1018 \u00B7 server/src/services/skill-security-service.ts:297 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/filesystem-sandbox-service.ts"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97287d5ce0e613e96da60e3a6c3e1b7eed59e4cf683db85dacdcfd7d5467443"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/github-service.ts:285 \u00B7 server/src/services/github-service.ts:296 \u2014 both copies are in the same file, so extract the block into one function there 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-service.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb087ea20c09caf460088cbeb79b8d5a1e8baab9c96a192537872912bb77061"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/github-service.ts:637 \u00B7 server/src/services/github-service.ts:652 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still 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-service.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d099156fc2fb754aa8772ff9517ae76bd953b6dafc0f7074e7d7a55c983331f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/harness-conformance-service.ts:268 \u00B7 server/src/services/harness-conformance-service.ts:290 \u00B7 server/src/services/harness-conformance-service.ts:301 \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/harness-conformance-service.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fd9435121c7ba64bb9dd1de8c452d0206518789906cc2204afd85f494587cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/integrity-service.ts:301 \u00B7 server/src/services/integrity-service.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/integrity-service.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa07768ae36052d0624339f4d6f94a09395ba73ac2b2587de6ddb9a5ac1cc080"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:98 \u00B7 server/src/services/metrics/dashboard-metrics.ts:521 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b202cf5f12e13da9b770217cab6652c322b60e7a1d42824b19ac1a937de626cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:447 \u00B7 server/src/services/metrics/dashboard-metrics.ts:583 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4290434609fb21097672b03d94fbde33778b70f02b14af9e8965bfc487e4d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/services/pdf-report-service.ts:528 \u00B7 server/src/services/scheduled-deliverables-service.ts:364 \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":"server/src/services/pdf-report-service.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8c6fa9c0890fae06b3091209dc80dafbbfa785da3ec0830a6c95940cbfdd1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/phase-capability-service.ts:373 \u00B7 server/src/services/phase-launch-authority-service.ts:447 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/phase-capability-service.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"4403a0cc3e0858dd149fec4a59390facf5ffc6938c6b86327efdfee592b330d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/services/progress-watchdog-service.ts:543 \u00B7 server/src/utils/run-launch-manifest-digest.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":"server/src/services/progress-watchdog-service.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6349080ea17f58d239c87a564ee389175d4ecf47d799a5ca44a69dd30ec7ff4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/run-output-artifact-service.ts:44 \u00B7 server/src/services/run-output-spill-service.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":"server/src/services/run-output-artifact-service.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cfe00866c1eaa7aedfbd4fe12efc72ea941414ca3cdeef6726dcfbf2da4a17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/run-terminal-service.ts:717 \u00B7 server/src/services/run-terminal-service.ts:750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-terminal-service.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"058c9b7e05c879dbce2609ecfd03a0a17963c6847b2bb27ef0ee9241dc823d56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/scheduled-deliverables-service.ts:118 \u00B7 server/src/services/status-history-service.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/scheduled-deliverables-service.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bf03cdd323444e2c90e70ebf2d803aeabe9083de9262bc3a0894e61497e3bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/skill-capability-service.ts:441 \u00B7 server/src/services/skill-security-service.ts:208 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/skill-capability-service.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca390749b30bb7cc5edc9d95ef4fe5419816528c7efc436b42dec899b9b84beb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/sqlite-portability-service.ts:1230 \u00B7 server/src/services/sqlite-portability-service.ts:1313 \u00B7 server/src/services/sqlite-portability-service.ts:1338 \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/sqlite-portability-service.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4232833da9525e28db84ffd56891db9af87ee0a75a2e305e5242ce9dc3efa1c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/summary-service.ts:494 \u00B7 server/src/services/summary-service.ts:502 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/summary-service.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cacb785f5d6339418ac3f7dde6b4b8396f549fd93e82fba1295c384379a60ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/services/task-envelope-service.ts:532 \u00B7 server/src/services/task-envelope-service.ts:635 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-envelope-service.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f929360d7e42dd47ce27ef2faa9fab9c39f1e72ad147f312044a1fde27bb5ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/team-roster-service.ts:61 \u00B7 server/src/services/team-roster-service.ts:90 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/team-roster-service.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d905e4e6fdb85c33c0628bb0f1e7416f347f5d7440cf2f410f23fd9ab40dc0f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/time-breakdown-service.ts:241 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:467 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/time-breakdown-service.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"02134683174ce9633f8562390d5ae90f78b6b7e992762b11bc57514633021ab4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:923 \u00B7 server/src/services/workflow-run-service.ts:1172 \u2014 both copies are in the same file, so extract the block into one function there 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/workflow-run-service.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67d97a96607a3806f966daf9507a9f5f9c1d1b3a76f17a2c37d295de39c34ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:1762 \u00B7 server/src/services/workflow-run-service.ts:1827 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"d174250aec39c31f9131a7d5a907681e4c2e2fb118649e77044fde45d1f163ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:2604 \u00B7 server/src/services/workflow-run-service.ts:2660 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c35f0b08a8906402b6d0a4ff60f9c15a8c246af712911bd1772759244836d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/workflow-step-executor.ts:537 \u00B7 server/src/services/workflow-step-executor.ts:1178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d255efaef07e1e4c50edccfb744e3708fb42ff29d9f5a55862dc2cdfbbf139cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/worktree-service.ts:319 \u00B7 server/src/services/worktree-service.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/services/worktree-service.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4ec0867c7babc6149f3f5b5e22014c068103538f9979b842b8d9db81725658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/storage/backlog-repository.ts:212 \u00B7 server/src/storage/backlog-repository.ts:230 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/backlog-repository.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500e8b68ab786c380523ddc205eb62026b15c9c8a6f3bcb73e43ce6b3cb9691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/storage/chat-repository.ts:268 \u00B7 server/src/storage/workflow-execution-file-repository.ts:74 \u00B7 server/src/storage/workflow-run-repository.ts:159 \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/storage/chat-repository.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"faad92ebbb8e12c15454c465c1dd469e74d26e8a7543ce2bd96838939caa33ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/storage/chat-repository.ts:290 \u00B7 server/src/storage/chat-repository.ts:365 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/chat-repository.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"708df45f98e5046bce941ed7c764a44597e1ded9403ee29fea7e73c3ad80e8bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/storage/error-analysis-repository.ts:76 \u00B7 server/src/storage/progress-repository.ts:61 \u00B7 server/src/storage/work-product-artifact-repository.ts:374 \u00B7 server/src/storage/workflow-definition-repository.ts:169 \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/storage/error-analysis-repository.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f052e43a9abbf5ff78532d04e515107bd8807c550ffff8976fb1a5a6b7e6cb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/storage/reflection-extraction-job-repository.ts:63 \u00B7 server/src/storage/reflection-extraction-job-state.ts:63 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/storage/reflection-extraction-job-repository.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d79dc13db3d192472f36b030ce841c55ad6f57bdccbe98f74489a143d4cb87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/storage/run-event-repository.ts:76 \u00B7 server/src/storage/sqlite/run-event-repository.ts:101 \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":"server/src/storage/run-event-repository.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"36107d2236d83d526f35429f93f80a70e3e7e0c8dcc2ce6527f5ef0fbbecc4c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): server/src/storage/sqlite/database.ts:393 \u00B7 server/src/storage/sqlite/journal-maintenance-service.ts:295 \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":"server/src/storage/sqlite/database.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21d5c130725e21fc173b292dc747da83a727536a22c659c69d56cdfc8866bd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/storage/sqlite/reflection-extraction-job-repository.ts:83 \u00B7 server/src/storage/sqlite/run-output-artifact-repository.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/storage/sqlite/reflection-extraction-job-repository.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"955cb72f90947f6bac5fa780d7c7ece07636760069bc60ec33f525b580297b41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/storage/task-file-repository.ts:140 \u00B7 server/src/storage/task-file-repository.ts:169 \u00B7 server/src/storage/task-file-repository.ts:185 \u00B7 server/src/storage/task-file-repository.ts:223 \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/storage/task-file-repository.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa38025033d7e63cf67303b5ec3a0132f990d2a22929a65894920f85041fe19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/storage/work-product-artifact-repository.ts:374 \u00B7 server/src/storage/workflow-definition-repository.ts:169 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/storage/work-product-artifact-repository.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29ef2e03422d222cd9e3da15505e772d8839cfbe9f53422a8dca05166d81dbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/storage/workspace-checkpoint-repository.ts:829 \u00B7 server/src/storage/workspace-checkpoint-repository.ts:879 \u2014 both copies are in the same file, so extract the block into one function there 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a05a8bd984861fd08b637fb4340e3df637da809328cd15900eb22c64e7bd7cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): shared/src/utils/api-client.ts:171 \u00B7 shared/src/utils/api-client.ts:261 \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":"shared/src/utils/api-client.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b9188bf563742fd3573e81e3c1c57a7750ab48ca540e776cd9a5645dbea5ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/auth/SetupScreen.tsx:31 \u00B7 web/src/components/task/WorkProductsSection.tsx:112 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1daef7280bb817cf5f9253479b35ebe5398c9e22ea01b2338bdb4de0ee02774"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/backlog/BacklogPage.tsx:37 \u00B7 web/src/components/templates/TemplatesPage.tsx:26 \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":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b6d6ebc5f7360d1053ef3e9632d42129e2a8cb200b48af91561e65192c4948"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/board/BoardSidebar.tsx:305 \u00B7 web/src/components/shared/AgentStatusIndicator.tsx:185 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"82481b1fec46c535c316bd36b3120f50dd78ac46c5476b38ba3473cab7d00b17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/chat/ChatPanel.tsx:74 \u00B7 web/src/components/chat/SquadChatPanel.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":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d50712088b16b81e31deae8ade84ec780ba6cb1e55e37e23611840ffa80a71b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/dashboard/NeedsAttentionQueue.tsx:877 \u00B7 web/src/components/dashboard/NeedsAttentionQueue.tsx:892 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9108c92e8386e89b6cf8dce5f772edbf17f0a5d8b114c92b3116b6ecacea5c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/digest/AdmissionQueuePanel.tsx:965 \u00B7 web/src/components/digest/OperationsDigestPage.tsx:768 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"313f94642e07e55973726303d9a0afae2bb736686b1b3c5b24bc8ff3b61090e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/prompts/PromptRegistry.tsx:84 \u00B7 web/src/components/prompts/PromptRegistry.tsx:96 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0526a88089e4be0c95182feb8d88c0d092712b74dd6f6a5318006df2450866fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/src/components/settings/tabs/AgentsTab.tsx:1246 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1254 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1288 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:1484 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed17906335de7515f723deae16e1447d26d5bdebac03c729130adc0898f8c13f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/settings/tabs/QueueMonitorsTab.tsx:230 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx:1351 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"765564406924571ba4d8fff63901b7b8f5ebafc664403754922325afdb8043ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/task/ReviewPanel.tsx:61 \u00B7 web/src/components/task/WorkflowSection.tsx:152 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd756e768cbb67efc19da5ef75df0cfbe6563c042ff778d4cdb9e894a4de95c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/task/TaskCard.tsx:128 \u00B7 web/src/components/task/TaskCard.tsx:166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1855ddb3d84039a7a32e110091aa349c316cadda7c232a12e85c74055ab79aeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/task/TaskWorkView.tsx:1031 \u00B7 web/src/components/task/TaskWorkView.tsx:1053 \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":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ea6150aa52556b36c710a5897e77c18233e418d8e6b3f90ea5f0f404e21d8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/hooks/useAuth.tsx:70 \u00B7 web/src/hooks/useAuth.tsx:119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAuth.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4a94b769e2a7e082ac31e1e181cbaa6c64be985cf9b9db0d0e2bae76f5eaa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/hooks/useDiff.ts:4 \u00B7 web/src/hooks/useDiff.ts:20 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useDiff.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0133e9512bbbec3acf88b0c9c020c72f30c42baad4bf64e1f81768c672bcbf9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/lib/api/agent.ts:243 \u00B7 web/src/lib/api/tasks.ts:381 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/agent.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05edb2538766f31cdf5911dd0028657bcb18770d119183215804fe553d1f210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/lib/api/config.ts:166 \u00B7 web/src/lib/api/integrations.ts:334 \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":"web/src/lib/api/config.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafd3601f795283214939db34d1ac984622b72546ed9e298f4d03f93244d8225"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/src/lib/api/integrations.ts:113 \u00B7 web/src/lib/api/integrations.ts:125 \u00B7 web/src/lib/api/run-sessions.ts:33 \u00B7 web/src/lib/api/traces.ts:10 \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":"web/src/lib/api/integrations.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"269bc04c28fc423ea7a72e90edb7f881feb9754db4dc75374dbee7d76cbc92fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/lib/template-io.ts:54 \u00B7 web/src/lib/template-io.ts:71 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/template-io.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f703ae272519e18ca77f99330e0ad0cafac51d73a2efc858f5347a475409bdde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): cli/src/commands/usage.ts:23 \u00B7 web/src/components/task/TaskMetricsPanel.tsx:38 \u00B7 web/src/hooks/useStatusHistory.ts:61 \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/commands/usage.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d56efb9705be8678be556525d949763ddd0ad71d9144e2e9a2ad0839652734"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): mcp/src/tools/agents.ts:46 \u00B7 mcp/src/tools/tool-control-plane.ts:13 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c55176f98c690ea729a2c60cae529c1fdd9f46815688529160173743fe31fe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): mcp/src/tools/agents.ts:46 \u00B7 server/src/schemas/task-envelope-schemas.ts:29 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"af17089c0334e9d3e845c7c94817c8aab0addf7679c811e9037c1b4e8a09d041"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): mcp/src/tools/agents.ts:46 \u00B7 server/src/schemas/work-product-schemas.ts:280 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e549432dfb078c5a9283b1975f41b9250187eae6ede528e687095adeed9373"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): mcp/src/tools/automation.ts:6 \u00B7 mcp/src/tools/projects.ts:63 \u00B7 mcp/src/tools/sprints.ts:29 \u00B7 mcp/src/tools/sprints.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":"mcp/src/tools/automation.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c1492d1e710f722d25d68cac179a8f3a96350db0b88ac505a0946fcfb91afb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): mcp/src/tools/projects.ts:50 \u00B7 mcp/src/tools/sprints.ts:34 \u00B7 mcp/src/tools/tasks.ts:23 \u00B7 server/src/routes/github.ts:10 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is a run of 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":"mcp/src/tools/projects.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d2c477f41e3aa77f3629df74ab0f758633ad7bb4c5b69eb7139d15dfb193a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/check-coverage-ratchets.mjs:46 \u00B7 scripts/check-coverage-ratchets.mjs:55 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-coverage-ratchets.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9062dd1930ef1ec23d8f5351162162ea906019f9972b3adf81e49ecd7b2cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/check-mantine-qa-gate.mjs:67 \u00B7 server/src/services/docs-service.ts:394 \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/check-mantine-qa-gate.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"425c8c6c0bc3f30b9b560648884729f115f9801564d187235247da310c3bf1f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/docs-media/publish.mjs:45 \u00B7 scripts/validate-release.mjs: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":"scripts/docs-media/publish.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"391e4e23ca32fbf5a348cd0721c0c96bd9c30541cf6450e5323630150e45db7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/docs-media/run.mjs:140 \u00B7 scripts/native-ui/run.mjs: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":"scripts/docs-media/run.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"182f45bf2ca3dd2d4349ece8be9eca0f96d9915bc01a1c20e0d68ba088f8a6b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): server/src/routes/admission.ts:37 \u00B7 server/src/routes/admission.ts:52 \u00B7 server/src/routes/admission.ts:61 \u00B7 server/src/routes/admission.ts:69 \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":"server/src/routes/admission.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4b40468d856bb42d6eca32f613a5cb0d5e6e881c0490b03d527b5ded1ffa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/admission.ts:53 \u00B7 server/src/routes/admission.ts:62 \u00B7 server/src/routes/admission.ts:70 \u00B7 server/src/routes/goals.ts:34 \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":"server/src/routes/admission.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f94eb35f1c7b0e03d396c14fa3392dedd1fe013088589be13a0ca3ec56336b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agent-routing.ts:37 \u00B7 server/src/routes/cost-prediction.ts:22 \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/agent-routing.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"422b1c1438c5703d469ca5bc42832cfef703c2204d30c9ff2697fbedb04e28de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agents.ts:264 \u00B7 server/src/schemas/agent-schemas.ts:38 \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/agents.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb5e62c5e8e7c5f9721d1e395e82997837b49766b9cc285841005f4bee244c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/routes/config.ts:36 \u00B7 server/src/schemas/feature-settings-schema.ts:70 \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":"server/src/routes/config.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a017b0bbd88fc454c1e93eaa047d3c0b310560445082416cab39c48180b1f55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/feedback.ts:48 \u00B7 server/src/routes/feedback.ts:68 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/feedback.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd1437576136ee2e5e1169bf6fa2060f659ab08fa5f56271c519514ce4f5da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/routes/health.ts:31 \u00B7 server/src/schemas/progress-watchdog-schemas.ts:148 \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":"server/src/routes/health.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"169821934c8fe21babb0a92777928ef6439b0daab03223215f4706b6b666f961"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/integrations.ts:77 \u00B7 server/src/routes/lifecycle-hooks.ts:145 \u00B7 server/src/routes/notifications.ts:54 \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/integrations.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa1e0744257b97515c9f588f9e1ef7637c66cf91e1c2c26ac06fad0e7d3e472"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/integrations.ts:363 \u00B7 server/src/routes/integrations.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":"server/src/routes/integrations.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e13140ef81e3b3e315468a9b4df884ad3b6c1aa8a6c518b7651627e3fb714"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/routes/knowledge-collections.ts:23 \u00B7 server/src/routes/search.ts:10 \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":"server/src/routes/knowledge-collections.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c18db89c4465c9affee60d86736da30c73243020bb3b087ff988351211bcf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/lessons.ts:35 \u00B7 server/src/routes/lessons.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/routes/lessons.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc6e657a5c636ff7c0f2bfdff7416f031326145973f19850b96cb34953e9c3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/routes/run-approvals.ts:15 \u00B7 server/src/schemas/run-event-schemas.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 files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/run-approvals.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c79cef277342fa787465550456e1148899674fb409ee56cbf9373244e90ec5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/tasks.ts:209 \u00B7 server/src/routes/tasks.ts:360 \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/tasks.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9792c0e0bf21bfa6ba96c8d17bf125562afcf97be78fea7f69edd0f2770b379"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/agent-budget-schemas.ts:29 \u00B7 server/src/schemas/agent-profile-package-schemas.ts:146 \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/schemas/agent-budget-schemas.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b74a4faca1dffe42ede46911c12b3c2cbfc792ed6cef4d3282b241a47004c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/agent-profile-package-schemas.ts:86 \u00B7 server/src/schemas/workspace-capability-schemas.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/schemas/agent-profile-package-schemas.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d804a87785571d4671b955f846f82e5b437acbe31d73a9b28a1ace2dbceb722"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/automation-draft-schemas.ts:54 \u00B7 server/src/schemas/credential-broker-schemas.ts:157 \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/schemas/automation-draft-schemas.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bee520a3a4d14891919d0f0c4aacee653c9928b6dc5aabbf211979309d1c197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/schemas/decision-schemas.ts:50 \u00B7 server/src/schemas/knowledge-collection-schemas.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/decision-schemas.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19be9c674a8bb534631f13165a1169ca1c5adf6c06391e76d263e923bf9fd9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/deliverable-schemas.ts:17 \u00B7 server/src/schemas/deliverable-schemas.ts:34 \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/schemas/deliverable-schemas.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca62507bec715a8640bd0799ba85e72456a1e75844b0c2899112b3830cd3815e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/doc-freshness-schemas.ts:22 \u00B7 server/src/schemas/policy-schemas.ts:91 \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/schemas/doc-freshness-schemas.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e491d871a95b6aa1d5c3a227353ff9ac800d96641f218aec8c608b4c592ccc51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/schemas/feature-settings-schema.ts:71 \u00B7 server/src/storage/sqlite/sqlite-journal-policy.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/feature-settings-schema.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f66d686b0c8abce19974bb93b3243875f6a16db8fc5e414d34ee350d115cba3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/phase-capability-schemas.ts:159 \u00B7 server/src/schemas/run-approval-schemas.ts:86 \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/schemas/phase-capability-schemas.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e854ca0077c7209746098c221808ce1bf076046c7d9c68f084630c1d4740b62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/provider-runtime-manifest-schemas.ts:37 \u00B7 server/src/schemas/run-launch-manifest-schemas.ts:46 \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/schemas/provider-runtime-manifest-schemas.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"223690218d75adec81c4f50398dad14f30b7116bf8d37cf5fa6fab1a49d3d205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/reflection-extraction-job-schemas.ts:9 \u00B7 server/src/schemas/run-file-provenance-schemas.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/schemas/reflection-extraction-job-schemas.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1296d6e0cb7ad5f5891739bd8d6c5a83ce430bf6175f9f492a1ca84aab880d1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/schemas/run-launch-manifest-schemas.ts:609 \u00B7 server/src/services/workspace-capability-service.ts:503 \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":"server/src/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16a6af21803d200e9e0338b26fd58bcda076dc89042d4a49c081d16e318afa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/run-session-schemas.ts:12 \u00B7 server/src/schemas/run-session-schemas.ts:28 \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/schemas/run-session-schemas.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994fb571ae961121984f6719e0bf888712c8ccbd75f6152fd7d043d406a043e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/schemas/work-product-schemas.ts:221 \u00B7 server/src/schemas/work-product-schemas.ts:244 \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/schemas/work-product-schemas.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f318af02885f1d73afaaf3395ada7cc348e88c8062762c2a020fffc3d80f1ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/agent-permission-service.ts:271 \u00B7 server/src/services/notification-service.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":"server/src/services/agent-permission-service.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e6f0105e8d06fb64fc7fffd4b495688ee9bd4408e6211f4c0d9e4a86024f55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/agent-registry-service.ts:738 \u00B7 server/src/services/run-launch-manifest-service.ts:779 \u00B7 server/src/services/task-envelope-service.ts:883 \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-registry-service.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c97748597e7c8630b1f0681d080f83c1fb86149c385e081967fb81029287ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/analytics-service.ts:162 \u00B7 server/src/services/analytics-service.ts:429 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/analytics-service.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfcbdda0184ede9467e99edb24d1ed6f010b88901fb8c53ca76c5dc75793649"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/analytics-service.ts:265 \u00B7 server/src/services/analytics-service.ts:356 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/analytics-service.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"78747192a3791e21178479026442a481ff0cd79869fb7cc296b76ff36d4deada"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/attempt-lifecycle-coordinator.ts:373 \u00B7 server/src/services/task-service.ts:70 \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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37c860912ae9ae8922a65be70086e77fd89856234dfec799049701f36064b35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/automation-activation-service.ts:760 \u00B7 server/src/services/automation-activation-service.ts:851 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fc9aaf152e18259b6c670e506f344954113512dee9bab5c2a91b52608b40ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/clawdbot-agent-service.ts:6753 \u00B7 server/src/services/clawdbot-agent-service.ts:7324 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":6753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4c500cf020494bcead7bf0bc61b24f8a8fa784ba537f6b932e5ee39e383e63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/codex-event-interpreter.ts:111 \u00B7 server/src/services/codex-event-interpreter.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/codex-event-interpreter.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a23fa11742f382a3c668ec3772a9dcf594342d9230e52bfa25983cba821fa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/doc-freshness-service.ts:177 \u00B7 server/src/services/lifecycle-hooks-service.ts:378 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/doc-freshness-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e1867a6b6d21378480c37b9ec14d2c8cd5292702d928db5f50a40b7110bb24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/services/filesystem-sandbox-service.ts:881 \u00B7 server/src/utils/filesystem-sandbox-runtime.ts:648 \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":"server/src/services/filesystem-sandbox-service.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"975cf35fc28f6d3b03dc7cd08591350a070b6167d1f0b1e75075937f7fe81231"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/services/github-sync-service.ts:134 \u00B7 server/src/services/queue-intake-monitor-service.ts:1000 \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":"server/src/services/github-sync-service.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c208bb6bfcfed2adb6a40803e95cf37d60b9280db08f4137b1a7faa9a7b08c90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/harness-conformance-service.ts:389 \u00B7 web/src/components/task/AgentRunTimelinePanel.tsx:294 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/harness-conformance-service.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4161182af84e33547c4d2c71906449f901a9174f4bdc541268196cb2fb72ac1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/identity-service.ts:191 \u00B7 server/src/services/identity-service.ts:362 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/identity-service.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"044dbeff900eb52ebb8648d7f24db370901ea8466c43affdc8717ef1dceced4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/knowledge-integrity-service.ts:505 \u00B7 server/src/services/phase-capability-service.ts:392 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-integrity-service.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"871ef4e133b4fb735a30e4bb80d2ff8cae509425f3ec9c9db4f598c157823e1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/metrics/dashboard-metrics.ts:242 \u00B7 server/src/services/metrics/dashboard-metrics.ts:253 \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/metrics/dashboard-metrics.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51f975dc0c223b9f0a78539c48a7180166f02269bf8b992dc730824625e839"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/openai-oidc-service.ts:178 \u00B7 server/src/services/openai-oidc-service.ts:212 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/openai-oidc-service.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc432116d2d5bbc0559ee4f3d9da7ae5a9bcceda0f98860e199f458b6535a54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/provider-completion-service.ts:253 \u00B7 server/src/services/provider-completion-service.ts:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-completion-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e1ef630e0b6fdd91c58c89f02ddedcb086b66bf29c6b96ea14eb3633d3db4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/run-egress-gateway-service.ts:531 \u00B7 server/src/services/run-egress-gateway-service.ts:543 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-egress-gateway-service.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92b2284531eaf7e10b8fefff0b469e56206491fe2238c37ae1540f15ed15d90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/run-file-execution-policy-service.ts:403 \u00B7 server/src/services/run-file-execution-policy-service.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/run-file-execution-policy-service.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceb1cb91da76e96124ce0ecc57d988195ecf5c6998602f6889eec2c6de6ebf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/services/scheduled-deliverables-service.ts:364 \u00B7 server/src/services/scheduled-deliverables-service.ts:380 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scheduled-deliverables-service.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"150de9cfee12240e8d3cb92095472f1842a70fd6217ce6173ca1e17046af31ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:972 \u00B7 server/src/services/workflow-run-service.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/services/workflow-run-service.ts"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c4c305915899609809acfa919773f157c773f07773bb2eac3a9803e0c5b7fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/storage/append-activity-repository.ts:92 \u00B7 server/src/storage/append-activity-repository.ts:280 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/append-activity-repository.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abcd639398e6b70b18fda360eb335c898501fe13405d853f6c8279e324852ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/storage/error-analysis-repository.ts:55 \u00B7 server/src/storage/scheduler-state-repository.ts:206 \u00B7 server/src/storage/status-history-repository.ts:49 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/error-analysis-repository.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4540ba99516f98235296344287f30f51f7e203903118a245f10ec773c59fe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/storage/run-output-artifact-repository.ts:134 \u00B7 server/src/storage/work-product-artifact-repository.ts:246 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"562df81bcb19341c83c6eddf5c0b2ceb7a8d79cb1667a134b09c4864b0800839"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): server/src/storage/sqlite/governance-repositories.ts:245 \u00B7 server/src/storage/sqlite/provenance-repository.ts:86 \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":"server/src/storage/sqlite/governance-repositories.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3789976453b6b2ab38277f28451ccde988f747c72f3f2dc3447f9a81d80c5a7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/storage/tool-control-plane-repository.ts:190 \u00B7 server/src/storage/workspace-execution-trust-repository.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":"server/src/storage/tool-control-plane-repository.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f3a7e41f433554993cae12f7099b57d24d989588283a43f15e58257102c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/auth/LoginScreen.tsx:8 \u00B7 web/src/components/settings/tabs/SecurityTab.tsx: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":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e597d7193f1ca7d34afa9ab737f89b993c89f53b0b5cc02939ee71b233850e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/board/KanbanBoard.tsx:59 \u00B7 web/src/components/task/WorkflowSection.tsx: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":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e7c9ffc34b0951ec942f56f4e7e7519a52a36c50c37f2b4e990a7185a5ee56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): web/src/components/dashboard/NeedsAttentionQueue.tsx:760 \u00B7 web/src/components/feedback/FeedbackPanel.tsx:135 \u00B7 web/src/components/settings/tabs/MaintenanceTab.tsx:205 \u00B7 web/src/components/settings/tabs/ToolPoliciesTab.tsx:32 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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 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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"a013c8db03d0538385c2f95013e375781ddceb19003a5484aa23f2f396097a03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/decisions/GovernanceTraceDetail.tsx:165 \u00B7 web/src/components/decisions/GovernanceTraceDetail.tsx: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":"web/src/components/decisions/GovernanceTraceDetail.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a252323f56b858d150854138d72720d8ff029c65ef15fdab20cf12d48da4ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/settings/tabs/AgentsTab.tsx:2653 \u00B7 web/src/components/settings/tabs/AgentsTab.tsx:2659 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da25a8bff68892b5b0f80ba800efdf4e6bdb16ad1d3ef3603890d04e54ee590"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/settings/tabs/MaintenanceTab.tsx:207 \u00B7 web/src/components/settings/tabs/SecurityTab.tsx:31 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e035e2d4f29e0f41c41b3b60d540e415fbdad6e6e4d033dd900d04f166a7c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/settings/tabs/MultiUserTab.tsx:147 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx: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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5f9fc53002f2e7be89a9777781654cba5f35f74dc96ea2c46e91f2df2e4806"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/settings/tabs/ToolPoliciesTab.tsx:32 \u00B7 web/src/components/task/DecisionReviewSessionsSection.tsx: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":"web/src/components/settings/tabs/ToolPoliciesTab.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3714dd0f55cfabbf5bf42103c87994e6707c4bd142b8157278d80197b459e643"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/settings/tabs/TrackersTab.tsx:116 \u00B7 web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx:39 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd5119a1d90839db5f0d5e4228bcfce9652e196e6f4b9bb8ebf2590848a1993"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/task/DependenciesSection.tsx:34 \u00B7 web/src/components/task/DependenciesSection.tsx:42 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DependenciesSection.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0625e961ff0ba39ba4da1d9a650aacf6ba3beee08f1a45abb8c009aedcf95311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/task/WorkflowSection.tsx:79 \u00B7 web/src/components/task/WorkflowSection.tsx:85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3d86a03f766397290fcd2f74d41c551ff002c4be9a2d87650cf216e23abee5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): web/src/lib/api/config.ts:125 \u00B7 web/src/lib/api/entities.ts:15 \u00B7 web/src/lib/api/entities.ts:55 \u00B7 web/src/lib/api/entities.ts:106 \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":"web/src/lib/api/config.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab1b9e442d4ef3cedb6cd903ce3c957fc259f0c9ecb00ca9b8e9e4cf345fe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/lib/api/integrations.ts:356 \u00B7 web/src/lib/api/workflows.ts:165 \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":"web/src/lib/api/integrations.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5845986eb0787dd0dc0f5a526d48b2322bdf5ac35e8bd7835ab5c89976684a65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/lib/api/reflections.ts:41 \u00B7 web/src/lib/api/reflections.ts:48 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/reflections.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e404608b71499da41e9a93d2d3e9e388022bb133d180dc5142ff0d6d475fc5c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): cli/src/commands/time.ts:6 \u00B7 cli/src/commands/workflow.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":"cli/src/commands/time.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcd40b07f61d3233cc241d46c540dcd1e76b5d78ad494ce0864bbcceb28f189"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): mcp/src/tools/agents.ts:46 \u00B7 server/src/routes/run-approvals.ts:15 \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":"mcp/src/tools/agents.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a72e46d7fe6bc3167e8388112d1f1eaa26b4a3eb0c9d3734bed40fe64b4d7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): scripts/docs-media/publish.mjs:29 \u00B7 scripts/docs-media/run.mjs:33 \u00B7 scripts/native-ui/run.mjs:46 \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":"scripts/docs-media/publish.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28df22cd5c1d52c1a92d0e7d6332e0296635f26c9a5c6e62b5d027c335d4d3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/finalize-macos-release-assets.mjs:194 \u00B7 scripts/validate-release.mjs:785 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/finalize-macos-release-assets.mjs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"693e2f5dfd325db662198e8ba194b117b7e981bff4361bc3957fb47eac786730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/native-ui/board-performance.mjs:31 \u00B7 scripts/native-ui/verify.mjs:54 \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/native-ui/board-performance.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bf8a568781d51c70e35fb9cc63ebe510495c0d0776943ba7d52fcb8e1c999f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/native-ui/menu-commands.mjs:172 \u00B7 scripts/native-ui/menu-commands.mjs:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/native-ui/menu-commands.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cc80f47236f721ae81be664b0ab48fd1f756fb2be2c436cdac952df7d5d2d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/native-ui/run.mjs:482 \u00B7 scripts/native-ui/run.mjs: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":"scripts/native-ui/run.mjs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f5510be0a9bc23011f18c085a3c47d3f7df40e40eef4a3f8d70b4faf7795d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/lib/redact.ts:138 \u00B7 server/src/lib/redact.ts:156 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies 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/redact.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd3ff26260d559b4fe73b26952c55a6707d5f7e8441a134f5cabed68c8c0344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/agent-registry.ts:32 \u00B7 server/src/routes/agent-routing.ts:55 \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/agent-registry.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a0497fc1cee18c9430bac9c11cc75a1a2fd28eb0170e435183b5c530d73194"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/agents.ts:82 \u00B7 server/src/schemas/agent-schemas.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":"server/src/routes/agents.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd9b86e91dbe8e7357ff78c53990264ac22525896c9c43f70b0db6146ffd860"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/agents.ts:184 \u00B7 server/src/routes/identity.ts:56 \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/agents.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"47380533a9830e32ee9ead8989caa57da1330bc5d1b79b524f9559b5071d329b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/agents.ts:204 \u00B7 server/src/routes/agents.ts:227 \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":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea051c30c9702e4e86fbc8c469539d5e9ce9f7cf4390ea66f7866209373861a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/agents.ts:97 \u00B7 server/src/schemas/run-launch-manifest-schemas.ts:15 \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":"server/src/routes/agents.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afbc4b5118cb75e9905156bd4ac9c8cf59b670cb786146b4f13096d8149f3b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/auth.ts:85 \u00B7 server/src/schemas/team-roster-schemas.ts:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/auth.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83dd78b68e4c95f0b2c799170a929fc16ef8922635df14f793dcf1043aef321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/governance-traces.ts:29 \u00B7 server/src/routes/reflections.ts:127 \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/governance-traces.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f647148a1042a3a22fd502e983767a71cca532f7503f674c9deea35e45ae08da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/health.ts:144 \u00B7 server/src/services/sqlite-portability-service.ts:1135 \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":"server/src/routes/health.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0454ea57a427ecee7f5f5edf025855d830181a253317d3b180e49e4569a86025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/integrations.ts:100 \u00B7 server/src/routes/workflows.ts:56 \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/integrations.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2279f3a6e8ad7d83195a082750addc80ff3e5dd07750fa3f1e10123c0950e081"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/reflections.ts:40 \u00B7 server/src/schemas/run-terminal-schemas.ts:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/reflections.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c15644e42df161f1db6e4f035baa363865b73ee676908c7700dc595cad59e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/reflections.ts:40 \u00B7 server/src/schemas/work-product-schemas.ts:89 \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":"server/src/routes/reflections.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af6d2807f6235e002236abaaf41d769a9d4df957de859afcc164cf872bd2a69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/run-approvals.ts:15 \u00B7 server/src/schemas/run-approval-schemas.ts:112 \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":"server/src/routes/run-approvals.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"966ecd715f8af1607550dc4fbd9816fb58adaf14091a8d5ae688a4e6012e493a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/run-approvals.ts:15 \u00B7 server/src/schemas/run-launch-manifest-schemas.ts:16 \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":"server/src/routes/run-approvals.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975678beb23ab9f9fa893ec9415d570c730f1fa83ff94fe44536eba3953c6f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/routes/run-approvals.ts:15 \u00B7 server/src/schemas/work-product-schemas.ts:280 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/run-approvals.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eead1d3b97dc1ab15ad49b3ae9c589ed6944cda48e102bc8009359ce69e30a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/run-terminals.ts:133 \u00B7 server/src/routes/run-terminals.ts:139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/run-terminals.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5b1eb12007eb784c508bf7f968f74403cb1c7e2edc6c9de2bd24eb51f2309f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/skill-capabilities.ts:24 \u00B7 server/src/routes/skill-security.ts:22 \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/skill-capabilities.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"73116461d028d0682351c5bc7d9d6f99d1582851cd25cec7d3cac04e1cdd4789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/task-subtasks.ts:17 \u00B7 server/src/routes/tasks.ts:353 \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/task-subtasks.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd54f5b025dec95db4f5218700de06788f6eae54db6dfb55a8032ea3615872f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/tasks.ts:359 \u00B7 server/src/routes/templates.ts:24 \u00B7 server/src/routes/templates.ts:82 \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":"server/src/routes/tasks.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4af20f0b0b57caad43532fb033f17da9b641454fb6635778aac383f0a423c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/transition-hooks.ts:68 \u00B7 server/src/routes/transition-hooks.ts:73 \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/transition-hooks.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4b92f890681d8801e25be05f9c34728ecd695c210e1857f205e147fb18094f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/schemas/admission-control-schemas.ts:444 \u00B7 server/src/schemas/admission-control-schemas.ts:471 \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/schemas/admission-control-schemas.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f3e19ec80e731931c13960c687ddf6a418cce18617669fd67400b034bc8050"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/schemas/automation-draft-schemas.ts:47 \u00B7 server/src/schemas/credential-broker-schemas.ts:317 \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/schemas/automation-draft-schemas.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad2d2f60691d8d17ea744fd8b91037015f3de05f5d9638f342f71775b755d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/schemas/credential-broker-schemas.ts:83 \u00B7 server/src/schemas/sandbox-policy-schemas.ts:34 \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":"server/src/schemas/credential-broker-schemas.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be320811217210f3fb69425bb985ee82516fab39c4330c7ab3499d822e499d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/schemas/decision-schemas.ts:58 \u00B7 server/src/schemas/sandbox-policy-schemas.ts:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/decision-schemas.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"829c67c96a2e950c503a84b8562088349a09a7b1def7249aa1539b472904eb08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/schemas/decision-schemas.ts:55 \u00B7 server/src/schemas/task-envelope-schemas.ts:29 \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":"server/src/schemas/decision-schemas.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"799767a09a18446b2fd3b95f0a0cc5938b0afd9a72bc2c2cd1bbed5e3c8f97f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/schemas/dependency-circuit-schemas.ts:65 \u00B7 server/src/schemas/dependency-circuit-schemas.ts:81 \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/schemas/dependency-circuit-schemas.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914d2da2fb122dd8025b7b8051390177f47911c45b4ce7799b73c1f39df0bec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/schemas/feature-settings-schema.ts:426 \u00B7 server/src/schemas/task-mutation-schemas.ts:23 \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":"server/src/schemas/feature-settings-schema.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4bd920ecc4007d696dab26ae36e3e3b0a8ba4bc0c8559fa989ee2edfef70c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): server/src/schemas/harness-support-profile-schemas.ts:80 \u00B7 server/src/schemas/work-product-schemas.ts:93 \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":"server/src/schemas/harness-support-profile-schemas.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"142772fd82c048743f39ec95174d7655f33b110020a5dd6cd3620ee424960a96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/schemas/run-file-provenance-schemas.ts:37 \u00B7 server/src/schemas/work-product-schemas.ts:264 \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/schemas/run-file-provenance-schemas.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0170e11f62f60d3f946ae2d88655ccc03d7ce1301299dbca7509c867f5e01746"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/schemas/workspace-capability-schemas.ts:43 \u00B7 server/src/schemas/workspace-capability-schemas.ts:64 \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/schemas/workspace-capability-schemas.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463683046775780d42858dc707dcedc4464a91031c236ebf9749e1ff5a92ae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/credential-broker-service.ts:267 \u00B7 server/src/services/credential-broker-service.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/credential-broker-service.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf993ca99c4d7a66cf2c84cd23dedf4c4d9c756f9147f6b9c45a092822d15e67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/digest-service.ts:1164 \u00B7 web/src/components/digest/AdmissionQueuePanel.tsx:968 \u00B7 web/src/components/digest/OperationsDigestPage.tsx:771 \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/digest-service.ts"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f9bd639472cfcffed311a16039dc425460dba05c80975ff3682d88541eba79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/github-sync-service.ts:278 \u00B7 server/src/services/github-sync-service.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/services/github-sync-service.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfacf4dbd3c34d6e2cb8414e8b7455423ef352cbf677f962cc5ddf0ca963300c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/provider-runtime-manifest-service.ts:278 \u00B7 server/src/utils/provider-runtime-manifest-digest.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":"server/src/services/provider-runtime-manifest-service.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b72cdd1b8cdafb3bf553b388752fdb2af9f54d44549afcbb1219d999fed2a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/run-terminal-service.ts:434 \u00B7 server/src/services/run-terminal-service.ts:460 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-terminal-service.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bf7d3c40cd4c934011706d947cb70fc34f5d74cd221c4c7d6c3189de22d9fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/time-breakdown-service.ts:220 \u00B7 server/src/services/time-breakdown-service.ts:240 \u00B7 web/src/components/time/TimeBreakdownPage.tsx:466 \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/time-breakdown-service.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"679dbb836bccbc388c4e3e530cf5e8799933f15b036488e81aedccd33c1bc7fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/workflow-run-service.ts:782 \u00B7 server/src/services/workflow-run-service.ts:1074 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb515e6781fbc51844e7ddce28c0ba9938c572dd7a66fc605ba8d8093c45a50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/storage/chat-repository.ts:132 \u00B7 server/src/storage/chat-repository.ts:153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/chat-repository.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a23765c96db2680360eb90af2aa21d41e277403a28703d709163701bb728f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/storage/execution-tree-budget.ts:36 \u00B7 server/src/storage/execution-tree-budget.ts:42 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/execution-tree-budget.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"189c82095bc05fecbdc047082d3ff8fdac29d2c94a1b9b22ed9a8613eb512c45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/storage/run-event-repository.ts:40 \u00B7 server/src/storage/scheduled-deliverables-repository.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":"server/src/storage/run-event-repository.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82fd259619b915715b4003e82ed5df745243f5c121b40e6dbc58e84cf5ff858"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/utils/filesystem-sandbox-runtime.ts:305 \u00B7 server/src/utils/filesystem-sandbox-runtime.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/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4d08c7024c5c1f0e531beb4d58c51d5d473b7f12357172add8754eb3b0d302"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/layout/CommandPalette.tsx:121 \u00B7 web/src/components/task/TimeTrackingSection.tsx:72 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83d0076219fc4bd45c4933e110dc66c92524101615b624a2549fe3d242a332"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/scoring/ScoreExplorer.tsx:48 \u00B7 web/src/components/scoring/ScoreExplorer.tsx: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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"337c921157c5440ad3b3a23582f28d2f548330f925cff94707a3b2a3059f683e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): web/src/components/settings/tabs/MultiUserTab.tsx:213 \u00B7 web/src/components/settings/tabs/MultiUserTab.tsx:220 \u00B7 web/src/components/settings/tabs/SkillRiskDashboardPanel.tsx:98 \u00B7 web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx:42 \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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a2f42148a5499d665f8c28e998fdd7cce9ef08099cbf3ac0fe5ebb60ba613b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/task/ApplyTemplateDialog.tsx:408 \u00B7 web/src/components/task/CreateTaskDialog.tsx:382 \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":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c105751eb04a510dc65091852e9677111f00621100ed8ea01fcb44f6df5024d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/task/AttachmentsSection.tsx:29 \u00B7 web/src/components/task/WorkProductsSection.tsx:66 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b16c46bc6e20be718619959b4379376e76039bc0474f22d35cd0b7b286ac83f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/task/CreateTaskDialog.tsx:104 \u00B7 web/src/components/task/detail/TaskMetadataSection.tsx:45 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ee52841fcb905852c621343e12122bd6c628393d9682db61358f4c533ed2a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web/src/components/task/TaskCard.tsx:122 \u00B7 web/src/components/task/TaskCard.tsx:135 \u00B7 web/src/components/task/TaskCard.tsx:150 \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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5068be7d4b08a58be03712e7246acd0e1371bf557a65dd7c285f032f719250d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web/src/components/task/TimeTrackingSection.tsx:94 \u00B7 web/src/hooks/useTasks.ts:38 \u00B7 web/src/hooks/useTimeTracking.ts:21 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"65011daef9fe5c03f2f400c348350872022e2db0874759ba8b913d774b63074d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): web/src/hooks/useConfig.ts:104 \u00B7 web/src/hooks/useTasks.ts:503 \u00B7 web/src/hooks/useTasks.ts:594 \u00B7 web/src/hooks/useTasks.ts:878 \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":"web/src/hooks/useConfig.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6945a9f09c54a3d032b96d689b52e9cbedd080d7e25e5d2f7d497896bfaf20a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): web/src/hooks/useOperationsDigest.ts:12 \u00B7 web/src/hooks/useTimeBreakdowns.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":"web/src/hooks/useOperationsDigest.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"75210f8aa6d797e58af7f4075e7c53cf57f3415154c3ade13e514bee5fc6ba56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/lib/api/digest.ts:138 \u00B7 web/src/lib/api/skill-capabilities.ts:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/digest.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3d5bef13292be7915b75a7c11253828fc12c3e8cfc635468f2f21b0ca4b356"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/html-artifact-preview-security.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../server/src/services/work-product-artifact-preview-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":"e2e/html-artifact-preview-security.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0b8cf2e255ac6be6ecefb0055dbeb3fb6b967a7709b6bdb038ec15a10b2865"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/task-artifact-format-popouts.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shared/src/types/work-product.types) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/task-artifact-format-popouts.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5515bdc86ba6966385f44433e855ca819625cb1b0cf5407bbb2bc8a573eb4f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/shared-api-client.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../shared/src/utils/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":"server/src/__tests__/shared-api-client.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6364b4ac3eba35a6e4a300362b26e5631969441b5076249c6993d5e43fba4cbd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/shared-api-permissions.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../shared/src/utils/api-permissions.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__/shared-api-permissions.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a441eb400f341fb9ae484922ce14163affa2792996bd16c91e24b64018312b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startReservedAgent (cyclomatic 152, cognitive 192): startReservedAgent has cyclomatic complexity 152 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/clawdbot-agent-service.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"40260ee800a1d52c4f6e8c4ed6f1eddd1388f4a9ae84aa78d202dabcc1bf74aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNeedsAttentionItems (cyclomatic 134, cognitive 191): buildNeedsAttentionItems has cyclomatic complexity 134 and cognitive complexity 191; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"41abeb1904bae302d7ed037efcf24a645e1893b50f91be37e4a45093afae49c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compile (cyclomatic 126, cognitive 125): compile has cyclomatic complexity 126 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-launch-compiler.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f0b547ce37dc44324ba96211eb749b466bcd73b1082ec3fc17c3ffad82e69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskCard (cyclomatic 100, cognitive 79): TaskCard has cyclomatic complexity 100 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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1992227d5d7bd1807ddb6d047be27f7ded3303c47d87f1b8275b832fdf94b69b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 98, cognitive 174): (anonymous) has cyclomatic complexity 98 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/services/task-service.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff037d757ee4cf85eeee6879b55c856dd00084c9a5f6c6bfd1c9368a58d5f2eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskWorkView (cyclomatic 90, cognitive 68): TaskWorkView has cyclomatic complexity 90 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":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ac7a279917a0be365a73b6d7bf2db4ed2ec1614727e463be86d556fc57cf9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function project (cyclomatic 87, cognitive 72): project has cyclomatic complexity 87 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":"server/src/services/run-access-summary-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a8df386d9db0ddf16f8b595988df8fbe4b1f5368f5b7b556197fe6add38972"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAgentRunTimelineEvents (cyclomatic 85, cognitive 116): buildAgentRunTimelineEvents has cyclomatic complexity 85 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b59fcc51ae331d2ba8d60c245ad928a1ef269474e0ca7a97b326a516d726eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function areTaskCardPropsEqual (cyclomatic 84, cognitive 136): areTaskCardPropsEqual has cyclomatic complexity 84 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":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b436692f969693747b1d1ef5af3f7b506ad2d2c79e6532adc3a4d0af28ab2eb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentPanel (cyclomatic 84, cognitive 64): AgentPanel has cyclomatic complexity 84 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":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bca4dbe02ef9b3db9a60f6fcea82f04475770b9b2220e967dff82750d652e33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 74, cognitive 96): main 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":"scripts/validate-release.mjs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc02ad22c2783aade63f288b5b1aab8b5bb3179e28b3371d24db1d7f3a72d1f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitInternal (cyclomatic 74, cognitive 81): admitInternal has cyclomatic complexity 74 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/admission-control-service.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fce62f3549678d033064686016f7f28034fa4f20800a334f37bd14f66e5fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mediaEvidenceFailures (cyclomatic 71, cognitive 83): mediaEvidenceFailures has cyclomatic complexity 71 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/docs-media/verify.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c91402ca173669e8dba943b39f88d6ede17b806e65264daf80abf5a107d2a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evidenceFailures (cyclomatic 68, cognitive 81): evidenceFailures has cyclomatic complexity 68 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":"scripts/native-ui/contract.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0830a06b3143833450900d267fd601688b06307f22cd8260ee99229536b3f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRunTimelinePanel (cyclomatic 65, cognitive 52): AgentRunTimelinePanel has cyclomatic complexity 65 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e95a0c7725593869f736fb189a6274ee5ee127f46c541c431eae100128bab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewindLocked (cyclomatic 61, cognitive 42): rewindLocked has cyclomatic complexity 61 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1e9e106a27a03032d6435806caa8f6d270ce81ef609620cc3328abda614705"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 59): (anonymous) has cyclomatic complexity 58 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/automation-activation-service.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f37c32ad7254814d526c52aedfc64a8a8a9d705e8edc0abe7c1e6e28f2dba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NotificationsTab (cyclomatic 55, cognitive 51): NotificationsTab has cyclomatic complexity 55 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":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"453d2306d05811baa22863c28a5e49ac143755e51bec7eec25882ba4ee97fabc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exercise (cyclomatic 54, cognitive 92): exercise has cyclomatic complexity 54 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":"scripts/native-ui/run.mjs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d125e3f6d7d0f21f9694e77317b5f748c3a7b3cb3bb316e973b4081748a00cf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleStepFailure (cyclomatic 54, cognitive 70): handleStepFailure has cyclomatic complexity 54 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/workflow-run-service.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee4ec8be287ff2ded53897978ed20fd18f2ed200c8b556713022f53a29330e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDoctorChecks (cyclomatic 54, cognitive 68): runDoctorChecks 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":"cli/src/commands/doctor.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8f026a8254c558436f4ed23572f7d51db9c49af2e5f2777bcda042ce251cc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCodexAppServerServerRequest (cyclomatic 52, cognitive 82): classifyCodexAppServerServerRequest has cyclomatic complexity 52 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/codex-app-server-adapter.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfa8e842699396ce6d2f1575019b1f892f24e454eebc42f86501a4d608e6d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetailPanel (cyclomatic 51, cognitive 37): TaskDetailPanel has cyclomatic complexity 51 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":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef68169449dd704202e3e3c8830a7a7e68e18d4565ba7fa057fac08422125c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateHarnessSupportStatus (cyclomatic 50, cognitive 48): evaluateHarnessSupportStatus has cyclomatic complexity 50 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/harness-support-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4733089fd2169f6c1a7a3fa843bb82f6b339942b7de32e4546f20ddb1ab203ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 45): (anonymous) has cyclomatic complexity 50 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/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2392447745fba2d5005a49348bd4084dd0db92878bfec4abbc50d59f6b63c1d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorktreeStatus (cyclomatic 50, cognitive 43): WorktreeStatus 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":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5366810f5d595d4505c68949b76a5a9734bccd8e6fd36c94a982ea1351c3a99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunSessionShareView (cyclomatic 49, cognitive 41): RunSessionShareView has cyclomatic complexity 49 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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6654e6d845ca0497e1dcbf4c6eeac1aab9ab9422db51f2bcce6614f3f0688342"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCoveragePolicy (cyclomatic 48, cognitive 68): validateCoveragePolicy has cyclomatic complexity 48 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/check-coverage-policy.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd63b7d0028137e1b5360007a049e390181a17354c4848969f39a9409b83c14e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintDefinition (cyclomatic 47, cognitive 65): lintDefinition has cyclomatic complexity 47 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/workflow-authoring-service.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa4318cf2c6e43cedc7ba7dc3cfa768d1befc670f121d4c82777f4c48ddde68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHarnessSupportProfile (cyclomatic 47, cognitive 56): normalizeHarnessSupportProfile 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/harness-support-profile-registry.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"203edb93391cd94468e728de1aeed5495f5f3079295ff5bdf255d065726fb5f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 47, cognitive 36): handleKeyDown 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":"web/src/hooks/useKeyboard.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9192e82726a25e5710f435748970265c4d7ba95614df8ab6c1a7e10248b4ce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateMetrics (cyclomatic 46, cognitive 66): aggregateMetrics has cyclomatic complexity 46 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":"web/src/hooks/useTaskMetrics.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5543e07aaf019d4a3bc9283e9e7c2972b2283303587a96783623b7013dcb668"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Header (cyclomatic 45, cognitive 44): Header 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":"web/src/components/layout/Header.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd9bc1f667dd23fa36ce1a755e063dd487e2719ecc7ebc35afc3a2dad408337"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDefaultChecks (cyclomatic 45, cognitive 41): buildDefaultChecks has cyclomatic complexity 45 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/task-readiness.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6830f63fa95eb90593fa9854735aa374f0cce0b40a96284ac73a7daae540a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KanbanBoard (cyclomatic 45, cognitive 37): KanbanBoard 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":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a53affae38a6508d75966482ea4144e6297a5538ed514f795728f05374d54d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeRun (cyclomatic 44, cognitive 94): executeRun 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/workflow-run-service.ts"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcff599d4d4f0dee87b2db985328e23c325cbfe50e6c5550ba990b68a52b536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 70): (anonymous) has cyclomatic complexity 44 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ef8ba49d126fedb04a512b75d99365f6458270c9230dbabf9acbc91202cffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capture (cyclomatic 41, cognitive 55): capture has cyclomatic complexity 41 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a260bb60d245c68f07bf01a872ddab80b59a7cd6d8eda85d099f8d20f052cbc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planTaskRecovery (cyclomatic 41, cognitive 39): planTaskRecovery has cyclomatic complexity 41 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-recovery-coordinator.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b03d388a1bab11244c197566f2fb322ac13e9f5cbf54a8113448a5e0680bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function itemKind (cyclomatic 40, cognitive 34): itemKind has cyclomatic complexity 40 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-run-event-mappers.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed89bac382eff377001f5727be8f13d06d1697879c61d47fad785fca0c53222"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke (cyclomatic 39, cognitive 44): invoke 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/tool-control-plane-service.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"42deeb82576b479392dfc195a09f9ee197290ec65d2efe87f7cd1e904bfa8b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Dashboard (cyclomatic 39, cognitive 37): Dashboard 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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"020ba26cb375a084a224469b7db38512183e1026b301d1295b19b0752046d292"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewPanel (cyclomatic 39, cognitive 30): PreviewPanel 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":"web/src/components/task/PreviewPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"51411cbb5b3f9956bb8c96f3cc130fbb080657a3226e6c7e6a4be5672e5b797a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 67): (anonymous) has cyclomatic complexity 37 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed69483cac958e0560e93d97dc3cc3878214fd0743dd6100061d4cee104a555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingestBuzzEvent (cyclomatic 37, cognitive 35): ingestBuzzEvent 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/communication-adapter-service.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82ff62e4b3154471840e7dcda82c4c6bb1cea4de56a5338569ef0857cd034c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 37, cognitive 32): visit has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d51b6f0efa142ee6112687a0a2a5f20cf3734e2dfcca9fd82af60d5b6d0e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuzzConnectionPanel (cyclomatic 37, cognitive 31): BuzzConnectionPanel 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":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b2b1a8d4bead336357357dc558b979318a4543186361da8a7c6ada11f937be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkGate (cyclomatic 36, cognitive 41): checkGate 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/transition-hooks-service.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c61b351f7351a09d9eee331fb254ec9b60ab90c735a475bbbbdfa1cf697465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectBlockers (cyclomatic 36, cognitive 37): collectBlockers has cyclomatic complexity 36 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/run-launch-manifest-service.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"810863a04e96c949ded44a91acb753dd888435fa780b6b07fb5df27be9f7f0cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiUserTab (cyclomatic 36, cognitive 33): MultiUserTab 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":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e000ab8701327f43700190f8a4ae2ff774295d93b8e089ace72b1edca033c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 26): (anonymous) 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/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"327064ab2e2a7038e051d1571a95280c747a753d7825c157b61fdb00b01f425c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCompatible (cyclomatic 35, cognitive 37): assertCompatible 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/conversation-lifecycle-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad31dd3074136b2e9ce16dddae9f9df7fceaaa6f59576159781fe5a75fcdc7ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectQueueInspection (cyclomatic 35, cognitive 36): projectQueueInspection 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":"server/src/services/admission-control-service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"88878faa89e6afc03212c171086331f5bd0cb0e5d84d4399dcdcd9760cafade7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function geometryFailures (cyclomatic 35, cognitive 29): geometryFailures 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":"scripts/native-ui/contract.mjs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e78fab858ee45171f6dc76a17eaf09380b77c435435fa5f14c53c0b69b1a75c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 28): (anonymous) has cyclomatic complexity 35 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/admission-control-schemas.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3b0d6d1f8e476a21712f7f4cb33d9e9e3066c3214605f26afde9ed47e3defc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 27): (anonymous) 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/clawdbot-agent-service.ts"},"region":{"startLine":6181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ff618c5702c3eaf45b095fa41ac1bae46a39eeb5e9804a320c7186d5efc8ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertKnowledgeProposalTransition (cyclomatic 35, cognitive 18): assertKnowledgeProposalTransition has cyclomatic complexity 35 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the 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/knowledge-collection-repository.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"777deb993f7db86565784a3d57046efe247786cfa732e10d8e5ae3deb1ff2083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHosts (cyclomatic 34, cognitive 70): buildHosts 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":"server/src/services/agent-host-service.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a7b154f0cfc64d1f76ea510fc11ff525125174980dad7e0b13c001b50e43be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 61): (anonymous) has cyclomatic complexity 34 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/gateway-chat-client.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f799e77fbdbe5fbbf29fb4811255a110268fdc12a6f8fc32304f16199bd8aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateOperationsDigest (cyclomatic 34, cognitive 59): generateOperationsDigest has cyclomatic complexity 34 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/digest-service.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc33fca37c0bb743e8b74e39032a3b2ce0b4e6d7b72cf10778f174ef895ebba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateWorkflow (cyclomatic 34, cognitive 45): validateWorkflow 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":"server/src/services/workflow-service.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7c56570dc139a68e9484be19e28f9e9163d7ec4a8ecb71f422bc28a133299c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintPipeline (cyclomatic 34, cognitive 43): lintPipeline 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":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f11955cc2f9a1508cd2fb65181a671f60e285fbecc4ad89b4e57b8f4a500b64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startClaudeCode (cyclomatic 34, cognitive 33): startClaudeCode 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/clawdbot-agent-service.ts"},"region":{"startLine":6479}}}],"partialFingerprints":{"codehealthFindingId/v1":"51663bbc537183cb2ac1da63e12e56677f142e912e7aee4f7fe17c858f0a3646"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 26): (anonymous) 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/clawdbot-agent-service.ts"},"region":{"startLine":6756}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed9057ac759c390af826fe93c0a2d45c4d90a68c60e29fb30c3bbc582b5e516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compilePhaseCapabilityAuthority (cyclomatic 33, cognitive 57): compilePhaseCapabilityAuthority 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/phase-capability-service.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc2dafc2b6265ceb2a50f6878fb16ad94a36377240df9a3103274a765284582"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeScheduledOperation (cyclomatic 33, cognitive 42): executeScheduledOperation 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7d9a4dc78b857102d23f16ea0685792ecbce4c9e5d8025ae16f5bc179e8d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 32): (anonymous) has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e75da86ea024e3158abcd7cdb6f621e87300a33d43620472da413f9406f8629"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 29): (anonymous) 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/automation-activation-service.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd000120a89558e7726c0860cb0341b60674f2c7b654191e0bbbb3995929896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConflictResolver (cyclomatic 33, cognitive 28): ConflictResolver 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":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"313ed96c1884f5fb9cb4cfde3e98d1180aa133dad4754f9df198af8cdd35af8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewAgentLaunch (cyclomatic 32, cognitive 31): previewAgentLaunch 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/clawdbot-agent-service.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e091c6720ae82d7a49c0863c32f341c8a70ebdf955bc44bb475ad68d6ac3a6d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilterBar (cyclomatic 32, cognitive 30): FilterBar 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":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4795c401b6e1bd533bd3890b5be4e3473c78d1892243eb5964b755a819ceba93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intake (cyclomatic 32, cognitive 27): intake 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/workspace-capability-service.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f22a8a19cda0580cd9b63b4134aa4869046901739401f96cc26d510e8aa181d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateFilesToSqlite (cyclomatic 31, cognitive 44): migrateFilesToSqlite 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":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe70ff2700419e01622f19dd91382a2ced51d3dc99bfb16a05751f03bc22f9a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionTreeBreakerEvidence (cyclomatic 31, cognitive 34): executionTreeBreakerEvidence 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/admission-control-service.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d423d074fc4bf814a7eab34c193dbc1941c98a9fbb92702d5e10e591527291aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataTab (cyclomatic 31, cognitive 30): DataTab 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":"web/src/components/settings/tabs/DataTab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72f45df9fe2a3eaebc15280e6f8f755299c861cea03118d19d56af29eecfddd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateTaskDialog (cyclomatic 31, cognitive 27): CreateTaskDialog 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":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9994234b7908302b6c69636b8de69d3d5d658d859eb8ed0b3d8bcebe4da22f97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EventRow (cyclomatic 31, cognitive 17): EventRow has cyclomatic complexity 31 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e906bd9cf84a4b834c898dce382a540324a04f74333c2a909883134751e3eb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeLoopStep (cyclomatic 30, cognitive 45): executeLoopStep 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":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6713fa89241e421a847f88b8860bd66a1434951df63fd8de66d78f3829a7e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 30, cognitive 44): open has cyclomatic complexity 30 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/storage/sqlite/database.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f866d1d8ec0136ea0ac88d6633133f3af3abfb5df156754d2a14dadf681aa6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 30, cognitive 40): handleMessage has cyclomatic complexity 30 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/buzz-subscription-worker.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c63ee9781d4de252f6f19c25efe7a395cfda99f2ab0e6e9b1fb810a869c16ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseBodyFormattingIssues (cyclomatic 30, cognitive 37): releaseBodyFormattingIssues 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":"scripts/validate-release.mjs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ad777176f9b23861ce8031f2454ca5ec9bc6a2ef4bfc26cee132570eaaa2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeCodexAgentStep (cyclomatic 30, cognitive 31): executeCodexAgentStep 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/workflow-step-executor.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec156c1d809d0931998eb64d75fb21ce8c2f200d94a71baa867d8c99d0fe02b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRuntimeSnapshot (cyclomatic 30, cognitive 29): buildRuntimeSnapshot 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/commands/snapshot.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4b96810eda93a1cb07ff543c1d511034e9f42621a6c52ac211c7e1ab10f7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 30, cognitive 29): evaluate 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/egress-policy-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c85e86a035ce1d0120a56ec50c4cf99223de5847f2ea36c0e6960fa6cae319"}},{"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/run-access-summary-service.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86f68feb678e8279929bcb1724c28ed8d86b47a989c4226abf2cd3a2acbb544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskMetricsPanel (cyclomatic 30, cognitive 29): TaskMetricsPanel 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":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ed96532b13a3b3d3e1217093bf89c9a62292e441e75ad591919fffa80a5d8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAgent (cyclomatic 30, cognitive 28): classifyAgent 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/agent-health-classifier-service.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78717af9eaa64b34ed298f573ded0a25d373d1dc5ee59e71076509805161703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BudgetCard (cyclomatic 30, cognitive 26): BudgetCard 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":"web/src/components/dashboard/BudgetCard.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceb7d6b5cf020d1fbda347b759e839a43a20f285c0666e5a965e2dc573d72b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fingerprintEvent (cyclomatic 30, cognitive 19): fingerprintEvent 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/progress-watchdog-service.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"676e3cf59fe1e2891024b8b7afa5dfe0e919353021852552c6cb0d6df15f6240"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentWithTrace (cyclomatic 29, cognitive 47): resolveAgentWithTrace 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":"server/src/services/agent-routing-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"442354442e2884095b81c464c867ff905a18f8fafefbd08b1992dc749b0f33ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCleanupPreview (cyclomatic 29, cognitive 34): buildCleanupPreview 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/worktree-service.ts"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c8d82907bd136cb8754d04486e6fa2356d86f871984924f11c75c212096298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeRunTerminal (cyclomatic 29, cognitive 29): executeRunTerminal 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/clawdbot-agent-service.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ef1835258f0dd506490e0e95bc4a1024d02e01820f29a098ba25348e4e94e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchQueuedWorkflowStep (cyclomatic 29, cognitive 28): dispatchQueuedWorkflowStep 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/workflow-run-service.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3c62cb8ca380aa4f760378a874ce45c18d3c665ec3626209cb79fab353b27a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SandboxPoliciesSection (cyclomatic 29, cognitive 24): SandboxPoliciesSection 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"91065a340ca9156f02560903e4efa9602235b64c2238b3a81d4d9b87d5b0b928"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureBuzzAdapter (cyclomatic 29, cognitive 20): configureBuzzAdapter 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/communication-adapter-service.ts"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a8b50a73e2baad9f470db0dd21d478741763bf536e04977d6e78f5274ae9ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 28, cognitive 43): parseCsv 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/work-product-artifact-preview-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d822cd4bd6c87ecd3f546c090e2dd4b714063390cd0c330ccbca5563cff428"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 41): (anonymous) 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":"shared/src/utils/api-client.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"826294db4aa3b2da0c8960d6c58ee853b0bc207f8907d263a82fed872bb1bfa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectReconciliationEvent (cyclomatic 28, cognitive 38): projectReconciliationEvent 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/run-terminal-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f07a88306aa125164fdad54d52fb16452e68a72e93c3feb416c58db87ee9c78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedRepresentativeDataset (cyclomatic 28, cognitive 35): seedRepresentativeDataset 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/__tests__/storage/sqlite-performance.test.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2741068646b32ddb8141a3b4065055900b654de409ecd34d9e0935155b6232ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateResolvedFields (cyclomatic 28, cognitive 30): validateResolvedFields 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":"server/src/services/automation-draft-service.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c3e9271a83cf6a78f084ae5a37b160bc5d9ca6683707215a511eb08599d4b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 28, cognitive 27): prepare 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/run-output-spill-service.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef23b870cab22363f004fd0351f797512457b272a498bf3fa85a084ea579c1b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentForm (cyclomatic 28, cognitive 25): AgentForm has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"26875489835fd9032094a501b6944f09079db39e53b6c613767fb2338bc793db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerUnlocked (cyclomatic 28, cognitive 24): registerUnlocked 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/work-product-artifact-service.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e65316897a4860da205e021628ba4b2ce39e660c1345be80d15adda2651b41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentStatusIndicator (cyclomatic 28, cognitive 22): AgentStatusIndicator 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":"web/src/components/shared/AgentStatusIndicator.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c761b6ab29b858f9f130fbec0d8cd080857dbdf95ad29120428b60a5955e4741"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBuzzInboundEvent (cyclomatic 28, cognitive 21): parseBuzzInboundEvent 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":"server/src/services/buzz-communication-service.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a842a62d7f4c72b2cdd95e9c15114217a09f025a697b4c23fcc62027aa8557e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReviewPanel (cyclomatic 28, cognitive 18): ReviewPanel 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":"web/src/components/task/ReviewPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc79806ec25d2bdf68689222630ef4cfc8495ccda0a5cdbf38cb74f56db80c12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileBuzzDeliveries (cyclomatic 27, cognitive 59): reconcileBuzzDeliveries has cyclomatic complexity 27 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/communication-adapter-service.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"501206a0e62bd56a7b155fbd62a349b8ecd9bd360aeec010ef323fc9b856ecb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintKnowledgeCollection (cyclomatic 27, cognitive 40): lintKnowledgeCollection 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/knowledge-integrity-service.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"444716f6b5a25e331506de9ebd7c9a0a4b98c426ecc0c738265211ce908ffae3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compile (cyclomatic 27, cognitive 38): compile 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/filesystem-sandbox-service.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d72743cf4183040601cb2388ff87d701a0548d0066a29500520f227a499e44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePageBatch (cyclomatic 27, cognitive 35): preparePageBatch 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/knowledge-collection-service.ts"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"106fd1b516c73518062639de64a53b3bdd10a9ac0bbb4dee22aed00ef61bf3be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 34): (anonymous) 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":"server/src/routes/tasks.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14703021521a2dac175f9a86b29bbb4eb166675c37a033711cb811207567d5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewTeam (cyclomatic 27, cognitive 30): previewTeam 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/buzz-definition-import-service.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5e98224e91af394a274b0ee044ef77192fe11c5a2a9bddb07dfd0e6c34fc33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 27, cognitive 30): transition 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/phase-transition-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ed69127edf6c3ae88c486ea6036d88410f7eddd1ce5dc635f4f1393f5b7236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileRunningAttempts (cyclomatic 26, cognitive 48): reconcileRunningAttempts 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/run-recovery-coordinator.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"41573ee0ea7909915fcdbc8c801f6298d5b1b1979427c30b730e9c2c6e999959"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateTaskMetrics (cyclomatic 26, cognitive 44): aggregateTaskMetrics 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":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb70fd58edde683efe0e48b814a84d6402a8342ce9db94fb89caf31ed3199d02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeBudgetMetrics (cyclomatic 26, cognitive 41): computeBudgetMetrics 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/metrics/token-metrics.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ca2edd95d0aad5752cdde3bb26ba470ed5b22c4a90fc04eee6a1781ce5c81a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewPersona (cyclomatic 26, cognitive 36): previewPersona 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/buzz-definition-import-service.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de47feecf64ed641e32bbc5e7d2a117eaf4ba330c5d58f7be46e4ab8d34d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunLaunchRuntime (cyclomatic 26, cognitive 32): buildRunLaunchRuntime 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":"server/src/services/run-launch-compiler.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b9bd4c744872ab195bbc32a59dc3235df6251b5014437a9c28d3238ddd912f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startCodexSdk (cyclomatic 26, cognitive 29): startCodexSdk 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/clawdbot-agent-service.ts"},"region":{"startLine":7447}}}],"partialFingerprints":{"codehealthFindingId/v1":"954ec6f58a3e49c8c035f547a30590e314ebbaab5a34200d9f83724125ab975f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitWorkflowStep (cyclomatic 26, cognitive 26): admitWorkflowStep 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/workflow-run-service.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"c561db2789ceea148d57b6e4fb23c3c594a894663d492c9523d68b3a894bc70f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SquadChatPanel (cyclomatic 26, cognitive 24): SquadChatPanel 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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a08f808c3a96ab72263a049ce592e26f5b0b08a51bfcc4e6c641818ec6c8318"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardPage (cyclomatic 26, cognitive 24): DashboardPage 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":"web/src/components/dashboard/DashboardPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1770c75783c6c631e6ef6ed4bfc778ef7194a2ddd471490a55f39d6ae09d987e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OperationsDigestPage (cyclomatic 26, cognitive 23): OperationsDigestPage has cyclomatic complexity 26 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3ae852e90fa4e590faa847b3e03494e8f8997d2bef33489ba7912447609f08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readState (cyclomatic 26, cognitive 22): readState 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"90daedd46283f9d6bef0c9417f87f9880d8ccb93c46632a45a81045b64ab0a8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutingRuleForm (cyclomatic 26, cognitive 21): RoutingRuleForm has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"756ff6245f5f2290ee4d6823229288a82ac3b65cb8eff56adad056a11e30d2e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 26, cognitive 18): preview 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":"server/src/services/workspace-checkpoint-rewind-preview-service.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902a35f49ec29f3d83364044138e1f32a7aad63cbd3f23a139a1628f6095524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 46): (anonymous) has cyclomatic complexity 25 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/setup.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"706daee8f26f239ff37e81eb3155e9ce5fbb447972cf4d313b2f7854823c26de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRunCatalog (cyclomatic 25, cognitive 46): prepareRunCatalog has cyclomatic complexity 25 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce107c506c4e824d15b2c96b2a58b304bf4a9658274f578b39c370a5fedf9974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileWorkflowStepQueue (cyclomatic 25, cognitive 35): reconcileWorkflowStepQueue 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/workflow-run-service.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa186a53a97cb8a73a36ad7f8c9f16c0d7b6872a59337fe3c230d2cede1a2293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendBuzz (cyclomatic 25, cognitive 26): sendBuzz 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/communication-adapter-service.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc7af395e72d188b4322963a93029d94529b2db8135bfa245f654c0b430ea07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateAssertion (cyclomatic 25, cognitive 26): evaluateAssertion 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/harness-conformance-service.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"290dacd266be462924cd0d8090f922725f767c92fb0a84587b0b9b25320a9bcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startAcpStdio (cyclomatic 25, cognitive 24): startAcpStdio 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/clawdbot-agent-service.ts"},"region":{"startLine":5139}}}],"partialFingerprints":{"codehealthFindingId/v1":"62922451794260625e4e2337a6a0f3dea8590db45d8ea60a8b5ea86b3cfa8e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prune (cyclomatic 25, cognitive 24): prune 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e2dd2233e6b8b48e2d110dd9895c46fccf63b8fee9073acc34e2481e84ebb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvidenceTimelinePanel (cyclomatic 25, cognitive 24): EvidenceTimelinePanel 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":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1167c348209a64f1993b3a3561df53a7551d5b63762223bf6d788af70abc9a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunAccessPanel (cyclomatic 25, cognitive 24): RunAccessPanel 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":"web/src/components/task/RunAccessPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f326eb4a64d09128689c01ad0b3963703705ab9774b5f9128aeaac813397df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QueueRow (cyclomatic 25, cognitive 23): QueueRow has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b286bd17914d80d3bacd707c5bf8b13aa6a0f057aeb5195dcb753bc77cb8ba"}},{"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":"cli/src/commands/agents.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9ae71e3b317d6a2c927289129ec1ef546ff4239b3004baab4ac3263115c97c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCompletionBinding (cyclomatic 25, cognitive 18): assertCompletionBinding 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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a445605bbdb9dd0ad8bcfa00f12968c67b4f0cbc3255d63bba0998c7ff96814"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateCoverage (cyclomatic 24, cognitive 51): evaluateCoverage 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":"scripts/check-coverage-ratchets.mjs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bcbc1fcb15d616512e5fc46d92c73beb49245e96d762dc5986af8b420f0dd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeVelocityMetrics (cyclomatic 24, cognitive 37): computeVelocityMetrics 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/metrics/task-metrics.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3e4023d6ce9781a3e394eb1875a088641274baff71aa280249292807db676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function responseForServerRequest (cyclomatic 24, cognitive 33): responseForServerRequest 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/codex-app-server-adapter.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d3cca38a48f0ffe77ca5f71050804b1e632bf4baa3877a3febf60a3b78095e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileWorkflowRootQueue (cyclomatic 24, cognitive 33): reconcileWorkflowRootQueue 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/workflow-run-service.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d1394779b2bc72e74feb2756d1d119bb2e18e3b1b199478d33857bc4defd14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesktopOnboardingPanel (cyclomatic 24, cognitive 22): DesktopOnboardingPanel has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9151297bcaa90473e7b0dde481a59f2ec5fdae0bb7c71bc73707cceca434af43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SquadMessageBubble (cyclomatic 24, cognitive 22): SquadMessageBubble has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a57bb92d2746df5ffffdd943b5c4bb070bba26f7648d37101418748606bb977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyClaudeCodeStreamRecord (cyclomatic 24, cognitive 21): classifyClaudeCodeStreamRecord 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/claude-code-adapter.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b0ca69939ebe2c6f89f8619e6c4e15941e13089f239421aaf049ed743f19e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 24, cognitive 21): read 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/storage/work-product-artifact-repository.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b63b654093e7c58cdd80cd5d40a77180c579fcdba415164002b5c33b0f4d5"}},{"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":"web/src/components/layout/Header.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5321baca32fa155bdf5418497c710d6a03243f114ffe202d2ba952ffdf1f2047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHealthChecks (cyclomatic 24, cognitive 20): buildHealthChecks 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":"server/src/services/maintenance-service.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ad1815700ee8967f0f918c9ffc1dec990d07e1f51c91e7293bcae7d1b627a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotCandidate (cyclomatic 24, cognitive 18): snapshotCandidate 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/run-file-execution-policy-service.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5472846e1e6a95c39fc097b3c2786e80d22e0b2f3ab39ca51a24c758c190d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGrokBuildAcpArgs (cyclomatic 23, cognitive 35): buildGrokBuildAcpArgs 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/acp-stdio-adapter.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d943959ab68c060f598de43d0f00e8fdebcf0a28813c2f54aafecf78b26fff90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addDependency (cyclomatic 23, cognitive 35): addDependency 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/task-service.ts"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"470da48bcd21b95ad32ab9191a6b005565396f48b16c064cd6b9f2bc7d85538c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeJson (cyclomatic 23, cognitive 32): normalizeJson 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/run-event-journal-service.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dea62333f6a1a0049bca7beb261d554e73ac3a1067fb13ee3e3c38611dd81e8"}},{"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/routes/tasks.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"7577ccd5d2189d4416e8315623244cdceaf30c6ac0b7ef13a6957f7a10c8386b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completePendingAgent (cyclomatic 23, cognitive 27): completePendingAgent 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/clawdbot-agent-service.ts"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b42f894e02c9a4775cab37d0bab075ed4319a343756c49cc2ba9c436a67897e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRunCompletion (cyclomatic 23, cognitive 26): handleRunCompletion 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/durable-goal-supervisor-service.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36e12c9940268a7e4af30080c66a95c0fa0349559316f6b199b51b4522d015b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAddress (cyclomatic 23, cognitive 26): classifyAddress 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/egress-policy-service.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd13911510b0dc88fbd7e3404c3ac3786ed4a2d1b9cac6e91e9f166ee5b7d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completionPacketMetadata (cyclomatic 23, cognitive 22): completionPacketMetadata 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/work-product-service.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba73ae52df575f729725809484c695936105847c36ed228ec180fe7fdbc0ba42"}},{"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":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c628ebe733486980738c21ebefc439a8a6eb30d273045b412da46726e4744c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleClaudeCodeJsonLine (cyclomatic 23, cognitive 20): handleClaudeCodeJsonLine 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/clawdbot-agent-service.ts"},"region":{"startLine":6851}}}],"partialFingerprints":{"codehealthFindingId/v1":"a235af2c7d8f5b0813911251b2cecd682c746766ba047edb12400dd413facabc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExternalIdentity (cyclomatic 23, cognitive 19): resolveExternalIdentity 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/identity-service.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"65988838f0d2db0caa1ebaf79121d201750f1aa70a80a8cee60880961d794b47"}},{"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":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487c2cfd99b53d84d4b514b42306b178914185e8c11759f256c0f399b1129e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureAdapter (cyclomatic 23, cognitive 15): configureAdapter 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/communication-adapter-service.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa761574aa60aac53b393f6827e9e4abc9704d4d4b107054d46150283c34e23a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkflowEditorRoute (cyclomatic 23, cognitive 15): WorkflowEditorRoute 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":"web/src/components/workflows/WorkflowEditorRoute.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13b3d384e1e7daabad24d43c8d39384bba3d789ef9365050874af073f4d5e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateMimeType (cyclomatic 22, cognitive 43): validateMimeType has cyclomatic complexity 22 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/mime-validation.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d41e19f6962c732d949b745cb0c32c9b19fc1a323b1416dae31d151ec0ed5fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatOperationsDigestMarkdown (cyclomatic 22, cognitive 42): formatOperationsDigestMarkdown 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/digest-service.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce08fb08ccb502e244cd587859248a400eb38518bea20cce8cb33150354fa669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRun (cyclomatic 22, cognitive 32): startRun 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/workflow-run-service.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef3d3562a6293b81b6789794d5fe3d6b01e8be490251ed8a44ab9ce26ab8935"}},{"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":"server/src/schemas/durable-goal-schemas.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2ed353e763c67e5fad335f86f0d06872a6550a9ef94637a986089888b8c90f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function referenceCandidates (cyclomatic 22, cognitive 29): referenceCandidates 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/run-file-execution-policy-service.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fa6211d5b77259ef2566c4a1559d2c1dd75169fbd9b50becdc1c584136ed77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 22, cognitive 27): visit 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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5687d681d991969bf49e93380c8faea6f6c12f6363e35dfb56f1c155668261db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSearchEvidence (cyclomatic 22, cognitive 26): validateSearchEvidence 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/knowledge-collection-service.ts"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4df73630e69e41ad9fd247326f7307ee05b612d6fe93aaf8012cb60064dd55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemHealthBar (cyclomatic 22, cognitive 24): SystemHealthBar 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":"web/src/components/layout/SystemHealthBar.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1349cbea62691a0450b8b7e1259eba4ca9bda77e15a01103bd23a59802aac476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTaskOverviewComposition (cyclomatic 22, cognitive 24): getTaskOverviewComposition 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":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0727903533ed9a9766844239c3698bb4e489a5b0ad1b0e3383b4d25437359a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWebhookCheck (cyclomatic 22, cognitive 23): runWebhookCheck 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/policy-service.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a71d954a70ea16f3e70da2adb7b0964b5ff38be0d73f4ac84df39bfd3954a64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeConversationLaunch (cyclomatic 22, cognitive 22): normalizeConversationLaunch 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/clawdbot-agent-service.ts"},"region":{"startLine":9031}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c9c9f9ed2a0ea61ff14af5e520527d608ffb847920424cd730f7222a717316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateForLaunch (cyclomatic 22, cognitive 22): evaluateForLaunch 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/workspace-execution-trust-service.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09a8495ca9f18d6bef41abdc5895e830bc2f5f464350b61cf65e0423d2f0fa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCodexAppServerNotification (cyclomatic 22, cognitive 21): classifyCodexAppServerNotification 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/codex-app-server-adapter.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b86972426d527e1fae12d47cb5c0054ac43f749911a383b3f753699aa8ac8b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 22, cognitive 21): decide 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/run-approval-broker-service.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0f69672e787fa26ccaefe5e03b0bd65af1fb237abf77a8dbd26458f05a8b8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SandboxPresetForm (cyclomatic 22, cognitive 20): SandboxPresetForm 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"22062e6bc571b407514e34d2abfe585c96c7e7a4fea57fba1b7d1c128cf5267c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkflowDetailView (cyclomatic 22, cognitive 20): WorkflowDetailView 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":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa914278d58466938a86f57037fdffe144394aedabb2db2ecb961485461a805"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyBuzzRuntimeHealth (cyclomatic 22, cognitive 19): applyBuzzRuntimeHealth 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/communication-adapter-service.ts"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59820f22c0685db05ffeb342e6f539b3cdb5e71085a0f543535263b9ed92a8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectCurrentFile (cyclomatic 22, cognitive 17): inspectCurrentFile 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"326954168ee71c568ea4129aabf38546ffbf82f6307b7e78fc04747fd01f53e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProviderConversationCursor (cyclomatic 22, cognitive 15): parseProviderConversationCursor 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/clawdbot-agent-service.ts"},"region":{"startLine":9443}}}],"partialFingerprints":{"codehealthFindingId/v1":"820815debcff56b7582dac7150955f4a1508a28bb84854902cc1d92a4b261260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainAdmissionQueue (cyclomatic 21, cognitive 46): drainAdmissionQueue 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/clawdbot-agent-service.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb191357ee103bbc40ed5c328cfaf72963f9e3fa28d6b3a3d2b50d1385e255f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileFromTasks (cyclomatic 21, cognitive 32): reconcileFromTasks 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/agent-registry-service.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cff8e842d5d2b433e072e1ed76a6927024520e007876982e834782c86636eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCopilotAcpArgs (cyclomatic 21, cognitive 30): buildCopilotAcpArgs 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/services/acp-stdio-adapter.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ccf583489c0261db627398d32957b028168845769652b5bad731c405221c95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProfileAgainstSchema (cyclomatic 21, cognitive 23): validateProfileAgainstSchema 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/external-tracker-service.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a181d7c836531d0222e721f20831874d36fb2aca89fac26c6a221a7471e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 21, cognitive 23): preview 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/work-product-artifact-preview-service.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f756280829d216ee795800116d1108ccbf631e1715fac7fad05561ce6128aa31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDevCommand (cyclomatic 21, cognitive 22): isDevCommand has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-process-ownership.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e2c2830178fa44ad4df59889efcdb26ecd9dac92337a6b39048ee2827f21c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 22): (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"05718692458d5ba6a6c4d6df13269f8bd78888315454a7892a9ba53ef8b05967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetupScreen (cyclomatic 21, cognitive 22): SetupScreen has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e468369eb67a2c914193ec82405343ba2e80c00b7182c5bd3bd1e481b5f1cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleApply (cyclomatic 21, cognitive 22): handleApply has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9988a2b5e2b629accfb23952b8f5015241b34793439dfefa196411839492d26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 21, cognitive 22): handleSubmit has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcdbd2612c5dba43d40b8c51e74c775f18367f50b1e965dc5f043be222097de"}},{"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/routes/tasks.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"144308ab1baabbaaa1ca03b522146dfddcc7e58d12d789324f839e256ce34128"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stop (cyclomatic 21, cognitive 21): stop 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/agent-provider-adapter-registry.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b601180193a084740463a98c8a338a03047b258be584228e585837f8640ba1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSocksConnection (cyclomatic 21, cognitive 21): handleSocksConnection 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/run-egress-gateway-service.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5d937551f4a611275d2b2ae88ad5b905023647083fa6f85790ab450331bf11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compile (cyclomatic 21, cognitive 20): compile 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-launch-manifest-service.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b372b194c999060b4408c5f85fe4004b6cdcb821d936e87db9c2fad655740"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionExplorer (cyclomatic 21, cognitive 20): DecisionExplorer has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa000169447d79624aefee3a34cb25d79f40a7ccdc795f4ff46bf99465a64fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTab (cyclomatic 21, cognitive 20): renderTab has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11fa85624f47d04291c639dfc0bd7b1a3d39370175c6b5c4aa85c1d3f19d231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdmissionQueuePanel (cyclomatic 21, cognitive 19): AdmissionQueuePanel 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":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c4a5e916d63a0f5f9125a2e6d83c59e48d0b5a6d77bae6ba0a2075d926be93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnforcementTab (cyclomatic 21, cognitive 19): EnforcementTab 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":"web/src/components/settings/tabs/EnforcementTab.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"138372d5fc277f3959ae843d86a8c195e687bc6a7713fbb0d7fe56e3cfb10998"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrackersTab (cyclomatic 21, cognitive 19): TrackersTab 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":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df5ea1180b20e928afe42361e7e33d60c6e8e734957fd1f5ff0c4a99e3a693"}},{"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":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd4b89ca9cc55ed74baea984d345f46f543e97cf9f898e5076362e9fc18a71c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProviderRuntimeProbeRequest (cyclomatic 21, cognitive 18): buildProviderRuntimeProbeRequest 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/provider-runtime-resolution.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"576a86a7faf2706c0515260e275001b742da963a72026c01129a29e63936a16a"}},{"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":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c48929b10c29d0445fae6582f0f3d9830119daa769764d7819fd85a8f33665e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatPanel (cyclomatic 21, cognitive 18): ChatPanel 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":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b07d8ce5821c3b9d86b2c522ba4a3a55cbd885fe28f4c082ba6e0cf459f4de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScoringProfiles (cyclomatic 21, cognitive 18): ScoringProfiles 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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"087a91195b2f1e8d74c141d51b7577e6530020980cbf9a42f1760982e9919a7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskMetadataSection (cyclomatic 21, cognitive 18): TaskMetadataSection 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":"web/src/components/task/detail/TaskMetadataSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb60b921e160e6464974891acabb525decc2f4a72562902657f0c8a104e3ad10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probe (cyclomatic 21, cognitive 17): probe 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/provider-runtime-manifest-service.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7894cdc6c2fcc5183759ceb2690e737df9c9fb56e31a550d011eb7bc482e1c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 21, cognitive 17): classify 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/run-recovery-policy-service.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc9b50759ef211dd5b72ac26fbf396def80e8a2ab30adf3bd13a028e4c14a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 21, cognitive 17): decide 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/run-recovery-policy-service.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27a731de0983c6929bf9622b83574d848917950c3ee7665fb9229061657ec1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KanbanColumn (cyclomatic 21, cognitive 17): KanbanColumn has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanColumn.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"55370f338e54802372c20b4292e892fff59deccd1dddf3ed27f9a0d98433f118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SchedulerTab (cyclomatic 21, cognitive 17): SchedulerTab has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b28eb00b444d4e685b1bb0db76b2e8c9871490f3103ce70360c0f532b04596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceCapabilitiesTab (cyclomatic 21, cognitive 16): WorkspaceCapabilitiesTab 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":"web/src/components/settings/tabs/WorkspaceCapabilitiesTab.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a54e5df282bccef8089d9a08f68675c9033e7b2411c5d68d55204eecf31fb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEventShape (cyclomatic 21, cognitive 14): parseEventShape 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/buzz-definition-import-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebe24403919793a265e0ec6fc0b038cdf4dacd47fd26bc2d8bf0e3d4397132b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeTimelineRun (cyclomatic 21, cognitive 14): summarizeTimelineRun 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac14684c3fbf22377652b863d45728f470928b0eebae62f5c40ca0497be357b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSecurityWorkflowViolations (cyclomatic 21, cognitive 13): findSecurityWorkflowViolations 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-security-gates.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"041a73eb19ce177b0657f5d12f05f9aff4682415c69ebb0b49097caa61bb9d86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verify (cyclomatic 21, cognitive 9): verify 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/workspace-checkpoint-ownership-service.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"37264f4a9403f6c6ce436c9cea95826fe08f6344eae706321a2c69344b841e69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeFailedRuns (cyclomatic 20, cognitive 37): computeFailedRuns 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":"server/src/services/metrics/run-metrics.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e05c26174c088de8925b5836183b9f582aec78332f238596ec28f5ee51660b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executableChangedLineNumbers (cyclomatic 20, cognitive 30): executableChangedLineNumbers 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":"scripts/check-coverage-ratchets.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e726e2de81259d5fa3fe606f4e0692b66ec8e310727a376a3a43e30a881298a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAgentTool (cyclomatic 20, cognitive 29): handleAgentTool 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":"mcp/src/tools/agents.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"140f8b489413d200a6c4d89dd48eb1991b0b4d8627599f6a3a881f31c17a2ef4"}},{"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":"e2e/task-artifact-format-popouts.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"206dfb2f19e017c43a7b706a068f383bfc9d0487d10e6937fb29b98fd80eb525"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDefinition (cyclomatic 20, cognitive 24): parseDefinition 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/buzz-definition-import-service.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0dbad836acd3cfc259cfbe9fa4103355cc583706445d4a5307a4a0d2206d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LoginScreen (cyclomatic 20, cognitive 24): LoginScreen 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":"web/src/components/auth/LoginScreen.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"46aa48d75a4c00b3be185a779bc2d5228c1515c613cb0134ba30ab4c832ccb71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function delegateToCodexCloud (cyclomatic 20, cognitive 23): delegateToCodexCloud 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/github-service.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d3017348ba057c27a551186c9e71c0857f5425d3fede8f6d0044f5dffb6c7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 21): (anonymous) has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8137f69239c028db30277f7f2ec037cee758512e7534705969f72eac5a7f142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendSquadMessage (cyclomatic 20, cognitive 19): sendSquadMessage 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-service.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7287ed4bef996424680ce38625ffd9bea20dc3b6a0051827e6ebb0ca8fd5fc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchQueuedWorkflowRoot (cyclomatic 20, cognitive 19): dispatchQueuedWorkflowRoot 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/workflow-run-service.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"1038f9d7456eadbeb05fcb55cb7f023763632731c868c462e83b64293785a640"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function policyToForm (cyclomatic 20, cognitive 19): policyToForm 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":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bcdf04e9b633a941edd6d470fc2a843f6d38d8071c53414d57cc2812be21a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startCodexAppServer (cyclomatic 20, cognitive 18): startCodexAppServer 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/clawdbot-agent-service.ts"},"region":{"startLine":5554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6a9b338f5ca81f7570f87d2b8372ae61ad5b49a39bb5e35bc6a1f50d9a0256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openClawProvider (cyclomatic 20, cognitive 18): openClawProvider 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/context-provider-health-service.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e974ff33d9cef07c632a7e16ffc717c8be45410deb709cfb2c1a7d763222f801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachRecoveredRun (cyclomatic 20, cognitive 17): attachRecoveredRun 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/clawdbot-agent-service.ts"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de2c805d5288a4dd4e817536bd459693e17201dbd8a06a92c577fd87205240a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetailsTab (cyclomatic 20, cognitive 17): TaskDetailsTab 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":"web/src/components/task/detail/TaskDetailsTab.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b5e961572bc3c3707e387e486eca5048d8c010ed75ecae7ad43a9ffe649bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workbookTable (cyclomatic 19, cognitive 40): workbookTable has cyclomatic complexity 19 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/work-product-artifact-preview-service.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"c811d8b1e5dd8dc131c653c99739d3347b1452119f174f21e0e7d4fd1b538461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePendingRecoveries (cyclomatic 19, cognitive 37): reconcilePendingRecoveries 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/workflow-run-service.ts"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"86861a9784751051b3a9f46125c3016c6e556d2c8531b668ecd22c15b44b4b4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyMissingTree (cyclomatic 19, cognitive 33): copyMissingTree has cyclomatic complexity 19 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/migrate-legacy-runtime.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfdcbfaf72428a12307f761d8317bc15e33e76bdd86ec62fedb14a8cf4c9789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeAgent (cyclomatic 19, cognitive 32): completeAgent 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/clawdbot-agent-service.ts"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9a203907b62ddf1eabcdf89cad5847c6f3261e86ac49a703c5c5afc9dc5d9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateServiceFilesystemBoundary (cyclomatic 19, cognitive 26): validateServiceFilesystemBoundary 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":"scripts/check-service-filesystem-boundary.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"185428e9dc5e7aede4e1ecb91278c3e5e2a6923f7d9b12112b3cf6bb6fc47aff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionTreeIdentity (cyclomatic 19, cognitive 24): buildExecutionTreeIdentity 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/clawdbot-agent-service.ts"},"region":{"startLine":8854}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fad1b60cd3650344d1ba38eeef4b9bc3ff7c62b2780580b994d67c1eff5dc7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCreatePayload (cyclomatic 19, cognitive 24): buildCreatePayload 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/external-tracker-service.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1520df740b0f67aafd3ca075103471d05a1e8e19726fbfb09079960f245445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForDesktopReady (cyclomatic 19, cognitive 23): waitForDesktopReady 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":"scripts/wait-for-desktop-ready.mjs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c3c850715b310214c16cc39ddd764de4684ff78251ca3014582bbf40a6378e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 19, cognitive 23): create 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/storage/work-product-artifact-repository.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f613a0079a38fdbb8281fc84bfd1263a35ebc71bfe76ca58b6ca664f5e39607"}},{"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/__tests__/orcarouter-codex-compatibility.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"545256f25e9beac464c2619a0a31d66fa06cd8d2f8c33eab055542b0b77e5d9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUnifiedDiff (cyclomatic 19, cognitive 21): parseUnifiedDiff 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/diff-service.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d73aa98335897115b8390067d8d4491785e383dc6d87b74d12fb7c2fe7dffa8"}},{"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/provider-event-evidence.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53239aba5a828977b66eb0789eae7e57b851bcfbc58cfce51017019c13564ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function post (cyclomatic 19, cognitive 21): post 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/tool-control-plane-service.ts"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38ddc70603effe31b55a39b854d12013567bb3710e8783c262691a6dadba7cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreCandidate (cyclomatic 19, cognitive 19): scoreCandidate 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/queue-intake-monitor-service.ts"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"86be9acdfbb0e783609f0cdde33b0433a31890f967368984b7e8e9aa69c022ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicCategory (cyclomatic 19, cognitive 18): publicCategory 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":"scripts/check-public-docs.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b474bb29abae6a775d13c425ba6a0ff9c1a1096f997e759292821a870a6b8b0d"}},{"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/schemas/workspace-checkpoint-schemas.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55447d1131a2e4ad47212903282fb07f3f22a387e197840b3b4f5672699eb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageHeaderFailures (cyclomatic 19, cognitive 17): pageHeaderFailures has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native-ui/layout-contract.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f44c6db6507115604d0497595bc850dfebbf6efc62025366023b69dd9e3b92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentsTab (cyclomatic 19, cognitive 17): AgentsTab 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6784414c399d900f3001f082fdd9c892dd1d9c532ec0aa8c0688b4ed1474deed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuzzDefinitionImportSection (cyclomatic 19, cognitive 16): BuzzDefinitionImportSection has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"057bdf662ea1e1cacbbe8753eb7a171b2c2f6cbc4be675092030c39bff4fbb10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TemplatePreviewPanel (cyclomatic 19, cognitive 10): TemplatePreviewPanel 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":"web/src/components/templates/TemplatePreviewPanel.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79b41e4a02d8ad518066b98316e9b474baf656de2189e691bfaf995d18dc92c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCheckpointFiles (cyclomatic 18, cognitive 32): applyCheckpointFiles 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":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f926f35ee4f6aa1581732cb20398814f276fc06fe5c09d78d7816bfb76a08b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticateWebSocket (cyclomatic 18, cognitive 30): authenticateWebSocket 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/middleware/auth.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9514e0515bb0ed361927e4cc95d0d7190ae9d2a99135caa5d98104b065926027"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectEvents (cyclomatic 18, cognitive 30): projectEvents 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/services/run-file-provenance-service.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1415b77faba7af03491ab0f1d88813c5d1f92f9ce47b52aca11e7d6ec8f6a01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 18, cognitive 29): parseArgs 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":"scripts/validate-release.mjs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"159c496a1a34d43c3fa700021cd868fcf844b56f418c6a0600bfe88b6cb40004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertManifestShape (cyclomatic 18, cognitive 25): assertManifestShape 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":"scripts/check-permission-coverage.mjs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c5f7b904b74b6601784e1b1762a3069436b2741eae527b67290a21d285ecbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 18, cognitive 23): deliver 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/outbound-integration-service.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8b65050fa1c5a80eef889967d71e50ef2576803e172ec869edff81385c4536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTaskTool (cyclomatic 18, cognitive 22): handleTaskTool 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":"mcp/src/tools/tasks.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"04205df825d820977d7dd9fe0d305acedd51c89bef288043eb45e137fdc796c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchCollection (cyclomatic 18, cognitive 22): searchCollection 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/knowledge-collection-service.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1a6b612de63f43ef54f81e4bb1a7ec7543735aadb82c9d118e587556dc528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateCompletionPolicy (cyclomatic 18, cognitive 22): evaluateCompletionPolicy 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/provider-completion-service.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb3f4dc364e6dec34efbdf09cdd490ba97fa15e7ce51837b6ee99c2490be89f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkAuth (cyclomatic 18, cognitive 21): checkAuth 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/agent-health-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb0a28f813aadbd501f5ff67b1332c8434fd1be0a6183ae55dc3b9aae947ab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canApprove (cyclomatic 18, cognitive 21): canApprove 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/delegation-service.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cabd0c5574b2f3945b57d9e205f24d745e03374a13f032a4c14f2c7dad30f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureCompletionGitState (cyclomatic 18, cognitive 20): captureCompletionGitState 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/task-envelope-service.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e90d9d791d1d15bb00c7c5af9070891b270f6c0632104c90f0ee9904d7e47b"}},{"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/worktree-service.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"d356af7b08c57e6e5480118763d3929a600b705660ec8d58634fa6a002c898e9"}},{"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":"web/src/hooks/useAgent.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c0ef4b33a78fcca773a656140f77694551ace621c26edd016ce38248f15be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkBundleOutput (cyclomatic 18, cognitive 19): checkBundleOutput 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/check-mantine-qa-gate.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bf48b08902c9649f748a278bc62bf037c5326d80ad2970918ff72d6e930634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function screenshotSize (cyclomatic 18, cognitive 19): screenshotSize 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/native-ui/png.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ffc105f773860c773b608b26e5cf2993ec0218271ee2a7614ef7357ce2cad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveProfile (cyclomatic 18, cognitive 18): saveProfile 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/external-tracker-service.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd09f3bcbe7d49fc6fb7f16ab84d1403a823af64d0253610e27d795ab152218"}},{"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/provider-event-evidence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d4e331cce62cc83cdc0adeb2369ae8be8c3e904f49ca18140090cdeacd154"}},{"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":"cli/src/commands/admission.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"69281198861bdac600a9cc442b52276448d129c59fcb5117a3f7d325354f1ec3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordCodexEvent (cyclomatic 18, cognitive 17): recordCodexEvent 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/clawdbot-agent-service.ts"},"region":{"startLine":7968}}}],"partialFingerprints":{"codehealthFindingId/v1":"943a8443f1e2e90f0bd130fe79c1e49e210e5b9545dbffcab096e4d47c4dc605"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WallTimeToggle (cyclomatic 18, cognitive 17): WallTimeToggle 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":"web/src/components/dashboard/WallTimeToggle.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e0dffc2afa87749607beda5527a9eedae7ca0ff7a2893aa673db486cd6e67b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunModeGateSection (cyclomatic 18, cognitive 17): RunModeGateSection 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":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"95497d129cd5de5fabe1dfd7741437277782a0e876a40585f27eaa613ec61b04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkflowRunView (cyclomatic 18, cognitive 17): WorkflowRunView 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":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbac17c66478d6bf484b8c36fb96bfc1d06c6e104902c340d073a8d3a86d1909"}},{"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":"cli/src/commands/agents.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec5647b30b7a124bb34ebd0ac0a349e688c0ef5f436c28deff4bb7da36c35a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 18, cognitive 16): build 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/task-envelope-service.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3eb55f74268d0294817cabbbd490e74106731390c9de80fcf7bcdf7f29a511"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentCard (cyclomatic 18, cognitive 16): AgentCard has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/MultiAgentPanel.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aa934df2705c57bf15801a1400d2b08ce1b747638d3a45640e1bbc35e820a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invokeTool (cyclomatic 18, cognitive 15): invokeTool 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/openclaw-workflow-adapter.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88e1c6938129c59c0c3e3088d797c27022512b3a4763cf8e8a0a91748fbc531"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invokeTool (cyclomatic 18, cognitive 15): invokeTool 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/openclaw-workflow-adapter.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b15184cb6a8fcc8e0fdbaa5e2409553cfb9dfd973de298f8cccd8aa57633c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareFile (cyclomatic 18, cognitive 15): compareFile 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/workspace-checkpoint-diff-service.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aa6ec04801b87ca23ef5bd0c581bf60ede939ad49e0eef3c10458a136c8848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReflectionCandidateItem (cyclomatic 18, cognitive 15): ReflectionCandidateItem has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ReflectionTab.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"964c098e295f616170561b5c268003923290d5f5c54ab31993ffed2083b6cf66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitSelectionForm (cyclomatic 18, cognitive 15): GitSelectionForm has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/GitSelectionForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5314dddc8b5b6c5bc0f4c8362c01ef280a3da0462e72e796b9967d7c58366b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forkForRewind (cyclomatic 18, cognitive 14): forkForRewind 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/clawdbot-agent-service.ts"},"region":{"startLine":5825}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f94b0d203d3826caf503ec22fc6cb015c49a42f57b4b2b63a7f338c1a45aece"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrationCompleted (cyclomatic 18, cognitive 13): migrationCompleted 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":"desktop/src/main/paths.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4197ecd74986d4c0be364a7e5a12d39944f837ee4c0373482f7f5620e2ceb716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitTelemetryEvents (cyclomatic 17, cognitive 35): visitTelemetryEvents 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":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"23df633da88013675d67cc4c7f3daf64b82cfb9e876ba9f8e0183606d96990e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseChangedLineSpans (cyclomatic 17, cognitive 32): parseChangedLineSpans 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":"scripts/check-coverage-ratchets.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a29e46e95bab6981ccdc295a20804ab10431835acaf7954f18cbed47ba554c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateStandupMarkdown (cyclomatic 17, cognitive 32): generateStandupMarkdown 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":"server/src/services/summary-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0618be7d84650429a8140490b3ae26337d4588daceb5fbfb28db85c20ec610"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 28): (anonymous) 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/credential-broker-service.ts"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a22b784b820297715ebba2190bcb59c30171da975ba9108f735de1e12cfa91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markdownToHtml (cyclomatic 17, cognitive 27): markdownToHtml 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/pdf-report-service.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96ffd8ad20dc19b89770a8345f45d4bbc0ed3bec5cc8b66c83cb7eec17f63a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateGates (cyclomatic 17, cognitive 27): evaluateGates 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/queue-intake-monitor-service.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba9b45b2a77d5eb0692c72ae8ba93f4e7443287c83009fac5e6b9f1fb3470a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticate (cyclomatic 17, cognitive 25): authenticate 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/middleware/auth.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27e47b82e594e50114efc4b67fe910da4a855aaf3141bf0cb8e35fc30776752"}},{"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":"server/src/__tests__/codex-provider-service.test.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"017b39899b17427838de053b16abca887f51405c60b4a575c55e8a4370585dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFallback (cyclomatic 17, cognitive 24): getFallback 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/agent-routing-service.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2ca4585273c5a199964d52bdea7cf0b03090920562fdef2835985a500abfe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recover (cyclomatic 17, cognitive 24): recover 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/run-supervisor-service.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa46ee68452e71762fd57169c18872941cac3f6b0ff9f41c2aa176872490716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectSqliteFilesystem (cyclomatic 17, cognitive 24): detectSqliteFilesystem 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/storage/sqlite/filesystem-posture.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e6f17292c11f84e46308a0cd92d56d8e0a63fc6af9293b1e36618f967c70ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSafeSchema (cyclomatic 17, cognitive 21): assertSafeSchema 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/tool-control-plane-service.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afb00047d82137f503ce4b0bd577471b80f8b56621652b70c6240f0cea82a1f"}},{"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/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6165037ebd2f9cc232bf11a4602f528461a0075fc0722abe0282e21459ec2cb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateWebhookUrl (cyclomatic 17, cognitive 21): validateWebhookUrl 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/utils/url-validation.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d831760ce453d07232840b9289493eb76dee0543bc89eefe2af4534fe4ce98c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleResponse (cyclomatic 17, cognitive 21): handleResponse 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":"web/src/lib/api/helpers.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f043e9727af8a2c76acab9f1ae2c34e4c83a6c6ed5869cecb795e4cf49300e32"}},{"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/utils/openclaw-gateway-rpc.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d14ed372af03ea93490876c30a78449ccec069cd894494ed34f00fe93741f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildClaudeCodeArgs (cyclomatic 17, cognitive 19): buildClaudeCodeArgs 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/claude-code-adapter.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee7146c6c9d0166c1ec4c221b19f9b62d687aa5bf43bbb1b2c1e46735659005"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistRestartedProviderCompletion (cyclomatic 17, cognitive 19): persistRestartedProviderCompletion 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/clawdbot-agent-service.ts"},"region":{"startLine":2846}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b58776820f8f2a482f7f3e84f4afc36024dd3ad8b2aeac328321cc00d6a26d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function append (cyclomatic 17, cognitive 19): append 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/run-event-journal-service.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a85dfdc5dcd1163e2d8dac75939118925b373515657194f4fe667bfe5155586"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventToBlocks (cyclomatic 17, cognitive 18): eventToBlocks 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/time-breakdown-service.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8304ae53c4e548469d4905800113b3d93c9cb7b2c83a7a7f75bd51a4b2eadb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processLine (cyclomatic 17, cognitive 17): processLine 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/clawdbot-agent-service.ts"},"region":{"startLine":5861}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1009f8ddea25bdf6e29e3e0993005daa8e2ecb9cbab83ca595c15bfff522f4d"}},{"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/clawdbot-agent-service.ts"},"region":{"startLine":7327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5752ff93f9614783bdd40181c9a749d0276bf35d9139a65cc06514515ef7ac6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function predict (cyclomatic 17, cognitive 17): predict 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/cost-prediction-service.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c04df7ba54142ad1ef15015324d35f12a50ea8bee1038938799d0fe6b310c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunLaunchEnvironment (cyclomatic 17, cognitive 17): buildRunLaunchEnvironment 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/run-launch-compiler.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de6c2ed1ad5908dfc43c1f475c0874b1abe4c86e623dcd9a6aa4fd38e0a00e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeAction (cyclomatic 17, cognitive 17): executeAction 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/transition-hooks-service.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b25aa7dbfba8639f47c263949c69d8334928ec548eb977acc482a43aa43fe5"}},{"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/work-product-service.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe7115309fcb07b3b4b29828b3cd3a4d22779582ba0e93e60fb8108bdb5a039"}},{"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":"cli/src/commands/admission.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca2e6c7f3f76ccfd55da648ef056c038c8c2d33186373b0fb53bc0df780061c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeTeam (cyclomatic 17, cognitive 16): materializeTeam 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/buzz-definition-import-service.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d57953957c98dd4a2879a7b1aa5eb47524e113f40834f495c67800d44b57b"}},{"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-service.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6dc4025e50d8485d3ffc4ffc583923dd7c76abbedb024fe33a6969787160ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordRunOutcome (cyclomatic 17, cognitive 16): recordRunOutcome 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/durable-goal-service.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"810657f4b240e8479f9cc65445c7dd42828b0072431be6743e2fe2500cffda9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telemetryMetadata (cyclomatic 17, cognitive 16): telemetryMetadata 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/evidence-timeline-service.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2a4a34c9c43b01906041c948e54255de31b052db5df19d92f71de85a1132c7"}},{"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/governance-trace-service.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4cd9e22bfd3e0a47ff102c2f26131d78bc7426c99d1da176094b0394398de1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PolicyManager (cyclomatic 17, cognitive 16): PolicyManager has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff9e69073b99bd60cab62cc93cf3407eb10d3650e840531606e96ebc08b86cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkflowDefinitionEditor (cyclomatic 17, cognitive 16): WorkflowDefinitionEditor has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"297afbdcf21e9c82866c1fa2de2af559b347dbd36879695bca1ec7fbbbdb156d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventToSessionUpdate (cyclomatic 17, cognitive 15): eventToSessionUpdate 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":"cli/src/commands/acp.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48b17da4ccfd69939bc19dbb1d85c8869c59a5d28c9419c03fefab8252c76c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractText (cyclomatic 17, cognitive 14): extractText 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/text-extraction-service.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d8c990aa1c93a2d2cbfdc42da12b6b9b2699f7ff88c751d8882b2cec0b2788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalizeWorkflowQueueTarget (cyclomatic 17, cognitive 14): terminalizeWorkflowQueueTarget 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/workflow-run-service.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ea26d9579ea9d6c5efd1fcf3adc98d7ca0fa5d634cb26d2e16356f01c1ba16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentStatusPanel (cyclomatic 17, cognitive 14): AgentStatusPanel 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":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25bbb04e5ed2101a1a7080ad7a46b57949c7b38e83962d1bfcc9c7f8c0f3b07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectCurrent (cyclomatic 17, cognitive 11): inspectCurrent 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e080c1c66c1d7fbccd2f95fcc491b7151e0eca00733ff1c16ac632bf605419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suppressedByExpectedRepetition (cyclomatic 17, cognitive 10): suppressedByExpectedRepetition 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/services/progress-watchdog-service.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a87f0d2474737cc4bff9e67f5dbb3c790609389f41da7eb3e2414c32179b1e"}},{"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":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2807efbc95b84d8643d946c01546661304b8c74fe887c7a67c301869edd8c36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripTerminalControlSequences (cyclomatic 16, cognitive 37): stripTerminalControlSequences has cyclomatic complexity 16 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-compatibility-service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b22b0fc559ad2a20c42780ed3273cae58824d2977263d84e16c8b3c01a7a50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareCoveragePolicy (cyclomatic 16, cognitive 35): compareCoveragePolicy 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":"scripts/check-coverage-policy.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8151f18136c9eabc5da2629f975ae8274a461da062966f42bab27791636208f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimNextQueued (cyclomatic 16, cognitive 32): claimNextQueued 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":"server/src/services/admission-control-service.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c8c6eea6bbded29de00c0f37b1eef66dca5b40b80defcf7bb8f5728157d87c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistCompletion (cyclomatic 16, cognitive 31): persistCompletion 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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be85f0bea4855ad2118cfd9a1bb33b42dfa935de80935e234e6bba2aa470db5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadEventWindow (cyclomatic 16, cognitive 27): loadEventWindow 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/workspace-checkpoint-attribution-service.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab160a71dc2410492b736deec351cc5d1a04021792e49a0abb237be6d606c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAllTools (cyclomatic 16, cognitive 26): listAllTools 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/tool-control-plane-service.ts"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"88251f1083b3cb2ddc213348aedcb7215caa3729f7584f9247bafa9eaf55a452"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSquadMessages (cyclomatic 16, cognitive 26): parseSquadMessages 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/storage/chat-repository.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e79e387c7c96094078393dc398f3c96ed3167cde7464d6325b7451488658e47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 16, cognitive 25): execute 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/workspace-checkpoint-rewind-service.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a189328403aa5eac9ffd2ea1a7e5cf63baa378d65d6540da746797b620ebcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeExtraArgs (cyclomatic 16, cognitive 24): normalizeExtraArgs 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":"server/src/services/claude-code-adapter.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"408f2cca2b3dfd002d1594f603d88ab180b1e87e7b0c7e203608bd866bbc53a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStats (cyclomatic 16, cognitive 23): getStats 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/workflow-run-service.ts"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0010f8e983798ec3b7e9bc419ff1d05829bdf76bd3e8cfc08a97d782302f260f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stableDiff (cyclomatic 16, cognitive 22): stableDiff 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/reflection-consolidation-service.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1413b7afd225c7defa328eb188f0647de5142e4a7720e0d92df8a13251ec98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSquadMessages (cyclomatic 16, cognitive 22): listSquadMessages 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/storage/chat-repository.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa2050bae3e1c2fa400342e11e1f431bcb481af9fb8e8c6433eeb43bea89866"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 16, cognitive 21): parseArgs 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":"scripts/wait-for-desktop-ready.mjs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d47317c15d585f91f3cbb1458b706064998a9c98865facc2c7ba33cc449c84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openClawPrivacyPosture (cyclomatic 16, cognitive 21): openClawPrivacyPosture 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/context-provider-health-service.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c52333f2c5091716c4629d0cf1d292f6bcd447ed82c0a38a50689cfbeea125a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function locatorExists (cyclomatic 16, cognitive 20): locatorExists 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/knowledge-integrity-service.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edb75a441d69d3e1654739560707fd52576bffd62481c3de99c507342ab4a59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptRecord (cyclomatic 16, cognitive 20): acceptRecord 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":"shared/src/utils/acp-json-rpc-peer.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0f3f1542e8f44bc9ba408122284668cca7e6d6f1bf3d15ec7f2ffa590041c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyMediaEvidence (cyclomatic 16, cognitive 19): verifyMediaEvidence has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs-media/verify.mjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd1e2419e052fd678b9f095d16b3e5cecd2faf579d2d4f751d003e18c6462eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 16, cognitive 18): request 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/run-approval-broker-service.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e3b695d92a304b73ebc4d9e6c6cf64bfd2a8ab5d6a3b6ac6d86e3712c7c9c7"}},{"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/services/worktree-service.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f841b793d245fefb8e6cdf52cfe8ac23030ffe0a7268abc4f28bdf66620ed61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function desktopTaskLink (cyclomatic 16, cognitive 18): desktopTaskLink has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/desktop-task-links.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f72fbd122e4af45e785886396d117e6ad8a08f79df0e89ca8f10293644f0277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteLocalRelease (cyclomatic 16, cognitive 17): promoteLocalRelease 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":"scripts/promote-local-macos-release.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f975a89b1d2aa117805f6bbc7012a4edb6babf8ea1f48c60861968d747e604e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createIngestionProposalInternal (cyclomatic 16, cognitive 17): createIngestionProposalInternal 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/knowledge-collection-service.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3995007bfb78470a904120b4ea51f38f65f3f46bf43c0bb1fb9ecb3b662fb2d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleExport (cyclomatic 16, cognitive 17): handleExport 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":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d355183c8bebaf07ac93d87820973a04444a184fc10d8b0f1923564061cdebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAcpPermission (cyclomatic 16, cognitive 16): resolveAcpPermission 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/clawdbot-agent-service.ts"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9193c9c46e80a54de002054303e85b5822d9d62c78f216f3a05d6ed91549f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionIntegrityFinding (cyclomatic 16, cognitive 16): transitionIntegrityFinding 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/knowledge-collection-service.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"015868910559e6e4d5e96f76eb3758f068b785111fa73464eb93a913ea985a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRange (cyclomatic 16, cognitive 16): readRange 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/storage/run-output-artifact-repository.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c20f4f05b47ab2d9c8bf8924d2d14847987530701740fa2b83012decec69a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compile (cyclomatic 16, cognitive 15): compile 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/automation-draft-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e028cf6487967a08e428f4188414049d3d2a1b70a5ff4e63abae621064da4b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 16, cognitive 15): record 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/dependency-circuit-breaker.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ff736f51353c359d85d502b0266f668f9f6cd1039bee77991380a0f67efdf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionClaim (cyclomatic 16, cognitive 15): transitionClaim 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/knowledge-collection-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be8ba63cb9e4f08b16492e19e79a7da8961b7abf9387982c6cffe75570e5869"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMonitor (cyclomatic 16, cognitive 15): updateMonitor 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/queue-intake-monitor-service.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3353570172cb136f5e1c120b62eec3057cdd9dabfdfbe4ec2c979861b8eb87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleUpgrade (cyclomatic 16, cognitive 15): handleUpgrade 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/run-egress-gateway-service.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb5346385dd1b0f057221d8b532ea2f7b1aeafbd29f1c53f9138ddd16aefd6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeSession (cyclomatic 16, cognitive 15): initializeSession 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-control-plane-service.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6df84f59c68033d46848f0588f862b8f8b359e6cab9c4fad4dc5248312934e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordWorkflowGateTrace (cyclomatic 16, cognitive 15): recordWorkflowGateTrace 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/workflow-step-executor.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb1e93f9817ffc9dea62425f0a865d6e25786ac09f5fabbd9119dbada600dfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TasksTab (cyclomatic 16, cognitive 15): TasksTab has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/TasksTab.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a13c29edfe193a3e64297a1c9e341afcb3b351a6a5a92efc29c023563262ef8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueQuery (cyclomatic 16, cognitive 15): queueQuery has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/admission.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1742c88ab3ef3bc3e1ba5c7ef76cdccca5608177cf74cc32496f04e98e8dbb01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCodexAppServerNotification (cyclomatic 16, cognitive 14): handleCodexAppServerNotification 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/clawdbot-agent-service.ts"},"region":{"startLine":6287}}}],"partialFingerprints":{"codehealthFindingId/v1":"453801b2ad4799f68818b20c684727495ce6e726fd09c4ba6b70bc2871f9f283"}},{"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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d92d6a73135966db56b1189a744f44e3a45b84590b4ede348fa63861283ba7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTimelineEventType (cyclomatic 16, cognitive 14): getTimelineEventType 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":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7a66def585d58c155a178fb6c1e59fb4e655aa1dc3048afec85aee62f94d16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TemplateEditorDialog (cyclomatic 16, cognitive 14): TemplateEditorDialog 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":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"208963bcabaafa5e3f8748e972171ef038a26201c0fcff2254bcb25bc2465f9d"}},{"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":"web/src/hooks/useTaskSync.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f90df88627ba02160ed2d526e8503cbb742cc460abf5b8dffc6ea6a5eb7e1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleProjectTool (cyclomatic 16, cognitive 13): handleProjectTool 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":"mcp/src/tools/projects.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df1ed13c5bd187c983dff8a72e14f10db40547322da92e297a16008c4890f30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchDialog (cyclomatic 16, cognitive 13): SearchDialog has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd22b11c036371c5169d88f5ad8fc8f8ecc9cb2a01c10031e1d85241e1da684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coverageExceptionErrors (cyclomatic 16, cognitive 12): coverageExceptionErrors 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/coverage-policy-utils.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fa389bd621d316a3674fea46891b3e269b1a99d1ebfb7bc0914a0c95990458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBroadcastFile (cyclomatic 16, cognitive 12): parseBroadcastFile 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/storage/broadcast-repository.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe0927e0faa8b749af667b1bbb4f48120b98c36c22f33a54bcb0555f1cbe22c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDeepHealthPayload (cyclomatic 16, cognitive 11): buildDeepHealthPayload 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/routes/health.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bf6017164675373242c02ca0002a63330eca3975bf602815dac54376094d09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DelegationTab (cyclomatic 16, cognitive 11): DelegationTab has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e1297e23f4a4a1299160168f3ee35effaafc0896d50da3ed64eaa863552fd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeUrl (cyclomatic 16, cognitive 10): sanitizeUrl 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/communication-adapter-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cfa0fa558be83e1573fd6ee1eb30a5d1bc1a3ad68fde328b681907fbcb6bf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionReviewSessionsSection (cyclomatic 16, cognitive 10): DecisionReviewSessionsSection 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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d49047a23387599153a2bf59556aeffefb97058d71498a9e5823e9a80acbdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeclaredCapabilities (cyclomatic 15, cognitive 44): parseDeclaredCapabilities has cyclomatic complexity 15 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-capability-service.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac574a02467fa228e4ff7b13e05b93e913d2cb59f9bdffd3518bc86db2046f9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteProduct (cyclomatic 15, cognitive 26): deleteProduct 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/storage/work-product-artifact-repository.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca5aa30b265d81ef06203d6d57983b33cfe01acbce7490b283fe6188f67bb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateKnowledgePageGraph (cyclomatic 15, cognitive 22): validateKnowledgePageGraph 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/storage/knowledge-collection-repository.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b48d4572b30c70c4401e14322ac37c58fb3cfe513680fcd8db2747bb1152ea"}},{"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":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa59b05d6d720a1676515901ef488202c7cfba2dd44b08045fbccf39abfac583"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelExecutionTree (cyclomatic 15, cognitive 21): cancelExecutionTree 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/admission-control-service.ts"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd52d3036a30c8a3af279fc0734cd2671ee3d9073edc3df283e62860557cf0e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimMaterialized (cyclomatic 15, cognitive 21): claimMaterialized 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/storage/admission-reservation-repository.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"77049c6a1b83c848de78a0fcffd8953fc721c44a6c5f4297731fc8a078c4969b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimInTransaction (cyclomatic 15, cognitive 21): claimInTransaction 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/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c2e018e981d3b2b1667f4421a65e291ac564fe20c431e86bb31e473452e382"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectWorkspace (cyclomatic 15, cognitive 20): inspectWorkspace 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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"f956411ea6804800c48234ed98b18175d91ff04823623602d5967713858a0a69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectGitMetadataRoots (cyclomatic 15, cognitive 20): inspectGitMetadataRoots 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/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2b87820d91a063d68f9c54e07c8255883c0d01c9e756872156d5987413ea0f"}},{"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/metrics/dashboard-metrics.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5746d577fc34dfa6785a3d369f1797719f68fb6afecffdd0a75f262dbc71e737"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeAllMetrics (cyclomatic 15, cognitive 17): computeAllMetrics 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/metrics/dashboard-metrics.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1729ea93282cf221b39ad0074b9d29b4137b130ae32266e9a1506e8bd7424c8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRoute (cyclomatic 15, cognitive 17): resolveRoute 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/team-roster-service.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e301bd779fb318df9ffcf9d21a4629a18ac055bb6d9a2247af43026e7817ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePersona (cyclomatic 15, cognitive 16): materializePersona 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/buzz-definition-import-service.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"722cb5d2fc135289b914395ccdcd7580e484741e55299d18340811a15113e78a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyAgentProvider (cyclomatic 15, cognitive 16): migrateLegacyAgentProvider 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/config-service.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c388ede82cdfdeedb0dfc7e7cc10abc1b90f0446732294f73d5222638e89b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluatePolicy (cyclomatic 15, cognitive 16): evaluatePolicy 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/policy-service.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f45db34a65b6aa7a5717c2181c23ce17b8c815352c70f07b4cd92787b6521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileCredentialBindings (cyclomatic 15, cognitive 16): compileCredentialBindings 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-control-plane-service.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0ceca02cb1211bae839d0914014a56fe7f265c7e7a2a647a800f19968697b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncFeatureSettings (cyclomatic 15, cognitive 15): syncFeatureSettings 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/outbound-integration-service.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e862b74acfe6d98b599db8b9edc09c9f2bafbcbac8d6cf3325f9139b11affc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverInterruptedOperation (cyclomatic 15, cognitive 15): recoverInterruptedOperation 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"93044df53a9773caee43a52b10b0eb5c3ad9974b22ec091fa412a25047a93cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 15, cognitive 15): save has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/workflow-repositories.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5077630739ff29d05353e4075c9fd9b04721f6fbee9ecdef6b1e52b7f4169bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apiError (cyclomatic 15, cognitive 14): apiError 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/runtime/run-tool-bridge.mjs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775e67bd963e03a8692f665e4f0b3f6e4193b0d16fa7173e5b4508917e55021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPermissionTrace (cyclomatic 15, cognitive 14): buildPermissionTrace 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-permission-service.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0831383af276259be5dca1463912b758f13b4dddb2ef192f6807139db6dbeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitJournalOutput (cyclomatic 15, cognitive 14): emitJournalOutput 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/clawdbot-agent-service.ts"},"region":{"startLine":7863}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e8b61a8ba0a38fa28ac8ac545f5a5df72c37ba278495ff07017183daca1c5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 15, cognitive 14): get 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/run-access-summary-service.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93e3f8b19bdfb3117a1b9bfa84ef74b1477e72a3b621457b0651a57c738663d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 15, cognitive 14): matches 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/team-roster-service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c83a3ee78ea05acff3ce20e3d1164df2c7692e8a29a6941795ff51750124cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitWorkflowRoot (cyclomatic 15, cognitive 14): admitWorkflowRoot 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/workflow-run-service.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"002341f9ed196ea0d34cd00e810fe7719c9eb493d2e450df186ddb559bddb22e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeScheduledWorkflowRecovery (cyclomatic 15, cognitive 14): resumeScheduledWorkflowRecovery 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/workflow-run-service.ts"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a5e0336b3ff6955987f50a26b6d57328a86e3a38be8ee3d34736805159e98e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 15, cognitive 14): list 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/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc6e2214ef58a9fc4b49352d4c71cb99e934b260ce84148e5232dfb9f3a69a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function baseQuery (cyclomatic 15, cognitive 14): baseQuery 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/storage/sqlite/provenance-repository.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a951db9b504242ceee43e11be8d35bce4ec6a7c8b2286fcc6259dab386a0837d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toBoardTask (cyclomatic 15, cognitive 14): toBoardTask 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":"shared/src/utils/board-task.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d673e24f90a69a4ee6f78a4185298115a24d709784c1e869f52c91a41558c48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExportDialog (cyclomatic 15, cognitive 14): ExportDialog has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/ExportDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f2c01477e0506d9362be074357458b0b2d0c5cb531314a19ad00cdb58a3868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebSocketIndicator (cyclomatic 15, cognitive 14): WebSocketIndicator has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/shared/WebSocketIndicator.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5e46b951ebab76494cf58f793d0de11bb093ad18077cf8c5d39f64072f1851"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactPreviewModal (cyclomatic 15, cognitive 14): ArtifactPreviewModal has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67cd1f236ed60271cf23a0413d7b68ce6f762331ea051bceddd13c893694054"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttemptRow (cyclomatic 15, cognitive 14): AttemptRow has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f8f88affd6d38facc23a72af7595ec8ba90c3068cb7a67f5fa5a6809e54de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRelayContract (cyclomatic 15, cognitive 13): parseRelayContract 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/buzz-compatibility-service.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4fa8ea1c0b80197628bea7a207d58b935a7051a11b518081cdd23851505726"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureBuzzChannelMapping (cyclomatic 15, cognitive 13): configureBuzzChannelMapping 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/communication-adapter-service.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b47812777b32308879e88f91fbac3d6e44effe95d5031dec425cde295ccaac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingestReply (cyclomatic 15, cognitive 13): ingestReply 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/communication-adapter-service.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"97abe4ab135f4b92b81d84665f7d95d9bc3d663f1b2d7d40e8a130a83761f7ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoTag (cyclomatic 15, cognitive 13): autoTag 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/error-learning-service.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4628d95c204848e437f79c3c7797005651e95489981922aa0a48d1a3365d19fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeCodeKind (cyclomatic 15, cognitive 13): claudeCodeKind 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/provider-run-event-mappers.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"65afc1e360a511d33a7750e09eb2eee5965d5569742c3941687aca1b07b52af9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreRun (cyclomatic 15, cognitive 13): scoreRun 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/session-template-service.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e142b59cf47686ea31c82646c92ea9a999fa20e3e41604cd53b22b1a0d32cee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnforcementIndicator (cyclomatic 15, cognitive 13): EnforcementIndicator has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/EnforcementIndicator.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da3b2939933f964c1d2294f191755a286adbc17222002f08155e7697c2e3e6a"}},{"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":"web/src/lib/task-save-writes.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cb7c6b6392c6f343678dccbd0bbbb7a9104e48333b0f86d9c16373dee4369f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeSquadLinkHref (cyclomatic 15, cognitive 12): safeSquadLinkHref 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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"320e708f8e1ddeeb0b3ad7b31e9dc6d14205ea07b2ccb9f5a9d8b7a870009319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddRepoForm (cyclomatic 15, cognitive 12): AddRepoForm 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":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e3da2d4ee23297af0ea56562a2777d97b5fb854be8e41d7e87ad9b8db73d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkflowAuthoringPanel (cyclomatic 15, cognitive 12): WorkflowAuthoringPanel 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":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6615a193dfce28fe1b586802a52c29b58055a84d2c938b8fe63398683ccbddc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLoopbackRequest (cyclomatic 15, cognitive 11): isLoopbackRequest 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/middleware/auth.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63576bc70b5c6dcb089d26180347a3a9c10a7c19c368bde5faf6ddb0f31e76"}},{"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/schemas/harness-support-profile-schemas.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"08078ba996ea17a0e6194e7a8973f35a1f8ffe00eaa2db39326babbaa45eb6e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function progressSignalsForEvent (cyclomatic 15, cognitive 11): progressSignalsForEvent 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/progress-watchdog-service.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"597c43f19c36237195bbdae004af32d9ca434e896c464744e2734913fc8bb53d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BacklogTaskCard (cyclomatic 15, cognitive 11): BacklogTaskCard 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":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eccb16bf0f11146b4e6fb5da29a0442f8a3b437728cf482890e21beba50d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUpstreamProxy (cyclomatic 15, cognitive 10): parseUpstreamProxy 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-egress-gateway-service.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a4905da59e30fa3fd59466a3b0937d79b4301825c205f0e04940e8170fac31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverRewindLocked (cyclomatic 15, cognitive 10): recoverRewindLocked 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fa14227673b19ecba8e4427b82b101fcef92e0134127ed3e7c035f168621eb"}},{"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":"server/src/services/codex-event-interpreter.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8942e2577439fa3fc267151e7df93af3357ca1a2caa603d9f7e00e960b02800b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateItem (cyclomatic 15, cognitive 9): validateItem 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/scheduler-service.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2504af406b87945668b71ebfdc7377d2bdfd64859076aab641ad4b90853cab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamEvents (cyclomatic 14, cognitive 29): streamEvents has cyclomatic complexity 14 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/telemetry-reader.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"131589e26caea9b38cf21064f8f842f463aa40055195f9f9c2aa69129205952f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function staleMediaReferences (cyclomatic 14, cognitive 27): staleMediaReferences 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":"scripts/docs-media/verify.mjs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d15b929fdc62dc200eafda6201dd440342cabae1be15d1857ac278b1fb67688"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSeededRendererFailures (cyclomatic 14, cognitive 26): checkSeededRendererFailures 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":"scripts/native-ui/run.mjs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d25645a2f69a9f96edffe70e9a191bc78c3736831672119f533984d5e5f5a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateStandupText (cyclomatic 14, cognitive 23): generateStandupText 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/summary-service.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf6164e0ffa46ba424235da20e1d2c7b04bdc5e8d85b90c239b2378c8c5645"}},{"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":"e2e/task-conflict-pending.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c475189e81fdac6c90b79c7c65954a3f890f388a90c5ab4269ebf22693e92f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDailyMetricValues (cyclomatic 14, cognitive 21): getDailyMetricValues 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/drift-service.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"555b5ab737986d2d472e7419587bf18a11eb6a525f920f29c1c201f71ad403b1"}},{"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/metrics/dashboard-metrics.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d563509db08a09531c3ed615a814680d323998765fb82900ba0109f232b861f0"}},{"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/server.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"67db9a06a5c32c97c76cb9b6b7ba020589cf790979b4e4dfc367e2ef5a405d0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCronField (cyclomatic 14, cognitive 18): parseCronField 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/automation-draft-service.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ddc02778554c939cb76a919f75ff1daccc866161d80278d1110655492b4b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitSqliteTelemetryEvents (cyclomatic 14, cognitive 18): visitSqliteTelemetryEvents 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/metrics/telemetry-reader.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c94f5e9e698d90d72632516b08db77e6e5ba73e678401ad548edda36f66a7"}},{"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":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb501359e6f7bbac0f26d1fa71af9ae8dceadd59eeb06c3c53215a05edc82d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMetrics (cyclomatic 14, cognitive 17): getMetrics 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/analytics-service.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f3214dbbdd2da860b9f79e5a9beabb1c46a5070f225aa6a12aad328f5e5084"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBudgets (cyclomatic 14, cognitive 17): validateBudgets 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/automation-draft-service.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"e776b5f3eae5b2ef0fcdd6f3a2dff7873bc44156c1db25d6de6e93826ebff7c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCodexSdkAdapterError (cyclomatic 14, cognitive 17): handleCodexSdkAdapterError 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/clawdbot-agent-service.ts"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f26d20cb896f66eafb332d7961528159812ab499336f42232bff599a3120a4"}},{"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/provider-event-evidence.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd333886c23e190c854829d239d91ea14d6fdd9817a40159bdba5b0e15c8e0a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewBody (cyclomatic 14, cognitive 17): PreviewBody has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c98cc152a3c3e0f7793343e53b6e4c25dbe830bc8f324aa32a197cdbc5216bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fireHook (cyclomatic 14, cognitive 16): fireHook 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/hook-service.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd93a0b40e77e1564b1da31cc25b8a23731910055d4d47a854245822bf909ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHits (cyclomatic 14, cognitive 16): normalizeHits 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/knowledge-qmd-search-service.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1351acc702a879175137e504182d63b5cd56e83ffcb8325d2cf22dbec9205c72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintOutputTargets (cyclomatic 14, cognitive 16): lintOutputTargets 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/workflow-authoring-service.ts"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee816c046f2419e9f524105c34b3a3fad43054108670e8f2098e164b17d5a7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutingRuleItem (cyclomatic 14, cognitive 16): RoutingRuleItem 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"b589be464a1052dcd56dc8c24f5f8f0fe743e6dbcd797f33ebf5d5c4d964e224"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 14, cognitive 16): flush 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":"web/src/lib/feature-settings-writes.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19af771c46bf0001acf02861195986af3c8994202c14908f8037c0cd94240e8"}},{"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/buzz-compatibility-service.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f902e7d050bd176a03028bc023a8e6b7a7f1ef044262ca878e64f543cc1451b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizePendingAgent (cyclomatic 14, cognitive 15): finalizePendingAgent 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/clawdbot-agent-service.ts"},"region":{"startLine":3010}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28a4b66fbd323b89a548822901c384dada5dd248af705b095040f53567ba009"}},{"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/run-approval-broker-service.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b005c255d872cc2094776f3f6a72e5e8982089b549c3d720ccb149f865c6aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changedFilesSection (cyclomatic 14, cognitive 15): changedFilesSection 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/work-product-service.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff436835763c75ebfd3a065e700d1e372f9f45c078d53f4bc332569140f7258a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionProposal (cyclomatic 14, cognitive 15): transitionProposal 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/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad21db1aba9fd6d7c622c1a4a3278ef2a490d19e1456523a653e5053ebe4f746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 14, cognitive 15): create 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/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44e96829e0fc777ed03b90e466e820924fb8c25f75875885a8ede5e370e6768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatRuntimeSnapshotMarkdown (cyclomatic 14, cognitive 14): formatRuntimeSnapshotMarkdown 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":"cli/src/commands/snapshot.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ff13098756b15324b471d910e66c2344738c9e5b082c6744084c81896e7728"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probe (cyclomatic 14, cognitive 14): probe 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/buzz-compatibility-service.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d1eb2f8d641c9b3fed5314c528095063a3f45ce7886a7a70f45fc19aff43f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueLease (cyclomatic 14, cognitive 14): issueLease 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/credential-broker-service.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f07069bed2d2e910f8d1cb9f6acb10f019d44fc38f18f0925dc857c6dbb132"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionIngestionProposal (cyclomatic 14, cognitive 14): transitionIngestionProposal 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/knowledge-collection-service.ts"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ffd491c01057fff4b1bcd694d72dc845cb8287e7764bb51e7c7f0ef269ed0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function targetForPath (cyclomatic 14, cognitive 14): targetForPath 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/search-service.ts"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e844746de3fbd3a69486d388d20a8cf7579ca81b959e55362da2077da1312c"}},{"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/schemas/credential-broker-schemas.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3300ad7aa06adc8a37f8431ba314239d931d56a0f3f4d89b5623b6d0805b4a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertActionWithinScope (cyclomatic 14, cognitive 13): assertActionWithinScope 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/credential-broker-service.ts"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad7e3f96349fc6618d16ae5838af51f280f8acd90bf6f6ae2e601cb4c117305"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSecret (cyclomatic 14, cognitive 13): validateSecret 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/device-session-service.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"78354ff5b5014bd1ceec413e7815511387c615a648c66a12a9c68dccb7ad7574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runIntegrityLint (cyclomatic 14, cognitive 13): runIntegrityLint 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/knowledge-collection-service.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc7f9a461a51a054a02b6095fe2fac1720a834e22dff7ae4ca3797547cc712a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectFilesystem (cyclomatic 14, cognitive 13): projectFilesystem 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/run-access-summary-service.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62d5e2ae785f9081ba9237b432985645dcb4fbf5bc8a8ef260710c13489033b"}},{"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/run-launch-manifest-service.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b515c473504c223ba8c557b4f0a860187996835bc185530a7472a7ec913db6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintClientMode (cyclomatic 14, cognitive 13): lintClientMode 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/workflow-authoring-service.ts"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"984195d02a6487ccf7a9eff35bfc0ff1ae1c642fb561383b64e0a204b969e911"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateRunBudget (cyclomatic 14, cognitive 13): evaluateRunBudget 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/workflow-run-service.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"03138230b0a1caa4f9f7879dab14286a1ccd1445c9bcb55db3fdf38039f5371f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendEvent (cyclomatic 14, cognitive 13): appendEvent 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcca1b552e772034bd71a34eb77d6ab41a5bf0520f605ce9fef0bb161b880f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapRow (cyclomatic 14, cognitive 13): mapRow 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/storage/sqlite/provenance-repository.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bb89630c64a895f49ed08b230ad00a2f63f52417be732e89139a941a9ccafd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectionIcon (cyclomatic 14, cognitive 13): collectionIcon has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e4033c956d44b6bde30aa958d8eab880ec544a0ff38a1efd8b1b73e7b175ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRunOptions (cyclomatic 14, cognitive 13): getRunOptions has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c68f9bd66a508f219acc6dd6d39d10b0030f79b72b109b44d179c3b44e52c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"08523fa83a6e1938380a0f22932ba7fc72000329bbf4e81327b08ebfe1618d93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 12): main 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__/orcarouter-codex-compatibility.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd9a3ba8d0caec296c2fc7516950e56f48e909f5ce842178d113e47d5b7716b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTaskFile (cyclomatic 14, cognitive 12): parseTaskFile 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/storage/task-file-repository.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc6ecf57cf9eb14f11b9ea0f14032ba673644f749e9d34e9f04ae1055d76451"}},{"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/workflow-step-executor.ts"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d256c62bcb156a396ccaedaddafbd1428bb8ca2e659f81dd721e708d42d0d82"}},{"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":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd841b7ec6405e83e2e496e7bf93d67fc1992167aa1fa55ce060dfb07391c2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueDispatchFailure (cyclomatic 14, cognitive 9): queueDispatchFailure 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/clawdbot-agent-service.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"45077086e26fd9c3f810db89f2405fb4ba96735b1f457d95fcfeabb43f4e1474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findActionPinningViolations (cyclomatic 13, cognitive 33): findActionPinningViolations 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":"scripts/check-actions-pinned.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbe4316cbe10a5ea399ccbcb0535b4eec00f421d80b729b734741a06e684480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDailySummary (cyclomatic 13, cognitive 23): getDailySummary 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/status-history-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad082d96ad0df83a6cef79d48e3283830420536f14b893ec7120293264abf20e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeDefinition (cyclomatic 13, cognitive 22): executeDefinition 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/runtime-hook-bus-service.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"86669409c2a4a972049b18829274b6791c95c3121e0173efc5a4e5b413115733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 13, cognitive 21): parseArgs 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/smoke-cli-mcp-compat.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6655e660bd8c760aed5492fcff75493985b0b2c8aec6a527acf490b6435393"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptRecord (cyclomatic 13, cognitive 19): acceptRecord 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/codex-app-server-adapter.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0c822bb05f9d4678486d2208fa89eff2eedeb772a824880c65235c73be7ea2"}},{"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/metrics/dashboard-metrics.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ebae3e7ca258c0af98fe2f7854505d6efe7ebf2bdb6077e81f4d3c9f370555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWorkspaceCheckpointUnifiedDiff (cyclomatic 13, cognitive 18): parseWorkspaceCheckpointUnifiedDiff 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/workspace-checkpoint-diff-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83033b52f358dfda1e9fd848503a68c1947cfc79e1eeca40d54509b6abdff7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planDevCleanup (cyclomatic 13, cognitive 17): planDevCleanup has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-process-ownership.mjs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c90c110a9b0a690210a5c008ff2a59908b6153e46e51066a66ad862258474c"}},{"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":"server/src/services/openclaw-completion-service.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a6884abdcf5acbf47253015481bb9fa7499a6421ae150a691aa35a2a211255"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCompletionEvidence (cyclomatic 13, cognitive 16): buildCompletionEvidence 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/provider-completion-service.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dbd188ae559ea61df3ded22985341dfd29afc302525aedf7f956cf7bbb0d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileAutomationRuns (cyclomatic 13, cognitive 16): reconcileAutomationRuns 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/scheduler-service.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"638453c61b2c4a047c2984a8d113f7d7b530c1b083ef2451c4cf9b24bb60e7a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSupportedInvocation (cyclomatic 13, cognitive 15): assertSupportedInvocation 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/run-file-execution-policy-service.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a2b7516d9ab4c9d86eac03b074cd79818324f17ec3354a651370e913a21075"}},{"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":"cli/src/commands/tasks.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af29bf074201cf39c357b5d070d14d425149e8d3943a2fd1df9189c0da1d0d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProjectCostAdjustment (cyclomatic 13, cognitive 14): getProjectCostAdjustment 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/cost-prediction-service.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fb64013641c85da356cc602430ed91fa39bdd64a00e161e1d00e5bad6070c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 13, cognitive 14): evaluate 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/run-file-execution-policy-service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0f8a254ea5acac45a20f670088c97424e2ec560fafc16ca2a72148ce55c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeAttribution (cyclomatic 13, cognitive 14): summarizeAttribution 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-checkpoint-attribution-service.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbed74409f010a2ca7ad4b9ea242a09c1e5a6447a67364c39fafdb46afffd93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectExistingSqliteJournalPosture (cyclomatic 13, cognitive 14): inspectExistingSqliteJournalPosture 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/storage/sqlite/database.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8e3678a60bccc3ef78c8273e6bc834d0595620078dd1925d59bbdde9db9d7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRun (cyclomatic 13, cognitive 14): startRun 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":"web/src/components/workflows/WorkflowStartDialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"711861559a6736b3f47195238d0c67d0eedf079c6532cc46b917f6d569c22207"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitEvent (cyclomatic 13, cognitive 13): submitEvent 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/buzz-communication-service.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"43436a4b43197496d7e79f0be1e934af8580401681a9a1fd2130d9a2f7ae8c73"}},{"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/knowledge-collection-service.ts"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"26698d386291bbf63421a0de1054a808c6525e08d6fb0d187d6a5ffa0503a4df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTemplate (cyclomatic 13, cognitive 13): updateTemplate 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/prompt-registry-service.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d58e54f335fa4e8d0e1ef0efd40d444daac34ae77584bc2f690c3597a6dfe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 13): constructor 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/task-service.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12e4c755bb95ecfa5738a3005d2b114114e22aa3d0db5bea39d438b4cc414dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportProduct (cyclomatic 13, cognitive 13): exportProduct 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/work-product-service.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48fbbdc4cf985cfcf266929f1e087739472d3bbbe96b6831cef40f56fda4ebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requiredRuntimeCapabilities (cyclomatic 13, cognitive 13): requiredRuntimeCapabilities 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/workflow-step-executor.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"290875acc3b6b54b58973e5422abec8ce147a4932d10cdb4b7ebdd5dd4b0b543"}},{"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":"web/src/__tests__/task-detail-review-preview-mantine.test.tsx"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6ef772760b8993dfce55748443ed61bd4ac5154f2bfc940d730ed7a72e7586"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePromptTemplateFile (cyclomatic 13, cognitive 12): parsePromptTemplateFile 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/commands/prompts.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a94c34d1621c5a1f02e8ed838a4fdeb8e2c99952350ea2a145707f237a27605"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDesktopDeepLink (cyclomatic 13, cognitive 12): parseDesktopDeepLink has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/deep-links.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4af1e8ce7b3286ee9fb4a405c4142f64b0b093a3c3e2326818910c0a135328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAgentStatus (cyclomatic 13, cognitive 12): updateAgentStatus 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/agent-status.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3465dc49d5f0081d5143a7670bf2d2a95aa4792a9c33aadf7ae585b732540f1c"}},{"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/lessons.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bcb9f9cb4dad4769e035cc9302334b4d32746785b4db2fa783a20b79debf86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeDriftBlocker (cyclomatic 13, cognitive 12): runtimeDriftBlocker 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/automation-activation-service.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"1549b595a9d8e0e71ce9d73d59398b87b8c764ba0d3250aab17e9d0d238b4678"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordAcpSessionUpdate (cyclomatic 13, cognitive 12): recordAcpSessionUpdate 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/clawdbot-agent-service.ts"},"region":{"startLine":5296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ec8dc646d59c472bc5bbc28919c421d09e51501e8124f6b8ca5c2a3825eee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeCheckFromMetadata (cyclomatic 13, cognitive 12): runtimeCheckFromMetadata 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/context-provider-health-service.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a084803341b0733f92fbf54dbbcb7da38393c755e98009d00be1c49a12af13d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventMatchesFilters (cyclomatic 13, cognitive 12): eventMatchesFilters 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/evidence-timeline-service.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32b5eac296a1b0fc0db4cbe87aced7eface3cf72e8d14817b7c79ae4f4bd26d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telemetryDetail (cyclomatic 13, cognitive 12): telemetryDetail 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/evidence-timeline-service.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afbdbc2ad7fa2c8c1ad9e0a4ac8598de96f0076f0527bda7257b2d8953c1f52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCitedExport (cyclomatic 13, cognitive 12): createCitedExport 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/knowledge-collection-service.ts"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5904efd2e4e210b602dbe8d8475dd9ee7de8d0ed7157444ad73ccdd0c61b36e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 13, cognitive 12): record 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/run-file-provenance-service.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"655c9e7c3fdfa5575947b6c0451fac29bdda8534f8b7a79c09eebcc79ae15004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function distillTemplateFromRun (cyclomatic 13, cognitive 12): distillTemplateFromRun 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/session-template-service.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"457b49e4dbd14c86b40cf780524007c0a8f7e2e0a7f796614dae28738183f97d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTaskMarkdown (cyclomatic 13, cognitive 12): parseTaskMarkdown 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/sqlite-portability-service.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a05545a3b18ba5f23ee57a40a45ae69f67a6706c85432cfe85940e109abb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeDependency (cyclomatic 13, cognitive 12): removeDependency 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/task-service.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"5466c9a1060f8863e545955568c40a2735bd37c3944b54893854dd982852d10b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionConfig (cyclomatic 13, cognitive 12): buildSessionConfig 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/workflow-step-executor.ts"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c033b94ead6c1228e14879589cc14527db7b5882ee064ee991b17a7753fce0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSquadMessages (cyclomatic 13, cognitive 12): listSquadMessages 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/storage/sqlite/chat-repository.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9840c85e49d85650a4da9eb8f2343bd628d2b7b424d270fdefeb0c03b12789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 13, cognitive 12): preview 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"14552a5412e4204808730d93985f45b3970b15a3cd6634248367ae1006b05d88"}},{"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":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"594e70fd3584bc78b9e73b17984aad789f80c90465e2d8b0a9ae1605fa8fd3e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adapterToForm (cyclomatic 13, cognitive 12): adapterToForm has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18f1ed464669f204fa791f81c0bebd5c5924117e9fb7456798855371946da95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DiffLineView (cyclomatic 13, cognitive 12): DiffLineView has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/diff/DiffLine.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb53126dc44e116da584540ed69e14224427963fdb7d96503f88f21416bdeba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evidenceTimelineQuery (cyclomatic 13, cognitive 12): evidenceTimelineQuery has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/evidence.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d049b97dedbe8fdcc5b52a58b496c544836c3639193c467babc6c8175da7ae46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerPwaServiceWorker (cyclomatic 13, cognitive 12): registerPwaServiceWorker has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/pwa.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"be315e75d47f414184f960d0a266c86906f5f20a508f9720ee13a3adf0a7fb16"}},{"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/health.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb56f07bf4e07f30b83571ae763207823af83475ed6be757049751a9565a506"}},{"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/schemas/run-supervisor-schemas.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ceac81b461a711759fad1e092dc87ee246c97e9a393481abf38c54e89e887"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admissionAgentLaunchOptions (cyclomatic 13, cognitive 11): admissionAgentLaunchOptions 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/clawdbot-agent-service.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdf1bc200b66cc12cb752a0156bd64c83b198b2a61368be9a3fe2eb962b3ff2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function complete (cyclomatic 13, cognitive 11): complete 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/openai-oidc-service.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c602c39a6a53b63912e2a518eadcda4cdffde43f4be565ccd0811c25fc49d9e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dryRun (cyclomatic 13, cognitive 11): dryRun 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/sandbox-policy-service.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e81550fb23cbcfeef4204ea0e5c7b29c10846badf63c458400626a29a58186"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOptionalBoundedFile (cyclomatic 13, cognitive 11): readOptionalBoundedFile 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/storage/chat-repository.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba44c14e399b0fc20cb267caaa80a20de1371bba30a4ee5480ce447103e064e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TimeTrackingSection (cyclomatic 13, cognitive 11): TimeTrackingSection has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa27ed90f7ac2264ab3e3c70479209de7e5e7f31cd103d3286f5fcd7de8ba9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actorFromRequest (cyclomatic 13, cognitive 10): actorFromRequest 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/maintenance.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf135153972f73951a390adb14e54b27896695dbf4964df09d0fd3f30a105c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionReviewSessionDetail (cyclomatic 13, cognitive 10): DecisionReviewSessionDetail 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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4adb2725405e939881e84ed390a1255bc48b77c028df9fd4d3242e239779a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requiredFilesystemCapabilities (cyclomatic 13, cognitive 9): requiredFilesystemCapabilities 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/sandbox-policy-service.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bdabdb5e0596d649c06947a5157af300a50b9050ba34ecb5a3c30922ea1c0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actorFromRequest (cyclomatic 13, cognitive 9): actorFromRequest 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/utils/concurrency.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f526fa990c8faa107baa448e3c588bceff354c44a908dc0841f76219e894d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArchiveSidebar (cyclomatic 13, cognitive 9): ArchiveSidebar has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a058ae1a4cde74c0bdc29b589ce4c2bcd16d951ffe0d4e7291573a091e2174fc"}},{"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":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"42108349368fe345be4c7b8066819377bfd412cbe754b58dec4534d168b5ba1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 12, cognitive 25): search 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":"server/src/services/docs-service.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"26258604681057eed260c139e72377454e4df9abfa031be8e152278c2574e788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 24): (anonymous) has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/task-preview-pending.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd411c6c9a345df9192a53df93bd71c2a929a84e68f5f9a89895e1ecba5ad06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintSemanticCandidates (cyclomatic 12, cognitive 23): lintSemanticCandidates 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":"server/src/services/knowledge-integrity-service.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35a6706c71aa5ee4fb90d101afb6d1ca8ceb03fa23e97a639c5b991190e6a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDailyAggregates (cyclomatic 12, cognitive 22): buildDailyAggregates 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":"server/src/services/drift-service.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce853aa02b9df564660ade4d4e819c48b86c940a4214c99f00e9da95b3c794d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkTaskFiles (cyclomatic 12, cognitive 22): checkTaskFiles 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":"server/src/services/integrity-service.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4eda279184bebd4d65711369439220ea80c1d74da22d359f9278dc6430aae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRun (cyclomatic 12, cognitive 21): readRun 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/storage/workflow-run-repository.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ae1d149d115e836583639339abd19e7a6e94611dd3e634ee0b1e5ef15a12a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findForbiddenMaterial (cyclomatic 12, cognitive 20): findForbiddenMaterial 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/buzz-definition-import-service.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2ca962bc5c48952ca813e8cb13edf36738d7e8780f1edb538cf278345be493"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeAgentComparison (cyclomatic 12, cognitive 20): computeAgentComparison 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/metrics/dashboard-metrics.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1045306e7aa093619f34b4d1a4be09d6623563f127b95398c02e348cf0bad8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileAttempt (cyclomatic 12, cognitive 20): reconcileAttempt 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/run-terminal-service.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad90e4dd7dc6c640c404e07e28785bf338302ab8abec36c663c7f420b2569bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIndexBlobHashes (cyclomatic 12, cognitive 19): readIndexBlobHashes 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/task-envelope-service.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988dc1e3f679e80bd747fad7ab5b28b3d4478a477f63f27a0a5a3ccb0f6c822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDailySummary (cyclomatic 12, cognitive 19): getDailySummary 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/storage/sqlite/status-history-repository.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4722415e1b7a85c76c7a049d50f16b1e65f56a62abc43ac6e1bc2bddb843dbe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validResolvedPreview (cyclomatic 12, cognitive 18): validResolvedPreview 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/workspace-checkpoint-repository.ts"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1314b6e820d2fe6790fff42ec7bdf7c09eb9fe5487fde4636bb7cc682effd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatTask (cyclomatic 12, cognitive 17): formatTask 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/utils/format.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529cd59526c7de4df31df1beac2088cc03645bf7d58ebe009aa0053581b30a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 12, cognitive 17): list 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/broadcast-storage-service.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd8ebc2a6c591ac01df5d65535f86a1bc697a2b9b5de6229a1e6f9947aa56d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireSqliteOwnershipLease (cyclomatic 12, cognitive 17): acquireSqliteOwnershipLease 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/storage/sqlite/sqlite-ownership-lock.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d372108e9552e5514ddf2c36bb49dea4f004f2e53e413957324bf504875ac07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateResolvedHostname (cyclomatic 12, cognitive 17): validateResolvedHostname 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/utils/url-validation.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b59c5168c23ff543ef6a0e14a24879af9960f587e8686b9c912ef006a7ea9b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatter (cyclomatic 12, cognitive 16): parseFrontmatter 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/prompts.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b50f2e5a23284701486da854e82745a967a5364055e999e6abafc15b80ef2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyNativeEvidence (cyclomatic 12, cognitive 16): verifyNativeEvidence 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/native-ui/verify.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"868d8fa778f7aeca6dbef0a870d70435cc0f8b8af1be5aff5a4e3593db50d7ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeTrends (cyclomatic 12, cognitive 16): computeTrends 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/metrics/dashboard-metrics.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0035c88a552bf8c0034de92cf88cff5e4fc788799e85f55a663d2181a046229"}},{"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/skill-security-service.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe9885fd86ae2813688a6841ac355560e4e7e3f6f0b3493a9e2f03831b84fcd"}},{"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/github.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b34b208bf1bb28a701df0fcd1ea2cf245c9c3f80ba3b95ff63338840ecade"}},{"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/attachments.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca42ba53d48293e92d59f4d7887f3471413c7ba8e2f11d553c31d535a56ca897"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPermissionWithTrace (cyclomatic 12, cognitive 15): checkPermissionWithTrace 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/agent-permission-service.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"590196c1e2b14d43a3e04f0274c4b70109edb57f7266b597d5dac1f0f030ccde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesRule (cyclomatic 12, cognitive 15): matchesRule 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/agent-routing-service.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ad37837b9bf6e9301a1fc8fba7dd8d26dc4a07380974d0f54e2d779314eb14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewTask (cyclomatic 12, cognitive 15): reviewTask 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/codex-review-service.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"26768002b26cfd8eddecb14a3eda3de37011b8bdf31be0093fb5cca48553582a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeHumanReadableBundle (cyclomatic 12, cognitive 15): writeHumanReadableBundle 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/sqlite-portability-service.ts"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97156688f0ed66414b36d6739a8a4624da4118ec12db25615ce4a88b42e6aa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveTaskMutation (cyclomatic 12, cognitive 15): archiveTaskMutation 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/task-service.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25cd8be78ef84bbd9003601f25c8c069f90721495d5968c3bd6b45b8482a86f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDesktopWindowState (cyclomatic 12, cognitive 14): applyDesktopWindowState has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/window-state.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae56ebf91d4b5f8cd9f20183b69f88270194b78330a7a571f7b629709416a49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexArgs (cyclomatic 12, cognitive 14): buildCodexArgs 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/clawdbot-agent-service.ts"},"region":{"startLine":7404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd3e1b20b2c1210743d77e0b0ae8e4c15287af711ecf6d9f6571fcf1c171427"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicAdapter (cyclomatic 12, cognitive 14): publicAdapter 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/communication-adapter-service.ts"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"677a9f8608f4df7bc0bf713d51f4a7e732c954cb0ad3b3bfae3ef5c8c7eb8c4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destinationAddressBlock (cyclomatic 12, cognitive 14): destinationAddressBlock 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/egress-policy-service.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a0d67ab3b1a7c63bfa5f55de06441c6ed85cba8d31b34a27de979820415a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePayload (cyclomatic 12, cognitive 14): validatePayload 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-tracker-service.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ea81526855bb2c7be056cc3742013ede4f9422d33307d9b14dbd473379e0e4"}},{"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/metrics/dashboard-metrics.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"438cccb102f99bc7664765646822d1f80ed41dc9cc8ffac6bbee97925ebca09f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inventoryEntry (cyclomatic 12, cognitive 14): inventoryEntry 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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcbae442f79f9175111df1e5420d763b9c11f744e2e036f6ed2418db1ed3887"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/task-git-popouts.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbd6c2764fa13c61deb4093f0e2d82ebd3693d24da0af1bab02154db33ec6fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPublishedMedia (cyclomatic 12, cognitive 13): verifyPublishedMedia 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/docs-media/publication.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4654dce0692b3e755aec0120e977eeeca7bf6dfe1cb36435f292a59aad9c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMcpSmoke (cyclomatic 12, cognitive 13): runMcpSmoke 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/smoke-cli-mcp-compat.mjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d11c626f74d15e58eb55014a3ecb5eab29503272fd7549e3a787674b2dee1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactObject (cyclomatic 12, cognitive 13): redactObject 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/lib/redact.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9be58d527ff4bd41092a62430be61cc4059dbdceac1e0bbc52ce281d23349d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 12, cognitive 13): apply 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/automation-activation-service.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d4a8ebf9f123c73f0b7095ed7a403fb1a3a3cdeadf31a49342670570c8c10e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerSource (cyclomatic 12, cognitive 13): registerSource 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/knowledge-collection-service.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ea6fb5d27ba3041e9e0e50451fd4a60a324d4ce20f81401b0a89152fd0ebc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTask (cyclomatic 12, cognitive 13): createTask 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/task-service.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b90279c391109425398a4be5fe78487363735038f03b6853d3380062c5ce7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSqliteJournalPolicy (cyclomatic 12, cognitive 13): loadSqliteJournalPolicy 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/storage/sqlite/sqlite-journal-policy.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"28243ec0cf8d6e5d58b1b60c82822fb82e4fb5ce626c5b5a498e89f13bf3d8d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleImportSettings (cyclomatic 12, cognitive 13): handleImportSettings has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd27f341b2cbc593008a7745db249fb61e055cbac138592119bb58832647e471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFileSelect (cyclomatic 12, cognitive 13): handleFileSelect has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df15eb8a94e56f366449362dee77a789f8aa544d6de94d842e179d41962fce"}},{"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":"cli/src/commands/agents.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85e447f23a7198ef21705099fb72fba04cc95f8303ec617d60a6b7702358672"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRemoteConnection (cyclomatic 12, cognitive 12): validateRemoteConnection has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/bridge.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c295ea89606103f77fe4da5d4f6ab1e7c9c97714c03093cc4c3670814be24df3"}},{"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":"mcp/src/index.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0167b1f44c4baa6376f48921c69ac19345f1b0d12080bd7a9059ed64cb431ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCiTestScope (cyclomatic 12, cognitive 12): classifyCiTestScope 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/select-ci-test-scope.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a7caafee602623a2acadd1195c69e86a5ace71d4aeb0d3ace26a1446880f01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectMacDesktopState (cyclomatic 12, cognitive 12): inspectMacDesktopState 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/wait-for-desktop-ready.mjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"13570b40519864d495efd98b33cc054c92b1177659b333d551a90a8678b94ce4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareMessage (cyclomatic 12, cognitive 12): prepareMessage 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/buzz-communication-service.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d395011965765804a025999e44a7ef68468d38cc41aa97e294c1b31b1d445ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 12, cognitive 12): transition 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/durable-goal-service.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ec9b2b0c3799d2c0b92f58deee90e8bb43af1f96820cde2b6d26daa0c3ec1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAnalytics (cyclomatic 12, cognitive 12): getAnalytics 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/feedback-service.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3491ffdf9df906666c78b7558b03dd54c021173c42314e9397bb65ae20cff8c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileProviderLaunchCredentialPlan (cyclomatic 12, cognitive 12): compileProviderLaunchCredentialPlan 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/provider-launch-credential-plan-service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d38dd441502109bd1ce7f2ebff05184d5ce9336151c7be056c88f6ed9a16c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 12, cognitive 12): start 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/run-egress-gateway-service.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc626c278d49851efbaf44b1c1b5c6bdf643e165dbaedb9f9f6f5179040318d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 12, cognitive 12): evaluate 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/watcher-policy-service.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523a51010e9ab469ae7959f2b060c06e9c879842eeccc21fc1d3aaadbf4af8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeOpenClawAgentStep (cyclomatic 12, cognitive 12): executeOpenClawAgentStep 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/workflow-step-executor.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aec8ec4281f1d5c2e38e5713589aa6dbd354e48b6e36f710252b7d5c914e71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readArray (cyclomatic 12, cognitive 12): readArray 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/storage/agent-permission-repository.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0880f5030cd6b27b65010368e209d6e8404349a0dc8d2f50ff99fdb780aa65a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFile (cyclomatic 12, cognitive 12): readFile 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/storage/error-analysis-repository.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e32e9919f2af846e32271b7f63b938baa44cc40bdfb56690d0c5ac264d8c9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revalidatePreview (cyclomatic 12, cognitive 12): revalidatePreview 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/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2789f29e15e05842aea60a49ac23be4d0f9b4924cddc79d6b4d3e5f5d0e82af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/__tests__/workflow-browser-actions.test.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dc6f6e6e4be6740edeabd23dedf1c2d8751b992f30e87089fb1927b28f92f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function titleForStep (cyclomatic 12, cognitive 12): titleForStep has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e9a49bb89572356445451218a1eef3f0d156ce45940ecb7d1300cea444c5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkProductsSection (cyclomatic 12, cognitive 12): WorkProductsSection has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c7729d5cb6af5c105e7075ca8bd97a558c75f13d53f574cf636257f9fbaf8"}},{"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":"cli/src/commands/goals.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba041815d95f0b871e48730845572992257590025ba6580286afc1758670710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDesktopSetupDiagnostics (cyclomatic 12, cognitive 11): createDesktopSetupDiagnostics has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/shared/desktop-bridge-contracts.ts"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d2729d883fd38c6697492f6c2983ce9559b9b53c302cd5f662ebfa2d679015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function internalArtifactReason (cyclomatic 12, cognitive 11): internalArtifactReason has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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-public-docs.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4621edb0c84cb19f2aaccd8826bc9ebeb50848871da1424031faf13576d01f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seededObservedFailures (cyclomatic 12, cognitive 11): seededObservedFailures has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/native-ui/contract.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ed439d9a13098b724a010de968674d24d42c878a78190fb8490030583b84ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentPullRequestLabels (cyclomatic 12, cognitive 11): currentPullRequestLabels has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/select-ci-test-scope.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edd4390a15fb49b166250e2cb8955ddf9eee1a152ccde746055d1a6408141c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGrokBuildRuntimeProfile (cyclomatic 12, cognitive 11): applyGrokBuildRuntimeProfile has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7455fc20a7d7f1ed052738b2024ed41d09772dab63a4ebaaaee575231dd16757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOverlap (cyclomatic 12, cognitive 11): validateOverlap has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a5b5382695bab15901b89c49007cc22b909efbb2ceca103d3a14100e3947e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateTaskCompletion (cyclomatic 12, cognitive 11): evaluateTaskCompletion has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ceremony-service.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2975177123586a36148d5941da7a9df300b2a3d9eae861994c73b5e66f8dffa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPendingManifestSnapshot (cyclomatic 12, cognitive 11): assertPendingManifestSnapshot has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":8581}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a7984c72c181eedf0c0f1575cfbf584a4a96cd163b3b53f8cd9adddf421189"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traceStepType (cyclomatic 12, cognitive 11): traceStepType has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-event-interpreter.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ddcc1793a41b5f4a4a2f20da4c74271d4795ac7c195d6a1fcb7cfdceab4b71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCredentialAction (cyclomatic 12, cognitive 11): normalizeCredentialAction has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36cb2748a937ff47ad7fb870b9aa736c075938ed7a113fd682e8b119eca65a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 11): constructor has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/queue-intake-monitor-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61d4db49add235c93316683c29ed406f779a222a12856e1f1f0c74f1c1a220f"}},{"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/task-service.ts"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c25143730dd5bf72440113f929412420ec937b2000115d71bee1bd62bd9a537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 11): constructor has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/telemetry-service.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3f9f302e1e30660c04e6add74f678ae34da24335938dfb266889d55b344818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function budgetLines (cyclomatic 12, cognitive 11): budgetLines has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-product-service.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"52171a7757d85978c1e1be3f712fbdda19ac568612dba4e4c8233a3efe2849c2"}},{"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/worktree-service.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac92012e1d8c1793fa41543806a03e9968ae419b7a118b5d0da98ebcc931fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function descriptorForRecursivePath (cyclomatic 12, cognitive 11): descriptorForRecursivePath has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the 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/workspace-execution-trust-repository.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e142056f05cd149ff51edc88d3bdb9dd193b04f43989029d2513adcdcd3dc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/activity/ActivityFeed.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eb105b6c26f96284897f0736b4507bc3f5018bce3b5f5c1b11d7a1fbd5811a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08ad81000fa4f2b3e406c75184187c0bcdc467cdf4f5699833ed2a3c76e17c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf0afff12fb6df6a9d027561cba2ba9f8d8e0fa3ab8116bc07e671ae47b33fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandPalette (cyclomatic 12, cognitive 11): CommandPalette has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d9ed8e58b2f3f6f22ec4be99b3d32b100cb9327a2af9b7646a1dc01c8b363e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3f47294e20f9b493681f2130d97acd81dc863d222f27ef22456b9963e6e8c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentItem (cyclomatic 12, cognitive 11): AgentItem has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3e109480e8fad617e92aa31609a3ecc781a967d4735b4203b345c7dedeb6c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BoardTab (cyclomatic 12, cognitive 11): BoardTab has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/BoardTab.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f0e625dc009000056e66584d4040ec528057620a5e5286b61e677207c6d5b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttachmentsSection (cyclomatic 12, cognitive 11): AttachmentsSection has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AttachmentsSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"155f688574efffb8610f951ab1c238a378e31648afa2aff3869188f12b0443dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DryRunResultPanel (cyclomatic 12, cognitive 11): DryRunResultPanel has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e15e119d593b0b6ec477fbce94acead5ce8f3dc9925452116ded20b00373c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEvidenceTimelineFilters (cyclomatic 12, cognitive 11): normalizeEvidenceTimelineFilters has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useEvidenceTimeline.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78ac4685d03dac15b2d0070f6453efaabcecad21c970365a575a6fe6d7d79c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timeBreakdownQuery (cyclomatic 12, cognitive 11): timeBreakdownQuery has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api/time-breakdowns.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8ffd70073e02c1465e762301e68d1a80dad18b60b32cabcba9c3f6d39c1b89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printReservation (cyclomatic 12, cognitive 10): printReservation 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":"cli/src/commands/admission.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2fcad4619e790af485ef478d8cc297883bcedf97ac594e85fdc5c26d313d83"}},{"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/__tests__/workspace-checkpoint-repository.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"64804fded1590996d3fe328bfaeb52a2a2fb8f127cbdacbb207fc4266574e39f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function register (cyclomatic 12, cognitive 10): register 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-registry-service.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"973ea4e6e53cf28a916bc8d22603087e73f0d5fd12aa60f43ff43f8cef8b573e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasClaudeCodeBareAuthentication (cyclomatic 12, cognitive 10): hasClaudeCodeBareAuthentication 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/claude-code-adapter.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e182620d1b057faeabe934b191f35c4a23c7854e73e2bc1782fc35140fb03d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withCredential (cyclomatic 12, cognitive 10): withCredential 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/credential-broker-service.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e70028e539be8f4520a756590f6471ad92302d6650fcef6ab0d1b46b76702e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyDependencyOutcome (cyclomatic 12, cognitive 10): classifyDependencyOutcome 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/dependency-circuit-breaker.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29063bd8a76940c671718ae1f6431851fc737454b659de85692cf449023d867"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArchivePage (cyclomatic 12, cognitive 10): ArchivePage has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c026d257165b940ea4485dea062e853678eec9d39a759f1547904fa1357052a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthGuard (cyclomatic 12, cognitive 10): AuthGuard has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/AuthGuard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc03a998990b710bdf7e875f58a754f0d5751b2861ac21c1bea0fc4d3de48e14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApplyTemplateDialog (cyclomatic 12, cognitive 10): ApplyTemplateDialog has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6bca2529f403858804e05b55d1242849596d3ea824d376355446db906d886d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProgressTab (cyclomatic 12, cognitive 10): ProgressTab has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/ProgressTab.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c10bc5dda1e036b360bfc808da6694143cee23a58ebb8a863d1f6523bf9946"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLaunchRuntimeCapabilities (cyclomatic 12, cognitive 9): resolveLaunchRuntimeCapabilities 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/clawdbot-agent-service.ts"},"region":{"startLine":4462}}}],"partialFingerprints":{"codehealthFindingId/v1":"86297dd01458cc2a91892d6f88a40b9a8e3aab1b15b929c417d16459fe5234ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRunEvent (cyclomatic 12, cognitive 9): appendRunEvent 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/clawdbot-agent-service.ts"},"region":{"startLine":7801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce782a2b4c0014b6c36a1ffc3c6bfe14461fa13ced05ab9a0d6957bae26c8e3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectFileConflicts (cyclomatic 12, cognitive 9): inspectFileConflicts 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/workspace-checkpoint-rewind-preview-service.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd0ac61c15bee24f6d6c08f45f22abccce8c1101da2fe241a321a444c1c3c28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentComparison (cyclomatic 12, cognitive 9): AgentComparison has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/AgentComparison.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed789ab21d37f13f0920552740b97255a940a6bef0e7661bc8a5d815a86130e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserMenu (cyclomatic 12, cognitive 9): UserMenu has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/UserMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"270e8a6b5f1d0119b17d39d03b869ff9f57eb3124bf2d7e262e023c3cae7bdf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/templates/TemplatesPage.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"12967d750d16485a0b22f8ff7ba4bfebcee3bd3d4cf2f6d4f2cdb60cd72c07f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyFiles (cyclomatic 11, cognitive 23): migrateLegacyFiles 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/utils/migrate-legacy-files.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9703869b8434420a05d40c523f1bbdeee04349ed1aba1bd6dc194a2c487d71f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCriterion (cyclomatic 11, cognitive 19): validateCriterion 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/workflow-step-executor.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57755b2a0f4c47d84a703d0759cde0fb237a922119434868419521e623502f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncFromGitHub (cyclomatic 11, cognitive 18): syncFromGitHub 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/github-sync-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f945dcdd9c89f326866e26bedbb5564a38350a0c82b83b11fb04bba6dc8aa67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProposalContradictions (cyclomatic 11, cognitive 18): buildProposalContradictions 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/knowledge-collection-service.ts"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1aa7e1e6ae4f564a365b25b9ca703998df75ad78be1c11174e0a55e86e990c"}},{"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":"cli/src/commands/agents.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27cf28fa6caf0f47f0fa45530c7620874a4c6119baacb8241a44f467b01550"}},{"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":"e2e/compact-workbench.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46661c87716cbb546a109511b34e7960eedac78a1176466b2dca368f6a6500e"}},{"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":"e2e/task-artifact-format-popouts.spec.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b63d41a6b80eeb8be2b6ef6970987269e49ee81b3ef01c1e76d17bab496288"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 11, cognitive 17): walk 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/local-macos-candidate.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0fe93261f9faa5014fe88f99eebad282d27ad271550b843c713364ec62a320"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 11, cognitive 17): cleanup 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/storage/run-output-artifact-repository.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9812d628050549fd1c9cde7b66078900bae1f28349755e664aa7e465d344bcf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMarkdownFrontmatter (cyclomatic 11, cognitive 17): parseMarkdownFrontmatter 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/utils/frontmatter.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dbef82d283856bd6f8079f0e4831cca8cecf4012b0cfe3c6279a6b892a2272"}},{"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":"web/src/components/ui/toaster.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d065a7e787b58c7eedd50c049c433028dd21fa6af7dff9e2dbf98e419d5f6011"}},{"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/codex-app-server-adapter.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687dac2449720638a759ec092c1d45f0966bad1ad417a698ecc1fd07451ac6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePendingRecoveries (cyclomatic 11, cognitive 16): reconcilePendingRecoveries 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-recovery-coordinator.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"39efbfdcd8fdafdf9409298dbb91dfe4605f66bcc3d4e49aef3f25a93cba8bdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimePackageRoot (cyclomatic 11, cognitive 16): runtimePackageRoot 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/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a3e20dccd9fa70d5c6b044fe0c0fb46448fd09a12ab036ba4acbcd24ccd7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExecutableAgentProvider (cyclomatic 11, cognitive 15): resolveExecutableAgentProvider 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/provider-runtime-resolution.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e630d4e2923602df6855528c84c37c5ff348cb76cd0c29a964c18f0e79d36d2"}},{"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/agent-status.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb83caa2d6a46dd84cfba63b33c4ab2b084caaab2bfffcb87f590a88cfe96c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferScheduleExpression (cyclomatic 11, cognitive 14): inferScheduleExpression 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/automation-draft-service.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71c403a530290d16dd52b0f56a3009276fa89e104b419fc09ba89b9c8b1795e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepMergeDefaults (cyclomatic 11, cognitive 14): deepMergeDefaults 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/config-service.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e411c9d2d1ccf9fd696ff021fb79a807f1aad1738c287c49355bea1822896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probe (cyclomatic 11, cognitive 14): probe 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/filesystem-sandbox-service.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb87116076e768b9ef22b97f79b2190fae2ef703301a5a7c6355b83a4439353c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getToolPolicy (cyclomatic 11, cognitive 14): getToolPolicy 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/tool-policy-service.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"885d1d5b8669fb2e82e4fe068a2f9957d49603e2ad73608457d71f2c06284dc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchQueuedAdmission (cyclomatic 11, cognitive 14): dispatchQueuedAdmission 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/workflow-run-service.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"8896f6d9f1888b98a7aeef75070abb43bf404f364b58ee87f199602f44adb0ce"}},{"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/storage/admission-reservation-repository.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a418924587c0de511bc9c9c63c7672ef84e5604cd80e13cc64c998b1e4bc5f8"}},{"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/auth.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"95caefbc5daf98f3f6af9bf6369fcdd8e13088f36fe3bcb478b5e0d1839f831a"}},{"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/schemas/task-envelope-schemas.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96527859b9e6f0310ce3983a9a0539b97076e1dfc81eae7d999f83a83ae5aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncFromTask (cyclomatic 11, cognitive 13): syncFromTask 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-registry-service.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2371c1922c107b71bec53d91482b81a56b0029d200f1c97885668b90a89360e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTimeline (cyclomatic 11, cognitive 13): getTimeline 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/analytics-service.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d150f0f7e09b73efd5ba7954aa3bbf794fa10381e16baaca69b767038d986ec1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStandingScope (cyclomatic 11, cognitive 13): validateStandingScope 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/automation-draft-service.ts"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"211d913f09101054229e8a14f077453a00a2998a4c0611acb663bf408b1da43e"}},{"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/clawdbot-agent-service.ts"},"region":{"startLine":4359}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf3106156ee6ede1f34e844033a9fb286482611ff2003a45522c16559ce2c13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planAction (cyclomatic 11, cognitive 13): planAction 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/queue-intake-monitor-service.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b390aa946b0645cde1d10bbd379492bdb3c20f597c1a5906a43942ece3e3f67"}},{"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":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6a5d7352c69689591263b8b3ebd3933cdad24422e71f99a0a70493c14ea824"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesFilters (cyclomatic 11, cognitive 13): matchesFilters 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/storage/append-activity-repository.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa21bd1635095bfb01e318b38204d7d1cdac0a6ce5a49228d59b700212994300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSource (cyclomatic 11, cognitive 13): createSource 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/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d2e488ffcc109c91f927e230cd2ec85d6270320e4817c2d053d35be25d6cd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSafeCodexEnv (cyclomatic 11, cognitive 13): buildSafeCodexEnv 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/utils/codex-env.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ba36c65da49a066e82acb2b68c97bb075b1220f3cb355ceb8eb0812f782ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relativeMarkdownTargets (cyclomatic 11, cognitive 12): relativeMarkdownTargets 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/check-public-docs.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41ab207dbdf9dbd58fe5f9b699b686cf3dc5332414c0458d2199ca0a9df1607"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accept (cyclomatic 11, cognitive 12): accept 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/runtime/run-tool-bridge.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"514da7bdb95b2be361045e6f2fa5198acc4d4dc3c917d8e9dd335dad09d0d4bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSafeClaudeCodeEnv (cyclomatic 11, cognitive 12): buildSafeClaudeCodeEnv 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/claude-code-adapter.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"75302e0a2fbbfa3ac9a6649e352852bd10894c35cb5bbaf8ada3999dfec55736"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectSentiment (cyclomatic 11, cognitive 12): detectSentiment 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/feedback-service.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"371e46b1a938e6b22c83706915222ffb5d4022ef155d8801506cc3bbaf2386b0"}},{"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/metrics/dashboard-metrics.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d67bcf3ebf39a808b875bd9da36c82fed22949088c440bf48b3d2039ed834f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fireOpenClawWake (cyclomatic 11, cognitive 12): fireOpenClawWake 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/squad-webhook-service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"125d26284f57bb8b35cb8cd5ebe7bc5d970b40b6e855b2a97711b9a2ffe80e94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInput (cyclomatic 11, cognitive 12): validateInput 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/work-product-artifact-service.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c268005046f8a138bedc0b554cd127a534a26a3ca5db5e6e35d098c888b9562"}},{"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/storage/knowledge-collection-repository.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c712ee6b705ce6a94bbd37b2df380570f832eccac9ce2adf2c007443fce2a15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPageBatch (cyclomatic 11, cognitive 12): applyPageBatch 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/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f7c3e99445e79d07d77108883e800aa7fa91495ab00d87328b334b2d5e8c34"}},{"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":"web/src/components/settings/NativeSettingsWindow.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc104f8b860ceea163b1879eb8ba4869c7c14657ed1487c83be5f7f765e2f2ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptLine (cyclomatic 11, cognitive 11): acceptLine 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/acp.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7c1170f8798699b779cc971e83ae34f2b7fa1630a157b4896abdcee492468e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRoutingCheck (cyclomatic 11, cognitive 11): buildRoutingCheck 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/doctor.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec765ca1ff7507613b9b8c0038ba4e684daaf68492cbdaaa923ec3102ce729ec"}},{"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/clawdbot-agent-service.ts"},"region":{"startLine":6072}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b350216004e00d4e65eade2aa8acb0f863b0932ff4aa2282ce0437c0a5f528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHistoricalBaseCost (cyclomatic 11, cognitive 11): getHistoricalBaseCost 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/cost-prediction-service.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"190813a4a65174506b515a9f076c6920a6f442ecec97c9274632e543df318601"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchScheduledRuns (cyclomatic 11, cognitive 11): searchScheduledRuns 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/search-service.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1a60a1ee94a4e701439af90ca94fe68bad548ae27076c4d1d501548e8444c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminateStdioProcessGroup (cyclomatic 11, cognitive 11): terminateStdioProcessGroup 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-control-plane-service.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb20b2c696760c2694bee732d5cb1f7963a179dc62ca80795de82ae5c7cfce5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canReceiveWebSocketEvent (cyclomatic 11, cognitive 11): canReceiveWebSocketEvent 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/websocket-permissions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421d939e991c8c2401500d8101e586c7e1156679899696091f2beaeae306b6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 11): constructor 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/workflow-run-service.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"922d21c577f1ad667d901da7f4c3667ea397b12077ceb2d844e5f5cd73bf9865"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitHookCandidates (cyclomatic 11, cognitive 11): gitHookCandidates 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/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd2ba54c8229eb30b9b4df4cd07c117039800add68943881f8d0dbc64f589a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskBoardRankAtIndex (cyclomatic 11, cognitive 11): taskBoardRankAtIndex 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":"shared/src/utils/task-board-order.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"867875125fa8094a9276eef221e3b01ef50d1d2c128d8d18be8cf86f63404b48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MaintenanceTab (cyclomatic 11, cognitive 11): MaintenanceTab has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f178e1230277227bef99c4775eeab114219440b6b02d0e4b8e5e29156126ac9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestJson (cyclomatic 11, cognitive 10): requestJson has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/doctor.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d04bb0faf8d0bc396499d12403f252dbf25cb322df2ad9e6b66310c28ab760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNotificationsCheck (cyclomatic 11, cognitive 10): buildNotificationsCheck has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/doctor.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3c981ed77b467c3cb12733ce150a43d71ef3292842223fc3bbb9e6f2cf75e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestJson (cyclomatic 11, cognitive 10): requestJson has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/snapshot.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb35853157bbc572e613b289376a862947a48b8322bb159218b9f1df27635e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findUnsafeCanonicalCadenceStatements (cyclomatic 11, cognitive 10): findUnsafeCanonicalCadenceStatements has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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-delivery-cadence.mjs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cdb610aa5b235e77c2755a52f168e33c581977dcf356d586adbaaf661f15ec"}},{"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__/shared-api-client.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a283d1c20a1673ce566c0500fcc9775f61977585061f2342dde3ef031e8cbb5"}},{"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/integrations.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"300990253da20139f97e8e2d4e183d860b52c0fa45234c79dc6265459a1d170d"}},{"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/workflows.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db4546572ee6c83e53c0813979a8e5141c84f06fc3303a962eac45d3fde691"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCopilotRuntimeProfile (cyclomatic 11, cognitive 10): applyCopilotRuntimeProfile has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9e736fa98156f5aad2e32f096470a72b0cd60e13703b3894ba2eb67ed5cd41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeUsage (cyclomatic 11, cognitive 10): mergeUsage has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-budget-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2a2de03e8835610fa1d450bb37ecc3b767ac2db9cd343693b9925bc7e8d857"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeClaudeCodeAuthentication (cyclomatic 11, cognitive 10): probeClaudeCodeAuthentication has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-health-service.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d6994803c753fda8e9d578530fd11a4517414b7f08b0605623c0a2eec727c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quiesceForRewind (cyclomatic 11, cognitive 10): quiesceForRewind has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":5777}}}],"partialFingerprints":{"codehealthFindingId/v1":"186597d116b2eb148e707308a0008baa6fb515e5fd62365480d01d8a28d64c20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexProvider (cyclomatic 11, cognitive 10): codexProvider has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/context-provider-health-service.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc085052db844ebab5a207f6378876b601c063db5ceba12dc404d847f9e0a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeScopedPath (cyclomatic 11, cognitive 10): normalizeScopedPath has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ae0343b7909fe64f76080bcd314d3949fbc0fc3ef8e86a645de49fc2a39cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPairingCode (cyclomatic 11, cognitive 10): createPairingCode has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-session-service.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea0606d782ec48a953f8ae6980db1fc9a43e1ab4ad441d7fc6b785eb7ca064e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approveRollover (cyclomatic 11, cognitive 10): approveRollover has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-goal-supervisor-service.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d96182cf45ed8f69678cd4baf3d6513e6f6bb2f8ee5c7e7b33398e4ee1be17c"}},{"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/evidence-timeline-service.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"780161ef2e62bf55eb900522777fb64acebc95d03a5afd0ceae3cde16cd85db3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assessManifest (cyclomatic 11, cognitive 10): assessManifest has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-runtime-capability-service.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"902e6d6594b179c391fadc68149f4fdab7b7ec2027b1371c9e43be7f894ca32b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 11, cognitive 10): preview has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-access-change-service.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54f9993c7cad3b32b44bcae6a90d57dcaaf904de56eafb362a26022d62b160f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectNetwork (cyclomatic 11, cognitive 10): projectNetwork has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-access-summary-service.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7942bea3176a93c43f0d9f4bc76d97d4f232741ada540de0291796791c5175f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function project (cyclomatic 11, cognitive 10): project has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-phase-authority-service.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe66c200c7df13238ad387561fa6e5bdaedf75c216b6fa5ce60d935d09f31c5"}},{"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/scheduler-service.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d4e669917272d5afd57373a69bdbe2083e9e1923ee309f20c3745e849c960e"}},{"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/session-template-service.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"80411af619f09e168288533f3defc1a7d98707bc4fa51a3a6907da4943aa58b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writePromptRegistry (cyclomatic 11, cognitive 10): writePromptRegistry has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a01f4a3375e492b9c561910fc77ab636ce069bcc0af3f4a83f4dfddd00c890f"}},{"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/telemetry-service.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f7237f945d99977af60439a40d55788a19624b30035b6b8db277fd5851251"}},{"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/telemetry-service.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3702ab983bd61a5345f264057236c246500e8e005b2ab885ff04eae3b69f5181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDiscoveredTool (cyclomatic 11, cognitive 10): normalizeDiscoveredTool has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-control-plane-service.ts"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b62763fd666636ef9a019a474a50c42fa62fc13eb4d32f860afbfd5eed0e35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePolicy (cyclomatic 11, cognitive 10): validatePolicy has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-policy-service.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb23097eece9449f5fed6ea80c7dedf458d12383990008601ef3febf9b6c013"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildToolTrace (cyclomatic 11, cognitive 10): buildToolTrace has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-policy-service.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb55a82903470a05d2e0816a6f28b5bfa3095713b503ac794608f73fa2cbaa53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyMedia (cyclomatic 11, cognitive 10): classifyMedia has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-product-artifact-service.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"984dd5886988ac6e1b7872b2bc5a69358816ed5bf82da34e5472138f1f9a7356"}},{"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/work-product-service.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"401ce1d99037f81e044297aadc3520c517a66ee42d224225b99ab41ef74c455b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lintSchedule (cyclomatic 11, cognitive 10): lintSchedule has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"158589f7db702dc1f0dbe7dc3d61a36212e5621036dd13469ee9cc5c184088e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parallelSubstepStatus (cyclomatic 11, cognitive 10): parallelSubstepStatus has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"25319b4a78c8fee00781d2851cd261f3ea30556f971fbc0edd61c602e07da395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertQueuedWorkflowStepPreparation (cyclomatic 11, cognitive 10): assertQueuedWorkflowStepPreparation has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c08ecbbbc2267cbda0f93f2616b262b4934aa39f3096a42b3b66f6c06f5878"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAgentStep (cyclomatic 11, cognitive 10): prepareAgentStep has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"899604d3ad5e522544abf79e62d9d21b722f4b4f4f48811d136dc3902bbb11c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeParallelStep (cyclomatic 11, cognitive 10): executeParallelStep has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"537d6f3327c753581d3116b585ee4f5b798fcff406b80cd11e7ecff117bc1be3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDelegatedTaskDescription (cyclomatic 11, cognitive 10): buildDelegatedTaskDescription has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-capability-service.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0839a50eae4fa544f7768f65afe33a13e1219dea2a4a8ae7780d11741fdd83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordDecision (cyclomatic 11, cognitive 10): recordDecision has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, 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-execution-trust-service.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4816f849b7ccef234eff982305609f6a7fe962ff8cb6d4045ab32d66fb8b7e1e"}},{"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/storage/sqlite/telemetry-repository.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f9882bbb132f24ad48b6766129a67f0141bb57727e12ff0a4278169e4844f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEventQuery (cyclomatic 11, cognitive 10): buildEventQuery has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the 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/sqlite/telemetry-repository.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ebe3d354cc0c8a61a98ecf0cfec808afa73635cf000e16c74c12eb7cff04e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSandboxPolicyPath (cyclomatic 11, cognitive 10): resolveSandboxPolicyPath has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ee25fb0067b10f60fa8715af4f2425916dca567047ebe3447bd240e6c1bf57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPasswordStrength (cyclomatic 11, cognitive 10): getPasswordStrength has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbf994772062354c03ea89dc7b18588bc9f3dc3d505d5428292ef88250478a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvidenceEventRow (cyclomatic 11, cognitive 10): EvidenceEventRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"679af299b16d23bdd9f74df81c095f60dec62d14ed8abf625aabfaf44d100a3d"}},{"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":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fcdb58497420980803d4826ced91d18b2eb78f65e41f06088b1d54b66cecbf"}},{"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":"web/src/components/layout/DesktopLeftSidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9c3548b772809fd1031cecfb0b37122b1937c27e924389bda78d05fb8b7dda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PwaStatusBanner (cyclomatic 11, cognitive 10): PwaStatusBanner has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/PwaStatusBanner.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f9c1042ee115fc7ee3afde74c4631729fcf9130805cb062d480d28643a30a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptRegistry (cyclomatic 11, cognitive 10): PromptRegistry has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"623491c0000f15133e34a63e8d06a85cf067deae9d82b376010c902dfb1b0362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutingRulesSection (cyclomatic 11, cognitive 10): RoutingRulesSection has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e0321ba1d36d8b5ed4eae5f3079fa433e220b5981355a048aaf22b405dbbe4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adapterToForm (cyclomatic 11, cognitive 10): adapterToForm has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c23fc265b0e45c7c62b411884b15b0eeb771145900efe21f7c4e888100fef7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QueueMonitorsTab (cyclomatic 11, cognitive 10): QueueMonitorsTab has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/QueueMonitorsTab.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9960b7d60b5aaadc0b010971c8b9732120adc5b13380d18509e56f187557f766"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPasswordStrength (cyclomatic 11, cognitive 10): getPasswordStrength has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/SecurityTab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ae1623f6c049274958a046d940fa1b0c3500493d0d9d562c6ffa95fe95273d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeliverableItem (cyclomatic 11, cognitive 10): DeliverableItem has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"60057d7263806a8eed4e66d5220d3c22870c7104717d9621cee021acf0a4670b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOperation (cyclomatic 11, cognitive 10): runOperation has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/PreviewPanel.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d8ecb40e961a1be69eeb4cca475b48ec11db7791f13fde3ad0e9064f89cbbb"}},{"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":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fcd7e4bc2272fc4423457874343dad7e816f0fe734f8592d0ce3d3b0926944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepControls (cyclomatic 11, cognitive 10): StepControls has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"475ff44c14b1019f8ff225006992ff4f5f53ba74650dab2821560b3004489bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNavigationHistoryState (cyclomatic 11, cognitive 10): getNavigationHistoryState has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/contexts/ViewContext.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f547c5048e035ef5d63487d608b88d8d549a1e3f9d1477928b6680894a62d0c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTimeBreakdownFilters (cyclomatic 11, cognitive 10): normalizeTimeBreakdownFilters has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useTimeBreakdowns.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f8828c4fd9e64739e9b9cadf77bf304f373a792bd49a4bf0387ea04ca4aac1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFederatedSessionContext (cyclomatic 11, cognitive 9): buildFederatedSessionContext 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/middleware/auth.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f33ed199750511b8a92955daa8a2078e67ffa327598b5747d1cdeec6444548e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pairingExchangeInputFromBody (cyclomatic 11, cognitive 9): pairingExchangeInputFromBody 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/auth.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a3209e78a66aac931a1e2428339171fac372c4434006304e65987bf6c84760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInitializeResponse (cyclomatic 11, cognitive 9): parseInitializeResponse 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/acp-stdio-adapter.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"312a0aaf30d5581e422ff6adcb4afe66e99cb3b6c01aa5b086ff9298a7e3bd09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importDefinition (cyclomatic 11, cognitive 9): importDefinition 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/buzz-definition-import-service.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0974e014c058b31403a51bf618adbf0f15f971a0ca7594c51bb9cee2fb87869d"}},{"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/clawdbot-agent-service.ts"},"region":{"startLine":7134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36b79f61e4a4a17dc9e805bddf9cc33e30fcbeeddb28fefe1aead1c88a3ee4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceConversationCursor (cyclomatic 11, cognitive 9): workspaceConversationCursor 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/clawdbot-agent-service.ts"},"region":{"startLine":9422}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fad735594cdf9e38f9eab499b1987a8a212b6231d6f569468642e1162f0ba5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateOccurrenceRatio (cyclomatic 11, cognitive 9): evaluateOccurrenceRatio 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/scoring-runtime.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c741e245b9aa5edcd04f2efb20e257e451a1227a8ec80f153b344b07654dfaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMigrationRecoveryState (cyclomatic 11, cognitive 9): getMigrationRecoveryState 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/sqlite-portability-service.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c728b2cc5bc0564d88789c0432e72fdb1f2075e1f4dc441920a8b797621d3e2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toSqlValue (cyclomatic 11, cognitive 9): toSqlValue 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/sqlite-portability-service.ts"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc677532a7ed7b4846ee3152473ba7a461c77728d054a2fa4f0d10770868606"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOpenClawStepResult (cyclomatic 11, cognitive 9): buildOpenClawStepResult 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/workflow-step-executor.ts"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6128f714f588ad5e897d0b8dcadc064c611d53371d7d117f276735461441f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePublicationAuthorityLocked (cyclomatic 11, cognitive 9): resolvePublicationAuthorityLocked 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/worktree-service.ts"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db4681dedee4cbfc5f58bd12d2722211813877ee0b91da8dd35f4fcd3018d8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRevisionValue (cyclomatic 11, cognitive 9): parseRevisionValue 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/utils/concurrency.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e912c448e1a58253dfddbce6a79aa4ba1dbbbc6957f980999dacff768af459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SortableListItem (cyclomatic 11, cognitive 9): SortableListItem 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":"web/src/components/settings/SortableListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b7b45afa0b160cb8c2085362965319de744b1b48992ec5c7836c12287017a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentHostPreviewPanel (cyclomatic 11, cognitive 9): AgentHostPreviewPanel 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":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c197f9a0b6b9346fb04aa16d45f24b078cc46c550d8ee19450eb05de5a629"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/clawdbot-agent-service.ts: 9225 lines of code: server/src/services/clawdbot-agent-service.ts has 9225 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c747c2b654d3478372f94b373092f9ef529e76d63086f2198ea2dd3507bbadaa"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/AgentsTab.tsx: 2987 lines of code: web/src/components/settings/tabs/AgentsTab.tsx has 2987 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/AgentsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b529dc647714351e3a6f57d45e854959b9f552d860f495e4f96d37c105d61f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workflow-run-service.ts: 2639 lines of code: server/src/services/workflow-run-service.ts has 2639 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2046506df01bb481699276f743130e8a7fd7731290fdda176fae8fe1ab6d8c9e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/communication-adapter-service.ts: 2333 lines of code: server/src/services/communication-adapter-service.ts has 2333 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/communication-adapter-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"641fe0b26d65c3b839b04d01469517403968fc1af7a0fb24150584505f38a484"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/knowledge-collection-service.ts: 2202 lines of code: server/src/services/knowledge-collection-service.ts has 2202 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/knowledge-collection-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"228df2b7eb602ab5eeb2836d7f1d5ec477f918af7502053ea4969a7820ac1410"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/admission-control-service.ts: 2177 lines of code: server/src/services/admission-control-service.ts has 2177 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca3b8acef2691d50ffdc95aa534916e205aa6fb16480e023818fbbb70c815bc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/sqlite-portability-service.ts: 2078 lines of code: server/src/services/sqlite-portability-service.ts has 2078 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd577fbf45eee25ada54254768c56873e130a63214370329e0456c55795d2028"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workflow-step-executor.ts: 2036 lines of code: server/src/services/workflow-step-executor.ts has 2036 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-step-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff7f09e3e9c6dbc8de4d842d78b6f81e3a5e5c853d09d4d0837ca32eb9eeba6"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/task-service.ts: 2011 lines of code: server/src/services/task-service.ts has 2011 significant lines (blank lines excluded), over the 400-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-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0207d927424b9f1be78ef26e0d8b7087f93695f6b19d91a762f9979a57778e4f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/worktree-service.ts: 1953 lines of code: server/src/services/worktree-service.ts has 1953 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e4d5650864ff766841445f136727588bba226d9d1ce8f71a30fa7e61e97472"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/workspace-checkpoint-repository.ts: 1943 lines of code: server/src/storage/workspace-checkpoint-repository.ts has 1943 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919f147246cb542248468c6d812e6aee60a5453275fed0dcf466f760a6568d98"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workflow-authoring-service.ts: 1833 lines of code: server/src/services/workflow-authoring-service.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/services/workflow-authoring-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f6de3e89d8baf1904e802036c60961941f0d8c852e403cc4ca2b2a5eac9114"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/tasks.ts: 1799 lines of code: server/src/routes/tasks.ts has 1799 significant lines (blank lines excluded), over the 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/tasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329c3d343d40e2cbe8010ae9c5d7e289f126dd65e383da41d168faefe993e2f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-control-plane-service.ts: 1753 lines of code: server/src/services/tool-control-plane-service.ts has 1753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-control-plane-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841b133cfb8a26c18caca16341db9a21feae616f49249e9d23642fd04366bb76"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/AgentRunTimelinePanel.tsx: 1735 lines of code: web/src/components/task/AgentRunTimelinePanel.tsx has 1735 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentRunTimelinePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e332f7f21ee2d0961b5127ece738eeea24b36169817f9420d357bb9a60b99ae8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/credential-broker-service.ts: 1614 lines of code: server/src/services/credential-broker-service.ts has 1614 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/credential-broker-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176dfef19c0b05cf82cd4acb21d17935cb19416c0cfa96063f3a4bede2dffc18"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/migrations.ts: 1477 lines of code: server/src/storage/sqlite/migrations.ts has 1477 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/migrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d26a605320bc2eaf1dda6a6d1268cacf467e625da608132823771338aa6e5ff"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/workflows/WorkflowAuthoringPanel.tsx: 1464 lines of code: web/src/components/workflows/WorkflowAuthoringPanel.tsx has 1464 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowAuthoringPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bb396bd0fcb8704137ba8f0755e5681ae58bc04db99c17c6024f5a29f3b4e0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/buzz-definition-import-service.ts: 1352 lines of code: server/src/services/buzz-definition-import-service.ts has 1352 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-definition-import-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3f85fb6ab9791ad10a28899f9dedda4df5325379616615e07b2d7696a13a02"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/queue-intake-monitor-service.ts: 1337 lines of code: server/src/services/queue-intake-monitor-service.ts has 1337 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/queue-intake-monitor-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cbb4f8f86d481a49d4c3a3473d0962690730207f63786fa5c8720f4da44017"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/search-service.ts: 1316 lines of code: server/src/services/search-service.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/search-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c206a6fd0fecfdbb1ddee7ec46cdd29c16489f37c7f3e90937fa710402545fe"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/server.ts: 1263 lines of code: server/src/server.ts has 1263 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"303ccbe600e72cd3dfbc1e12e46bea511420836a881a04b6455103217e242d20"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-launch-compiler.ts: 1209 lines of code: server/src/services/run-launch-compiler.ts has 1209 significant lines (blank lines excluded), over the 400-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-launch-compiler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06766f4e4ee1d0e53adb0afa51c8b23c7c8f454db2dbf8404299cee0ff090ff"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/MultiUserTab.tsx: 1206 lines of code: web/src/components/settings/tabs/MultiUserTab.tsx has 1206 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/MultiUserTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86528828830931d2550e3290d1000d17e516eb7b5c48b3451154ec7f98499d68"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/agents.ts: 1188 lines of code: cli/src/commands/agents.ts has 1188 significant lines (blank lines excluded), 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/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"236cfe3e22d54cc8c47a74df49fac15c75d6c57d7ea6f467974257a920ea54f0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-terminal-service.ts: 1164 lines of code: server/src/services/run-terminal-service.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/run-terminal-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"159928d7dcb5799318ddb441dbe19741db073c1546759d15cc80091cb0c95c15"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/agents.ts: 1134 lines of code: server/src/routes/agents.ts has 1134 significant lines (blank lines excluded), over the 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":"ddcf33523bdb04b43f25b5b1efe96a222e31b0f71577cef2068b04c520ab3424"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/automation-draft-service.ts: 1110 lines of code: server/src/services/automation-draft-service.ts has 1110 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b024db4b35789798a29d0aca77ba21abe3c3a228548efe577e80dfebe3fa80d3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/journal-maintenance-service.ts: 1110 lines of code: server/src/storage/sqlite/journal-maintenance-service.ts has 1110 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e534ec2cf32d4b623f2433848e4c72d63a64a48b6bcfb037a3f816c15f57bc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/automation-activation-service.ts: 1088 lines of code: server/src/services/automation-activation-service.ts has 1088 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d751949b60b16e669d5a421e88ea561e16efb6847bbcf4f207b19d9f7530cb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/knowledge-collection-repository.ts: 1088 lines of code: server/src/storage/knowledge-collection-repository.ts has 1088 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"121d2d5b7d9e92ae68aef91ff5795b8620d329b046867aa2d31577a3bffe01a2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/dashboard/NeedsAttentionQueue.tsx: 1086 lines of code: web/src/components/dashboard/NeedsAttentionQueue.tsx has 1086 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9bd3fa1302b2ffcf681b42d2328f84edeb95c54f65f524cbf8ed2fe46b1637"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/skill-security-service.ts: 1081 lines of code: server/src/services/skill-security-service.ts has 1081 significant lines (blank lines excluded), over the 400-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-security-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4cb480e01102a858260c76e3e947e07ba6bff8eeb46276b2438a104be0a5e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/filesystem-sandbox-service.ts: 1076 lines of code: server/src/services/filesystem-sandbox-service.ts has 1076 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/filesystem-sandbox-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c8fa7b9fd356c1fd0141a6513e5fe0a43e7887bd45f6a15692692d4e16783d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/digest-service.ts: 1072 lines of code: server/src/services/digest-service.ts has 1072 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/digest-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"634bdfd36e0848f8f2933d86a55e3cf3c88038131f7a253075394b2c0d48ca31"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/TaskWorkView.tsx: 1061 lines of code: web/src/components/task/TaskWorkView.tsx has 1061 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskWorkView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c5c3aabb53349031d0bccf32db7ea52fc4f6e9ace0c9b1d5910493a18fccc1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-egress-gateway-service.ts: 1040 lines of code: server/src/services/run-egress-gateway-service.ts has 1040 significant lines (blank lines excluded), over the 400-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-egress-gateway-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d547d9e6289e6e49e815db2b0d24287395b79730ae30b559463393898264f2d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/scheduler-service.ts: 996 lines of code: server/src/services/scheduler-service.ts has 996 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scheduler-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61188e46f86ca12d7da32b503e27718c8fdc53ab99708c3137433f7c179f75b0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/policies/PolicyManager.tsx: 979 lines of code: web/src/components/policies/PolicyManager.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":"web/src/components/policies/PolicyManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"524a8012ef8e1d73f7b3faebcebbc2e51a92309cf319a587210a682507a8e503"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/middleware/auth.ts: 970 lines of code: server/src/middleware/auth.ts has 970 significant lines (blank lines excluded), over the 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":"9248759b11c36fe2bbcbe72c7f2713e1cfbe5c9623ce0f207b9c9844033a22b3"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/digest/AdmissionQueuePanel.tsx: 962 lines of code: web/src/components/digest/AdmissionQueuePanel.tsx has 962 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/AdmissionQueuePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1ea277535217f8c8024ac0b6f9408ff2ddf6cdbc2dea9d280fc2d1c096d336"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/acp-stdio-adapter.ts: 954 lines of code: server/src/services/acp-stdio-adapter.ts has 954 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf59b37f7134080874d585234815d8f7b7282a4b2f6540678a1469f23c04e296"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/doctor.ts: 936 lines of code: cli/src/commands/doctor.ts has 936 significant lines (blank lines excluded), 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/doctor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e65fb4c326acc7d4871470125a6cf78a3cfe10df25fad8dfa36ee41657133a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/auth.ts: 936 lines of code: server/src/routes/auth.ts has 936 significant lines (blank lines excluded), over the 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/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b9a1f5f095342b081871655d9cff197eeb48ae1c7fb1bf319b478e073823c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/work-product-service.ts: 935 lines of code: server/src/services/work-product-service.ts has 935 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-product-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40c54b798d9c5417e693fd7fa18f008b38be2e89b79410fffd8d454f7ded4b7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/external-tracker-service.ts: 931 lines of code: server/src/services/external-tracker-service.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/external-tracker-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"541bef8c3f19325ff6fcdc184d34a8705db04eca495143ca3dbf0e22d71dea2f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/schemas/knowledge-collection-schemas.ts: 910 lines of code: server/src/schemas/knowledge-collection-schemas.ts 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":"server/src/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf157aae80f40605dce9667b4821d05c1b9ef7684e45df370da91a80588c972"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/codex-app-server-adapter.ts: 901 lines of code: server/src/services/codex-app-server-adapter.ts has 901 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-app-server-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7202812bf693282deb4d847c94fc72a9609750096c958d9783e201a508bf1b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/scoring/ScoringProfiles.tsx: 884 lines of code: web/src/components/scoring/ScoringProfiles.tsx has 884 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2135318b9a27b52619a8d82af89aa7092487c05c36112899e2ba10818c3df48d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/SettingsDialog.tsx: 881 lines of code: web/src/components/settings/SettingsDialog.tsx 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":"web/src/components/settings/SettingsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db8abceda1eb7c7822bf1e4f03bd4a53b790e0046d48c22546d227bb69fdc5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-recovery-coordinator.ts: 862 lines of code: server/src/services/run-recovery-coordinator.ts has 862 significant lines (blank lines excluded), over the 400-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-recovery-coordinator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1756422443de3d3ed53e1ce7f80f5730781fbd034da6f3436eaea0d9125a0067"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/buzz-compatibility-service.ts: 858 lines of code: server/src/services/buzz-compatibility-service.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/buzz-compatibility-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e071b3ca0787a886d0d9f9ff3fb86f0f553ed5aa13f9a3abd923b0bef849a7a4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/maintenance-service.ts: 855 lines of code: server/src/services/maintenance-service.ts has 855 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/maintenance-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f998465d0938d32b69e50cc5d27e5cbf033ebfcf1228014ff34eea3828defd61"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/task-envelope-service.ts: 834 lines of code: server/src/services/task-envelope-service.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":"server/src/services/task-envelope-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce54e5c3b73aa194334a64b54ebe13d94aed3ac7b1d370cf0e4b236449f92f"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/shared/desktop-bridge-contracts.ts: 820 lines of code: desktop/src/shared/desktop-bridge-contracts.ts has 820 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/shared/desktop-bridge-contracts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef1dc1bc8f7919e3cf1128455bf6f468572862998ef6e8125ba241ee3e1e446"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/knowledge-collection-repository.ts: 820 lines of code: server/src/storage/sqlite/knowledge-collection-repository.ts has 820 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/knowledge-collection-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8191b4e47e87dcb473e1fec287bac7770d6fee83da6e09b4c9d13e5de75b8113"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/metrics/dashboard-metrics.ts: 818 lines of code: server/src/services/metrics/dashboard-metrics.ts has 818 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71272e4d01f569a19d09cd9ce98396fa4802693a4fc66781f973efeaad0694b3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-access-summary-service.ts: 813 lines of code: server/src/services/run-access-summary-service.ts has 813 significant lines (blank lines excluded), over the 400-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-access-summary-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c0eb3961d37c2c0579a19bd9ca05f727b2f81c0e5bfa943403256dee3dc02f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/device-session-service.ts: 801 lines of code: server/src/services/device-session-service.ts has 801 significant lines (blank lines excluded), over the 400-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-session-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ce84cb9be530b3d7b8863cf6015bfb8a708d5c49acc6ad3f346cc4cc196bc7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/digest/OperationsDigestPage.tsx: 797 lines of code: web/src/components/digest/OperationsDigestPage.tsx has 797 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/digest/OperationsDigestPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6a1026a5c2f9c9f6e960277b7cdd73c225e9781aadbf710b8a8d8e7d0ae8ba"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/acp.ts: 793 lines of code: cli/src/commands/acp.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":"cli/src/commands/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a33c6b684688965da22ee51916fc5cdbce4d5dd1018af65217eebb5b326ef0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/TaskCard.tsx: 793 lines of code: web/src/components/task/TaskCard.tsx has 793 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f76ecacbacc27964daa7e4db0686e3484522ad721faffccb770a2a71b1b314e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-host-service.ts: 791 lines of code: server/src/services/agent-host-service.ts 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":"server/src/services/agent-host-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa402d383d89661dea4cbeb5ddce41a31a2ef5ef9a8494197effcb684a5ffb1"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/hooks/useTasks.ts: 791 lines of code: web/src/hooks/useTasks.ts 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":"web/src/hooks/useTasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df1d1716a62fefe5f9105db15e5bd9fdfc117a16f2a350c63f8e6c55ff3da32"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/work-product-artifact-preview-service.ts: 790 lines of code: server/src/services/work-product-artifact-preview-service.ts has 790 significant lines (blank lines excluded), over the 400-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-product-artifact-preview-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af5d7339089edca9e37d10bbbd84d0da7ef45cf7ba3afadde68b65011d94051"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/sandbox-policy-service.ts: 781 lines of code: server/src/services/sandbox-policy-service.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":"server/src/services/sandbox-policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0d0cff9d537416c5074aa2afaa5ec592780e0f58f0693025eab7228e312f6"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/board/KanbanBoard.tsx: 770 lines of code: web/src/components/board/KanbanBoard.tsx 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":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34a225b9768f6f430befb9757bb9d179c3166e0567d1ba8e8c76c085cc9e110"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/chat/SquadChatPanel.tsx: 770 lines of code: web/src/components/chat/SquadChatPanel.tsx 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":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aae9056a490f07c496c3116e5417feb47f7506ff5f19c28bdf411a7ed32465e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-routing-service.ts: 769 lines of code: server/src/services/agent-routing-service.ts 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":"server/src/services/agent-routing-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02679486db3e7b6d4e2fcc8a0aab284703a2041381021d9dc5e7450e0ec4f78d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-launch-manifest-service.ts: 760 lines of code: server/src/services/run-launch-manifest-service.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":"server/src/services/run-launch-manifest-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489b3c1108720b6ea1652a869c0a837b47d3d41aa26df49584766e2c2a77efe2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-supervisor-service.ts: 752 lines of code: server/src/services/run-supervisor-service.ts has 752 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-supervisor-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ecce24b273e14b555dbd255816a42ac4596c1955616d5f2054b72cd67f3e99"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/layout/Header.tsx: 750 lines of code: web/src/components/layout/Header.tsx 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":"web/src/components/layout/Header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c657423da36eb82cc8e0a463b774419364811a710e841e3877806d615e1ae3a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/NotificationsTab.tsx: 747 lines of code: web/src/components/settings/tabs/NotificationsTab.tsx has 747 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5351cdaa6b4799555a16672fad5cfdeddfd07250cfc1c0eb821bbee73fa67e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/workspace-execution-trust-repository.ts: 737 lines of code: server/src/storage/workspace-execution-trust-repository.ts has 737 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76186c03b6bb8841c3a5208d44755b17a5ccfbc946ee5628075f45df2b84f5dc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/AgentPanel.tsx: 735 lines of code: web/src/components/task/AgentPanel.tsx has 735 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"282c9e82e050993a9b72b7051fef44fda4bebabc0e22897352a29795909faa31"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/workflows.ts: 720 lines of code: server/src/routes/workflows.ts has 720 significant lines (blank lines excluded), over the 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/workflows.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0956dd2309f92de2609ab3da41375b08df504beb07c9785997ed34db3d3e493"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/workflows/WorkflowRunView.tsx: 706 lines of code: web/src/components/workflows/WorkflowRunView.tsx has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowRunView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cfc67ae24e274b2648280469dbe30aa5a5964117aba53b706e961a45c331fc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/reflection-service.ts: 704 lines of code: server/src/services/reflection-service.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/reflection-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6305e3bf5312f67f101478b8b9c78f2c1e7307693175c2b05ccc3d8e89db081"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/auth/DesktopOnboarding.tsx: 685 lines of code: web/src/components/auth/DesktopOnboarding.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":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11daebdab6cfb3b0b630ae9edc2afcbf99f83c3bf51c7c244107a52e547f8b11"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/utils/filesystem-sandbox-runtime.ts: 680 lines of code: server/src/utils/filesystem-sandbox-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":"server/src/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2023e58bd1cb9f61aadf4c44021f41b92989e7bf67a906ae7d8ef67e7f9b297"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/CreateTaskDialog.tsx: 679 lines of code: web/src/components/task/CreateTaskDialog.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":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7088a8d8519ecfba5995f08c42abbed5b3b46ddee5bd09643192fe5c1c5740d4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/durable-goal-supervisor-service.ts: 678 lines of code: server/src/services/durable-goal-supervisor-service.ts has 678 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/durable-goal-supervisor-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a317c6c8128b0761d712e9a3e5701475467ef93e08460665e92026621fea9b4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/evidence-timeline-service.ts: 664 lines of code: server/src/services/evidence-timeline-service.ts has 664 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/evidence-timeline-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e461d372dd4fccca2d9d3703bc7c4b62fdcf320d03ff671362e042a3bed1e488"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-registry-service.ts: 663 lines of code: server/src/services/agent-registry-service.ts has 663 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-registry-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba41fde636583626ea7d13c3008d91056778c25fa298af8cea76773f109e62f9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/governance-repositories.ts: 663 lines of code: server/src/storage/sqlite/governance-repositories.ts has 663 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/governance-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13505ca49e08b02bdb9618478047a58341b568e24d3498178c1d64ae69cbfc00"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/skill-capability-service.ts: 661 lines of code: server/src/services/skill-capability-service.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/skill-capability-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0cb7674874f87c6170c7bdfd977acdfa2f037fdd589783f80842c3587f14fb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/schemas/admission-control-schemas.ts: 640 lines of code: server/src/schemas/admission-control-schemas.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/schemas/admission-control-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95ce636545e3ae26a74188ce115df67e3b0bcda3d85bb77a318ed2ff35a2518"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/admission-reservation-repository.ts: 639 lines of code: server/src/storage/sqlite/admission-reservation-repository.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/admission-reservation-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c87b806263ba108173961110c7279361bed7b1824482f45a0cf358bf3b553c1"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/snapshot.ts: 636 lines of code: cli/src/commands/snapshot.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":"cli/src/commands/snapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fed6b0b2cb344e0caf17d7530ee9d88481953e911aeff0b9de803bfdd810d63"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/outbound-integration-service.ts: 634 lines of code: server/src/services/outbound-integration-service.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/services/outbound-integration-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e70e301070c1e879840c95b861f6682f482f13dec72553534249166057d70"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/policy-service.ts: 634 lines of code: server/src/services/policy-service.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/services/policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1738459c33602c1aa6f421d7c7ebc5a44ec06152e11f5d55942b93c0b9e16999"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/identity-repository.ts: 633 lines of code: server/src/storage/sqlite/identity-repository.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":"server/src/storage/sqlite/identity-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea7812c42462e718dbff44a66c5c8a761d1c84da15339844f89cc8cc17675fb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/scoring-service.ts: 624 lines of code: server/src/services/scoring-service.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/scoring-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4a4eac17933868d3afbd6115b071508d9f7786d32aed49c0afc6cabfc3e182"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/admission-reservation-repository.ts: 622 lines of code: server/src/storage/admission-reservation-repository.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/storage/admission-reservation-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f543f06cea693f7188079e9875a07b7d489b45d79a696f91706dc40eb27bd5f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/github-service.ts: 617 lines of code: server/src/services/github-service.ts has 617 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b61e15c33b44bb9309b6ccfedde2b87338dc8424666e1c4147e6bfbc3a7cb18"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/schemas/run-launch-manifest-schemas.ts: 613 lines of code: server/src/schemas/run-launch-manifest-schemas.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":"server/src/schemas/run-launch-manifest-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3d630b8d6a28649f9addc0b55a34461172bbca9c336bfd93c9c93e27430cc0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/RunSessionSharesSection.tsx: 610 lines of code: web/src/components/task/RunSessionSharesSection.tsx has 610 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/RunSessionSharesSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eec199c1d81262d63107a58e4d5c4c34911fe48b611b58f20b319fc4b05fa2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/work-product-artifact-service.ts: 603 lines of code: server/src/services/work-product-artifact-service.ts has 603 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-product-artifact-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc55c46c9bfe27f4edf3aefee9e7963e3833b877aa164fb99caf154776fb5120"}},{"ruleId":"R3","level":"warning","message":{"text":"shared/src/types/config.types.ts: 603 lines of code: shared/src/types/config.types.ts has 603 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/types/config.types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365fbb56d0e81501239dde3860acdbfef37f94ce180a4afe3e78e666100792ec"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-service.ts: 601 lines of code: server/src/services/chat-service.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/chat-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d83ce3f3cc4aa4a019e2ac560ece65054b11ee0932bc31936cd35abd3a4e0b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/openclaw-workflow-adapter.ts: 601 lines of code: server/src/services/openclaw-workflow-adapter.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/openclaw-workflow-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d36a637bdb1db9b67855fde3be37a9e3c7967cce94e3f385d269c68591ed0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/MaintenanceTab.tsx: 593 lines of code: web/src/components/settings/tabs/MaintenanceTab.tsx 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":"web/src/components/settings/tabs/MaintenanceTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edecebe8a4f83ce5fdee046f044edeb5a850c459d382f45b174e48413cabad7b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/config-service.ts: 592 lines of code: server/src/services/config-service.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/config-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9750c8fd1cf0b7e447a1b93b9d358f96af72ccfc4436b49523834118862b8d5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/DecisionReviewSessionsSection.tsx: 591 lines of code: web/src/components/task/DecisionReviewSessionsSection.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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c222b4fb23ffb1d2166f6e6dc81c2c7368fe407989f634ec40ae1dd0875005d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-approval-broker-service.ts: 588 lines of code: server/src/services/run-approval-broker-service.ts has 588 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-approval-broker-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b054237e71737435120e1f10ea8bec4969b83f2ece6c9d0ebce1d2eb4a48eb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/feedback/FeedbackPanel.tsx: 575 lines of code: web/src/components/feedback/FeedbackPanel.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":"web/src/components/feedback/FeedbackPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba56b1a29e527d6a3c0a252afb9e2f8ea27bbf8055ac60bd2e69c5de6ca4c93"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-policy-service.ts: 572 lines of code: server/src/services/tool-policy-service.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-policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3ff039d3f43f4cec26648c2f82df445143b1c21ca309ee32c230f21af6f22e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/WorkProductsSection.tsx: 571 lines of code: web/src/components/task/WorkProductsSection.tsx has 571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/WorkProductsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363c230792061477c98bc84b18fa9ac0c42c8dd76ab237077f5714206bdc751"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/time/TimeBreakdownPage.tsx: 571 lines of code: web/src/components/time/TimeBreakdownPage.tsx has 571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/time/TimeBreakdownPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4decd47d7072198ee0379637a57c18d3346492e9bc61b15191f56bc6519280dd"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/TaskDetailPanel.tsx: 555 lines of code: web/src/components/task/TaskDetailPanel.tsx has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TaskDetailPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7ebdc9bce6814c1b2ebd2f7ab993dee09628478ab4b1795d8db9c74587579b"}},{"ruleId":"R3","level":"warning","message":{"text":"shared/src/utils/api-permissions.ts: 553 lines of code: shared/src/utils/api-permissions.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":"shared/src/utils/api-permissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca94b3ab26a317035183c1d356561fd228a56ac3753482d8a9a52a0b178dc62b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/progress-watchdog-service.ts: 548 lines of code: server/src/services/progress-watchdog-service.ts has 548 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/progress-watchdog-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f06992e1a1272573c7d3579d5b702075fef43cbd5a0c8495d92435196f2b03e"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/prompts.ts: 547 lines of code: cli/src/commands/prompts.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":"cli/src/commands/prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2c741e8e525479f62bb11a1389f0d50c830d6934089f228b25c4e66b7edf6b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/integrations.ts: 543 lines of code: server/src/routes/integrations.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/routes/integrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"646d83ddb36863eddc8bb826aa80d0d45dd69fcf80ef58a4ca62e9a9b171d1b2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/device-session-repository.ts: 538 lines of code: server/src/storage/sqlite/device-session-repository.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/storage/sqlite/device-session-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc7682062a5a2d6d82c5f1b6d992b90d57daa4f1f8e1d660fae4129c7d52ec6"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/SchedulerTab.tsx: 538 lines of code: web/src/components/settings/tabs/SchedulerTab.tsx 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":"web/src/components/settings/tabs/SchedulerTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3383ecc3f00385b911c758a6878c98fd6d447629e6ee740d07f12650a4dd0e53"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/workflows/WorkflowDetailView.tsx: 537 lines of code: web/src/components/workflows/WorkflowDetailView.tsx has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDetailView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241091aa3bc8154fe5669eb50d458d1f391aaccfd007570f0cbbe91edd674bad"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/harness-support-profile-registry.ts: 536 lines of code: server/src/services/harness-support-profile-registry.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/harness-support-profile-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb469e259f8477a4cd8c0a53383f6c8214fe50608f3c5e866937c52490a4f23"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/telemetry-service.ts: 535 lines of code: server/src/services/telemetry-service.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/telemetry-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ed0746ec6010abb7bf8b014cf36fe668f1e961a6e9b75783d4f3038d18418"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/session-template-service.ts: 531 lines of code: server/src/services/session-template-service.ts has 531 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/session-template-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee133439e23f02b01cad0fda9355a2a52a8ba355380ab7aedf659d82704bebb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/database.ts: 528 lines of code: server/src/storage/sqlite/database.ts 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":"server/src/storage/sqlite/database.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf32c0de64422946ad43518d74e77571e029b22617043d448caba9daae2085bb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-file-execution-policy-service.ts: 524 lines of code: server/src/services/run-file-execution-policy-service.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":"server/src/services/run-file-execution-policy-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d27ae25921c051a267bd8fa125f0a8351908342ac79b77f3b49cee3ec89baf"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/main/index.ts: 523 lines of code: desktop/src/main/index.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":"desktop/src/main/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f790de447787c2917e142754af9aac30d9d0854b0ffb309b2ce765552c891c5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/file-storage.ts: 523 lines of code: server/src/storage/file-storage.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/storage/file-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"873641e2b15a09a3b44ba10b872285c48d3d9335bc1e778c8188e9a97706c2a1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/interfaces.ts: 522 lines of code: server/src/storage/interfaces.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/storage/interfaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16447d8589f1a9fb2fab398e453353d8e1895d9bf932107d947147783125316c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/ApplyTemplateDialog.tsx: 521 lines of code: web/src/components/task/ApplyTemplateDialog.tsx has 521 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca7d79185f4105f9ff3342f3a0cb5942a292af851b412cea7d6709aee7bc4ff"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/pdf-report-service.ts: 513 lines of code: server/src/services/pdf-report-service.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/pdf-report-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"225243488c348074265c3ac6f0368d4b245e8c6ef2a2cc20e1e8e344e01d58b0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/summary-service.ts: 513 lines of code: server/src/services/summary-service.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/summary-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff97b37303e787aa2324640322a20478c2ba3686c37f9458a1d541855f48a0a"}},{"ruleId":"R3","level":"warning","message":{"text":"shared/src/types/task.types.ts: 512 lines of code: shared/src/types/task.types.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":"shared/src/types/task.types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaed6908ca0f83489ca1ccc040151b09acc6f6f68639646956435d058b3164f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/context-provider-health-service.ts: 506 lines of code: server/src/services/context-provider-health-service.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":"server/src/services/context-provider-health-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2c18cd195cf5d50251880c50e197e7b4778dae59cd200c3d2ba1c884e551c1"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/drift/DriftMonitor.tsx: 504 lines of code: web/src/components/drift/DriftMonitor.tsx 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":"web/src/components/drift/DriftMonitor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"782eef0a5c2d3e757c47c50d78fbd9fec32ffde9c72d1e15c9e409ef75b9852b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/git/WorktreeStatus.tsx: 500 lines of code: web/src/components/task/git/WorktreeStatus.tsx has 500 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/git/WorktreeStatus.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0cae6d8c472dbb91898d1ce8daa72a6d484b0791cc4ac6b165a1ede43acc53"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/knowledge-integrity-service.ts: 499 lines of code: server/src/services/knowledge-integrity-service.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/knowledge-integrity-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69bbc24b0e821dfe5699d82a67e38c4315b3307766ff71900b77ac9979c2073"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/evidence/EvidenceTimelinePanel.tsx: 499 lines of code: web/src/components/evidence/EvidenceTimelinePanel.tsx has 499 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/evidence/EvidenceTimelinePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9740d94895b1f3c687416f12304cfb2a41f54205abe334e21b79c462ebdaee9"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx: 496 lines of code: web/src/components/settings/tabs/BuzzConnectionPanel.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":"web/src/components/settings/tabs/BuzzConnectionPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17615ac4697c8ec79afbff3081f50d117df70ccbca236cd27bdef7d3594f2fc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/ConflictResolver.tsx: 494 lines of code: web/src/components/task/ConflictResolver.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":"web/src/components/task/ConflictResolver.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb7c2981b3984def8767f8d2580584efdda991bd3cfad8b301212ec9d6a265"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/claude-code-adapter.ts: 493 lines of code: server/src/services/claude-code-adapter.ts has 493 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/claude-code-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bcb3adafe04b8fb5afee4673dae3665ddc278436ab6ce2ffb3715c00dbfdcb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-file-provenance-service.ts: 492 lines of code: server/src/services/run-file-provenance-service.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/run-file-provenance-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5fa9acb30ba2d2df69b13c722a472834a4092605795ed3fa4a327dd0bdb7f4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/archive/ArchivePage.tsx: 492 lines of code: web/src/components/archive/ArchivePage.tsx has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb7d7aa10f01bd0dcdc364602f9ea3d4dc94006a13c08219ea66e3b3797360e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-capability-service.ts: 484 lines of code: server/src/services/workspace-capability-service.ts has 484 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-capability-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1adba8ae23c2d09adb798c133cf14e0a6edcc26208907667c97d64238adf0b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/layout/CommandPalette.tsx: 483 lines of code: web/src/components/layout/CommandPalette.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":"web/src/components/layout/CommandPalette.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3556dd1d687926522bcc60ee4d4ed31f3d1914fa310ddc9398608e8d67c2c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/task-file-repository.ts: 482 lines of code: server/src/storage/task-file-repository.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/storage/task-file-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fa91e4a85cf9e075b4a8be4df1f6e4727f44d0750a1fcb3c8743f563737931"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/dashboard/DashboardPage.tsx: 480 lines of code: web/src/components/dashboard/DashboardPage.tsx 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":"web/src/components/dashboard/DashboardPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f82e5f30f285110234e6527479d2bb32458e36706725779fd45c47a6410d14d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/dashboard/Dashboard.tsx: 479 lines of code: web/src/components/dashboard/Dashboard.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":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fabe122656e7f406e7f510f2926b447a3b04bfb880b9f21823c561fb6ff13e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/phase-transition-service.ts: 478 lines of code: server/src/services/phase-transition-service.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/services/phase-transition-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"935056be5591fad86364030e008797377a57782a1c6e713e4cd0821f589aa006"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/utils/url-validation.ts: 474 lines of code: server/src/utils/url-validation.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/utils/url-validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bf1ab47831cc1049b6b2dce2b06e8c3f89bcaba95b940923568ac5a5917aaa"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/prompt-registry-service.ts: 470 lines of code: server/src/services/prompt-registry-service.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/prompt-registry-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b07a37e23800df69256cb469fccaf40f7da900f0c4836e09efce42182bcc4a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/TaskMetricsPanel.tsx: 467 lines of code: web/src/components/task/TaskMetricsPanel.tsx 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":"web/src/components/task/TaskMetricsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9c955dfb85e11ad9c9ab97a8dd94d548dca1778080f775b1f96c7256627e76"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/append-activity-repository.ts: 466 lines of code: server/src/storage/append-activity-repository.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/storage/append-activity-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c330a45e0a66dece0462308eec8de31363de3ab83d18e6c95a2e17e06b37049f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/provider-completion-service.ts: 465 lines of code: server/src/services/provider-completion-service.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/provider-completion-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1d3851a876f2af281b54b847abe05e65711c0ffc9be49194daf3014dbc967f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/durable-goal-service.ts: 464 lines of code: server/src/services/durable-goal-service.ts 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":"server/src/services/durable-goal-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af38bf88093b3de19d2f40ac08e2a93ef77fa727fcf04ce1a4de6360a2c981b8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/chat.ts: 463 lines of code: server/src/routes/chat.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/routes/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b91a1c0336ec6fcd2907616c2e1a849c2df8fd6a49d18641dd00fa47c514c7b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/schemas/feature-settings-schema.ts: 463 lines of code: server/src/schemas/feature-settings-schema.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/schemas/feature-settings-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c814ee8ea0dce8b9d60dd64ee0d414d24b56fbb5c1957a9ea7fa821c0988b18b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/buzz-communication-service.ts: 463 lines of code: server/src/services/buzz-communication-service.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/buzz-communication-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c12b3439ced9e53024546293068e64590c903464c4164bfc170a5f858e9c0b1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-session-share-service.ts: 462 lines of code: server/src/services/run-session-share-service.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/run-session-share-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71188cdc572d965bbce80eef898136b9ec35d628406c50889b1b4ee86c7a9f4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/board/FilterBar.tsx: 462 lines of code: web/src/components/board/FilterBar.tsx 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":"web/src/components/board/FilterBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"295a4ba3744ec471daa5e77855932833a0cc412c2bd0596053e5d782fb9b96c3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/decision-review-service.ts: 460 lines of code: server/src/services/decision-review-service.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":"server/src/services/decision-review-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a081b274ab3487c4ff5053029f6ed17b1e9adf829e0c8073cb8e3f51f6f7e7de"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/board/BoardSidebar.tsx: 460 lines of code: web/src/components/board/BoardSidebar.tsx has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ae8272289279f5bf9e64419a696d496aefe33660d3b09090b10f3f173cc2f7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/chat-repository.ts: 459 lines of code: server/src/storage/chat-repository.ts has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/chat-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee01bd6cbf0dcf70f36020aca6fb2a3a6793ebec175a0f2f3aa663c7e5e700fa"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/hooks/useBoardDragDrop.ts: 458 lines of code: web/src/hooks/useBoardDragDrop.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":"web/src/hooks/useBoardDragDrop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a4584479aa918a1d8be0bda49f454ae748e98943b55afc68f7d96f6bc70a9c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/shared/AgentStatusIndicator.tsx: 454 lines of code: web/src/components/shared/AgentStatusIndicator.tsx has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/shared/AgentStatusIndicator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"666a83d276625b692d2f68e49c92edfa207ae1a06702dc9ddbcd89d742e01598"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/data-lifecycle-policy.ts: 453 lines of code: server/src/services/data-lifecycle-policy.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/data-lifecycle-policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8e0e2ef3364da66c9ac535f9c91ba3680706c6d58e0f2bc126ec09c4307ce"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/DeliverablesSection.tsx: 449 lines of code: web/src/components/task/DeliverablesSection.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":"web/src/components/task/DeliverablesSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fbc9855269e12300ca89562616eae9b8f829a662385fe09e49e54f00705197"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/knowledge-collections.ts: 447 lines of code: server/src/routes/knowledge-collections.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":"server/src/routes/knowledge-collections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a5de1cfa0a5ce57075b2885a0a9e01317d3a7e12139cd0810bc079ed12e6a1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/phase-launch-authority-service.ts: 446 lines of code: server/src/services/phase-launch-authority-service.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/phase-launch-authority-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0eb9c15b382af3272dd0f3f7286e675d77a36a7f7aa97623c85edc46d14d38"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/health.ts: 441 lines of code: server/src/routes/health.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/routes/health.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5d1057a7aa47219c976957bc4b86150e52b3fd13c790cf9a8362bc7652d934"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/lifecycle-hooks-service.ts: 440 lines of code: server/src/services/lifecycle-hooks-service.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/lifecycle-hooks-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b8b0e01841b9e02beefeb32d7681d55f4c2bba0798d0378a8a64a4038f3380"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/workflows/WorkflowsPage.tsx: 439 lines of code: web/src/components/workflows/WorkflowsPage.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":"web/src/components/workflows/WorkflowsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf13cb8ee6b95f1e55504778681f967fdeca41bea01e43e18c1285428e31b8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/broadcast-service.ts: 437 lines of code: server/src/services/broadcast-service.ts 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":"server/src/services/broadcast-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fb521c1ea43d965227f23e8e95872e22d5cccc239990fcf55cae3205dfc1dc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/TrackersTab.tsx: 437 lines of code: web/src/components/settings/tabs/TrackersTab.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":"web/src/components/settings/tabs/TrackersTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eb122986b2f0ff404ac72b1fb59c3eb4b3ed5f8f4d42eca908590f99a726b5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/WorkflowSection.tsx: 435 lines of code: web/src/components/task/WorkflowSection.tsx 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":"web/src/components/task/WorkflowSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"849d28986f6a7a637bca3263073d9109c52d3044e4d57e4ca0ca186e4db437c7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/schemas/task-envelope-schemas.ts: 434 lines of code: server/src/schemas/task-envelope-schemas.ts has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/task-envelope-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed6bc88f903d72a8672c32981ec4f1077a3cd269d2b89337abc39bc5a3bdd0a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/time-breakdown-service.ts: 434 lines of code: server/src/services/time-breakdown-service.ts has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/time-breakdown-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b0a5667048e4a7caf7e8e5f1e0edea958d7e683e7de89d54df0a8ebe11cd76"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/hooks/useAgent.ts: 431 lines of code: web/src/hooks/useAgent.ts has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useAgent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8cb898cdd40e5f994fb064466cac0937950c30c695dab7c33a140a66c2180e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/templates/TemplateEditorDialog.tsx: 430 lines of code: web/src/components/templates/TemplateEditorDialog.tsx 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":"web/src/components/templates/TemplateEditorDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d7adafe5e566e50ad210effec5d1c6bc39f9c4257cbedbf49f4659b7d59707"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/buzz-workflow-trigger-service.ts: 426 lines of code: server/src/services/buzz-workflow-trigger-service.ts has 426 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-workflow-trigger-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f2fb0a418ac274da868a17a592c481b773af4327eb77fe0c0deaeac0eb14ee"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/drift-service.ts: 426 lines of code: server/src/services/drift-service.ts has 426 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/drift-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc0569498f6a9c3a8434920d6f1f6bec2f3885cf8fc1c6033b84e9d0a85412f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/task-repository.ts: 426 lines of code: server/src/storage/sqlite/task-repository.ts has 426 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/task-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1120959005c3c1eb445c7aca098892c1a0ada5dd0220717199ae2cb95b16a454"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/config/security.ts: 423 lines of code: server/src/config/security.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/config/security.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a9b6f41b0bc6c328f5ac4342743c467fab27211777cb6022fe99a4e95c21ac"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/decisions/DecisionExplorer.tsx: 423 lines of code: web/src/components/decisions/DecisionExplorer.tsx has 423 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13708556c20dda05c7a2a776deddc33af88e1415458fd3d4d490c0a65028fac"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/task/RunAccessPanel.tsx: 422 lines of code: web/src/components/task/RunAccessPanel.tsx 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":"web/src/components/task/RunAccessPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11e58d88c1a1df4c63c83aec6395ddd0a5624ef2ce6a1ef7a58abd80f1b942a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/work-product-artifact-repository.ts: 421 lines of code: server/src/storage/work-product-artifact-repository.ts has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/work-product-artifact-repository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f394524a7aae9c287be21b899797f2554f17268ffdb39c11b7372f9c7bb78"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/chat/ChatPanel.tsx: 421 lines of code: web/src/components/chat/ChatPanel.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":"web/src/components/chat/ChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a648593a7bbd5e83558a3bbf3d22418e6c4b3ce92a0f02490e9ef86542bfa9d7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/transition-hooks-service.ts: 419 lines of code: server/src/services/transition-hooks-service.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/transition-hooks-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf460d2b527518d9ac79c108862c528c2f48c3fef8eddf6bb9ece88e72bdaca0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/lib/api/agent.ts: 416 lines of code: web/src/lib/api/agent.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":"web/src/lib/api/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f102a897b17cfb720e7625c8113e12ad29f134804a2038f27b77a0c01f7fee"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/analytics-service.ts: 414 lines of code: server/src/services/analytics-service.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/analytics-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d174e6030e843b5bfae064a11dd957583605515d443dff2f350857534e7144"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/search/SearchDialog.tsx: 411 lines of code: web/src/components/search/SearchDialog.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":"web/src/components/search/SearchDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79780d41965f6c87ee416f5d1e59647287d670dd3e03010c4693d9e49afadd3a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-execution-trust-service.ts: 408 lines of code: server/src/services/workspace-execution-trust-service.ts has 408 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-execution-trust-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e36913a154f33b4b34285631f5a2f5bc7fe4121b326c5081a7ee4585d2386"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/scheduler.ts: 407 lines of code: cli/src/commands/scheduler.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":"cli/src/commands/scheduler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf9766ef5e38a2b8bbaf35b981f08ff0239eba746b9824988fe40db6bb25d73"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/hooks/useIdentity.tsx: 407 lines of code: web/src/hooks/useIdentity.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":"web/src/hooks/useIdentity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e171d588c8e0763ef24a890c8565c60dabf42c6bfad8fc2afde7cbdf4c98f43"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/storage/sqlite/workflow-repositories.ts: 405 lines of code: server/src/storage/sqlite/workflow-repositories.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/storage/sqlite/workflow-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15c07243a49414f922a147c9576019677a7fa7068bb56359adc378ce490d335"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/provider-runtime-adapter-registry.ts: 404 lines of code: server/src/services/provider-runtime-adapter-registry.ts has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-runtime-adapter-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e52d6b077c8064528f14e0f1067ededa6da7c868ddf2ef6943d7d47818f78fa"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/backlog/BacklogPage.tsx: 404 lines of code: web/src/components/backlog/BacklogPage.tsx has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/backlog/BacklogPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aceea776963edfbc032b7b6e9a1a5c31f9ba4129a7a44591377eb7d656fb997"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/tabs/GeneralTab.tsx: 404 lines of code: web/src/components/settings/tabs/GeneralTab.tsx has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/GeneralTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e14f3b5215d44dd38ede9fcb7b474f99a9fcc9a30628cc6d97a84135db1919e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/schemas/phase-capability-schemas.ts: 403 lines of code: server/src/schemas/phase-capability-schemas.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/schemas/phase-capability-schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ad540d6a42b2b872a51ca05b0b63094ec910119a2eef2dc8a975ecd658032d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/scheduled-deliverables-service.ts: 402 lines of code: server/src/services/scheduled-deliverables-service.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":"server/src/services/scheduled-deliverables-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6d98566496781826acfa234d354ca28e280e53109690eecbf035af24d5a2f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/scripts/run-harness-conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90df4917794c169b23403c6f21422aa4f52841e721588a6e7b380a7df4ca88e5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/scripts/reset-password.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec0249cb6f81739eaf489e13bf7601cf66f3eb89b5331fb7ff5891860ef9aa"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~579 LoC): no import path from any entry point (269 application, 61 tooling, 661 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":"shared/src/types/task.types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e5e2ccc2a259af9a625f9d085e27931b78c0f511a43b2f0ff2d91fb7d36603"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (269 application, 61 tooling, 661 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (desktop/scripts/desktop-after-pack.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":"scripts/desktop-after-pack.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc2f4db77358b6d5361f9b737afaf8802bd0ea5a85fe31d5c59ccfab9e6e227"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (269 application, 61 tooling, 661 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/schemas/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb9292c8ae7b8b94c5ae156b56762d8f0b817f93d2bf289e7f23bc475a1736c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (269 application, 61 tooling, 661 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/scripts/desktop-after-pack.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce3811bd3959bd3a82b807d516680a559affb3d64fb534894a3fbc6c39654a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DESKTOP_PROTOCOL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-metadata.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0421d56d34914a40269570be50a657f4f7adeb4f5beed840a1153933faf2b1e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027env\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/config/env.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"992001e015f2339b1e9ffd4fad1c8010108f5cbfddc368d6e7fc7d586b417c6c"}},{"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":"server/src/lib/logger.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"41adcdd4e0bbb1e8f065ee1ddedde501bc2c98b74bc32a2716383110094cf6b2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AgentBudgetPolicyInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/agent-budget-schemas.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d31d0e1e2be6c1bce4a0d42f22697b0992ff265acb7c76bcd8d561e988824ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AgentProfileLaunchBodySchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/agent-profile-package-schemas.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2342843c47bc5c285695c61b09da2070bd9aef27d9c8e402465ef43b645fa87"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StartAgentBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/agent-schemas.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d329a893aa7efd342383eea9f3665de567dcf900ab794edd1285186f42c1cb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CompleteAgentBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/agent-schemas.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d632928a1de24bfa22696067095df6444e418e244ccfabad45a181d98700e163"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ReportTokensBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/agent-schemas.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac3c9828096b4eb03b2535994dfe649c9307f7d087e843ea4e824f5933c482a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AnalyticsError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/analytics-schemas.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca1ca09c5048ffcdbfae5af0c33e2d8fc281903e04b873190750fe506eeb139"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BulkArchiveBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/archive-schemas.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63f3f0696f631a8bd7e92bc0accfbdff116afce2fa64dec889aa0aba0dd7c3f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ChangesQueryInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/changes-schemas.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d1b4f09338f9a791c15d5c9ed01e029c3abc0692fc42fb506aee9dae69ead6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ValidTelemetryEventType\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/common.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"059fa1c655c1e971ba2fc2e623b1072f6683988c9d7d20edf445c72349fd6a1e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ValidMetricsPeriod\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/common.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"11002899b7f834a0fbeba857279b66394223bc3cbdf49c93643b525b5c0b49c6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SetDefaultAgentBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/config-schemas.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8edf716da9b6d2087c17628400fadc0b37c1e87723598252946e00f7d51e28"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ValidateRepoPathBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/config-schemas.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd6e7c642c296d1659935de0a8a46799ac87ff22369434258e47926997ed22e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SetDelegationRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/delegation-schemas.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5236b072a291641813c2f88f5c9f69b0b15e4ad75a6a70c1ed45c43e8f3ae050"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AddDeliverableBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/deliverable-schemas.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb500ecb25ef63b0c4d454c3427f02d9b26656fc26a5d96f8ec0e98a77c02f0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UpdateDeliverableBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/deliverable-schemas.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"716856dfc31fe2fc50338ca38a37937736875f525c305abaf30ef5d66a6c187f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027phaseTransitionResultSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/phase-capability-schemas.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30871308a5d2b8d893e8d28ecd9df0393db349be63e76cb3db41c2ce592a09c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027policyTypeSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/policy-schemas.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96b464a97ec395f6b6b92e86a1d461f1ecb29fb969b452206c82e5eb41731ee"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PolicyInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/policy-schemas.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4203de90763fdac88b711ccab2b37ba3284435a55d726d5ee32ea14cbb97e168"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PolicyEvaluationInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/policy-schemas.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ee5275d2f5453442399271dc9b6e4dabc9fd2545fbb401f3f2e240b176c752"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PolicyParams\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/policy-schemas.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ca91916440a302d77af22a4274e136c97344682318a90216c930d4d2ffdec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CreateRunSessionShareBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"075e24c61c13fe164497faf0328661bbface380d33b6e52cb0eec24e0e2eabf3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RunSessionShareListQuery\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a033a84d39ed09eca06bff99fae90cf7363fc558542c1130caeb64cda574bb4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RunSessionShareParams\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"050e03994c027871379e6586252fc1195d1799cb455f3e78a999501f02fbe06e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UpdateRunSessionShareBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeccf8ed4e3a0f895900516005e2dace8ec33ea7a3693a8be8c61a4be1abedf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RevokeRunSessionShareBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d20e3661ae7f936ebb83ff5663bd9662e46dfc9e5c718aaaaa49b132cf296"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SendRunSessionMessageBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedf551e2462c889af82fdbe1fd825e3213e9ce96a287f49779fd18c5521a1e2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RunSessionApprovalResponseBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b627ef24f0ebed463baa8b4a2ad28da010b44a1127a0498d42e215bf1a08db3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ForkRunSessionBody\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/run-session-schemas.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d2c17296a303d59e492f1d172b8928b62f222041485d6c9f49854f33fe1abf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SandboxPolicyPresetInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/sandbox-policy-schemas.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1a6aa7944d3bdba5793946476c239913fced3eb79cebba9774b0fd081a6a55"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SandboxPolicyDryRunInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/sandbox-policy-schemas.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a661a06e52f0a44489951524084b2d1c06f7ba8397e4ab8d04d00de2add1cea8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ReorderTasksBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/task-mutation-schemas.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"088821acf404f559f1ac5d2a373d94da4c1e4dde2c468fe509ad6f8effe729df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MoveTaskBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/task-mutation-schemas.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d67c71a6e6de431040cc21e3e54fa2a7781e1175ebac23de370756573c6369"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApplyTemplateBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/task-mutation-schemas.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02406c6fcb820337036ac96f77710cd57644567f6a91110bd952b816fb110fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AddTimeEntryBody\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/schemas/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 server/src/schemas/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/time-schemas.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1317d442239f42be998cc6b27daecc5e55f2a46effd4d09c0f1bdd900b13127"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSqlitePathFromEnv\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/index.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44b97d28bf60d0e96fb0185df0a4185490c439c54ed26b872e3e16f385e5e62"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ACTIVE_MEMBERSHIP_STATUS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/identity-repository.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a258d929e1b70ee49b5a0f748c213ca84890f03a7ebb87c146cea26b152c91"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InMemoryWorktreeManifestRepository\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/src/storage/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 server/src/storage/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/worktree-manifest-repository.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0a275014c2d8c17c4744c6c8d6f130a813e417d17b1aaf7e55ea7c0d85f8c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027getArchiveExtractedTextDir\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attachment-service.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ec175ec58054e3a5470e587012d0c6b9eae13e0559df148f5d26bcdde74a42"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027sendToClawdbot\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":2611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4483de9c17c2942545d3ef8a78faadd90d3222df5529143c3d2245ccf67f5c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027WRITE_DEBOUNCE_MS\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/task-service.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc53db220d1907c32c24e9cc8fb78b17fcb3b32608a107ecc393c10fa53b2d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027readEventFile\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/telemetry-service.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b5beac291487daf99e9e4efda936dc0ded0cc483d9739c0c83ee2b0b4d0542"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): server/src/services/automation-activation-service.ts \u2192 server/src/services/automation-draft-service.ts \u2192 server/src/services/scheduler-service.ts \u2192 server/src/services/automation-activation-service.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-activation-service.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3f3ea7b91c8042d18a61b648b2b0ab7c408c29cce1b5d61932887b4a3c32a2"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): web/src/components/workflows/WorkflowDashboard.tsx \u2192 web/src/components/workflows/WorkflowRunView.tsx \u2192 web/src/contexts/ViewContext.tsx \u2192 web/src/lib/views.ts \u2192 web/src/components/workflows/WorkflowsPage.tsx \u2192 web/src/components/workflows/WorkflowDashboard.tsx (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"85965268c7d44e4a407708973a55094d1f27a175956fba88af2b5fbed845c4ec"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: The value is the key-derivation salt 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/services/automation-draft-service.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f2ff6363ff033af6d1055d9244f6d4e040ed04cbef38ea8dc911f4aa16acd5"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: The value is the key-derivation salt 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/services/run-file-provenance-service.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e79f7487f79da3b5a890c439b0a72470ad0080f13adfb75434c98847d91cdfa"}},{"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/skill-security-service.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"293c16bb34122eaf250d3dfc14cbe4aa5ffb80927ab5a0549cd2152ef6d1faee"}},{"ruleId":"S1","level":"warning","message":{"text":"Password key derivation is priced too cheaply: This code fixes scrypt at N=16,384 (r=8, p=1). A key-derivation function\u0027s only defence is the cost of ONE guess, and that cost is this number \u2014 the algorithm choice does not set it. Current OWASP guidance is 1,300,000 PBKDF2 iterations with HMAC-SHA1, 600,000 with SHA-256 and 210,000 with SHA-512; scrypt at N=2^17, r=8, p=1 (or an equivalent N\u00B7r\u00B7p product); Argon2id at 19 MiB of memory and 2 iterations (or an equivalent row); bcrypt at a work factor of at least 10. This figure divides the attacker\u0027s work by a factor of tens or hundreds against the same stolen hash, on hardware they already own. Where what is derived is short or low-entropy \u2014 a PIN, a numeric parental code, a four-character token \u2014 the whole keyspace falls in the time this parameter buys, and no salt or constant-time comparison changes that. Raise the count to the current published figure for the PRF you use, measure it on the slowest hardware that must run it (a target of roughly 100 ms per derivation is the usual budget), and read the value from configuration so a deployment can raise it again without a rebuild. Where the derived value must interoperate with a format someone else fixed, the count cannot move \u2014 derive a SEPARATE value for anything you own rather than inheriting the external format\u0027s price."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed2a22f7ba7d16a566d4ac6a8f6ff54f23848260ec9e93801483059ceeb531f"}},{"ruleId":"S1","level":"warning","message":{"text":"Password key derivation is priced too cheaply: This code fixes scrypt at N=16,384 (r=8, p=1), Node\u0027s default. A key-derivation function\u0027s only defence is the cost of ONE guess, and that cost is this number \u2014 the algorithm choice does not set it. Current OWASP guidance is 1,300,000 PBKDF2 iterations with HMAC-SHA1, 600,000 with SHA-256 and 210,000 with SHA-512; scrypt at N=2^17, r=8, p=1 (or an equivalent N\u00B7r\u00B7p product); Argon2id at 19 MiB of memory and 2 iterations (or an equivalent row); bcrypt at a work factor of at least 10. This figure divides the attacker\u0027s work by a factor of tens or hundreds against the same stolen hash, on hardware they already own. Where what is derived is short or low-entropy \u2014 a PIN, a numeric parental code, a four-character token \u2014 the whole keyspace falls in the time this parameter buys, and no salt or constant-time comparison changes that. Raise the count to the current published figure for the PRF you use, measure it on the slowest hardware that must run it (a target of roughly 100 ms per derivation is the usual budget), and read the value from configuration so a deployment can raise it again without a rebuild. Where the derived value must interoperate with a format someone else fixed, the count cannot move \u2014 derive a SEPARATE value for anything you own rather than inheriting the external format\u0027s price."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-file-provenance-service.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fcee878abf6f4ee03a9bb5fca83797a7571b5dd348fc175ec0819739e4d6a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(query.length) || query.length \u003C 1 || query.length \u003E MAX_RANGE_BYTES\u0060 appears character-identically in 2 files \u2014 server/src/storage/run-output-artifact-repository.ts, server/src/storage/sqlite/run-output-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"225860ac8b7281284b79f33c1acc3adfb2f409942a0895736246e53076ab42e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(query.offset) || query.offset \u003C 0\u0060 appears character-identically in 2 files \u2014 server/src/storage/run-output-artifact-repository.ts, server/src/storage/sqlite/run-output-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb10747e89b1e13a51b2ffd3c9169dda410ce8f11d77a940fca9d2635a5f5093"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidate || typeof candidate !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/run-approval-broker-service.ts, server/src/services/run-output-spill-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/run-approval-broker-service.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca56905edea7b17d9e0979702d14290fbf1ac408baded778fd68e49cda36e4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current || snapshot.revision \u003E current.revision\u0060 appears character-identically in 5 files \u2014 server/src/storage/admission-reservation-repository.ts, server/src/storage/durable-goal-repository.ts, server/src/storage/reflection-extraction-job-repository.ts, server/src/storage/run-approval-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a170b2ebdf436acca3d21bb65d0d573ea7ad5c7f0577cb561c19e358f72b1bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data.blueprint || data.blueprint.length === 0\u0060 appears character-identically in 2 files \u2014 web/src/lib/template-schema.js, web/src/lib/template-schema.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/template-schema.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6df032263ce964963d36a937d4ab928f9bdf31c4fdd519096416ad3aea44c0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!directoryStat.isDirectory() || directoryStat.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 server/src/storage/dependency-circuit-override-repository.ts, server/src/storage/dependency-circuit-state-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f3c98005ed0462446eb4956956b68c24e1ea55d5aaf5d587ccd7e257852845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!directoryStats.isDirectory() || directoryStats.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 server/src/storage/reflection-state-repository.ts, server/src/storage/transition-hooks-config-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/reflection-state-repository.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"656b8d2cc164b98a673c4d0b7abdba10eedb33899032a4cb17696fc05963c082"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!membership || membership.status !== \u0027active\u0027 || membership.disabledAt\u0060 appears character-identically in 2 files \u2014 server/src/services/api-token-service.ts, server/src/services/device-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/api-token-service.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dee869e9d6036b71c18c5d2560d947fd55a074140c7d9151e289f2a668f0a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata || metadata.state !== \u0027available\u0027\u0060 appears character-identically in 3 files \u2014 server/src/services/run-output-artifact-service.ts, server/src/storage/run-output-artifact-repository.ts, server/src/storage/work-product-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees 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-output-artifact-service.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"741a89bce97a68ec5599f106de89c796a0d273585e60d6bad5ca3c53f20487b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized || normalized.length \u003E maxLength || containsControlCharacter\u0060 appears character-identically in 3 files \u2014 server/src/services/acp-stdio-adapter.ts, server/src/services/claude-code-adapter.ts, server/src/services/codex-app-server-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":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"98292737a1dba8e1bc3f0eadd24d9683901d1fa63c72813f4933f894f94a129f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0027object\u0027 || Array.isArray(parsed)\u0060 appears character-identically in 5 files \u2014 cli/src/commands/scheduler.ts, server/src/services/claude-code-adapter.ts, server/src/services/clawdbot-agent-service.ts, server/src/services/codex-app-server-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":"cli/src/commands/scheduler.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a1bafb566f6191cac797ca8b740b1b217e9bbff2b933a9606df88a23332db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!policy || policy.enabled === false || !policy.limits\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-budget-service.ts, server/src/services/run-launch-compiler.ts. It is one line, so the duplication detector\u0027s token window never sees 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-budget-service.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1aa2f73eaa2e30f3b3116245c5d65dc1e411cb1a291841a0f38c1931f1017"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!policy || policy.enabled === false || !policy.limits || Object.keys(policy.limits).length === 0\u0060 appears character-identically in 2 files \u2014 server/src/services/clawdbot-agent-service.ts, server/src/services/workflow-run-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/clawdbot-agent-service.ts"},"region":{"startLine":9364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e151f5f5d2e37d10e8f4ffa2ecebaf305d9254da7e810a3b59dd28ebb6bd27b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!query.category || item.categories.includes(query.category)\u0060 appears character-identically in 2 files \u2014 server/src/services/feedback-service.ts, server/src/storage/sqlite/governance-repositories.ts. It is one line, so the duplication detector\u0027s token window never sees 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-service.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"351d1a945b3b68220d89e8525774a425188629ac9d9b1db48ebfd8802e1592c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!query.workspaceId || entry.request.workspaceId === query.workspaceId\u0060 appears character-identically in 2 files \u2014 server/src/services/admission-control-service.ts, server/src/storage/admission-reservation-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef549f0c61fe5dea1ed2c567ac1d827198a703496b217a21886709114b1e273c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!record || typeof record !== \u0027object\u0027 || Array.isArray(record)\u0060 appears character-identically in 2 files \u2014 server/runtime/run-tool-bridge.mjs, server/src/services/tool-control-plane-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/runtime/run-tool-bridge.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0f4059a5b5c830fe9832a0713d13c8e1d67e4c0d4a47f60d44e2b8e7ff4038"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!relative || relative.startsWith(\u0027..\u0027) || path.isAbsolute(relative)\u0060 appears character-identically in 2 files \u2014 server/src/services/filesystem-sandbox-service.ts, server/src/utils/filesystem-sandbox-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/filesystem-sandbox-service.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9578052ec147df23e68dbb4ea00a3cbc7e287fd9f27cb5b1ab1f452221b8003"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!segment || segment === \u0027.\u0027 || segment === \u0027..\u0027\u0060 appears character-identically in 4 files \u2014 server/src/services/provider-event-evidence.ts, server/src/services/run-file-provenance-service.ts, server/src/services/work-product-artifact-service.ts, server/src/storage/work-product-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-event-evidence.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69fdf36ec34945916153c5ffe9dbfa0c616351db026a9d6b820d6fa163b6285"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stat.isDirectory() || stat.isSymbolicLink()\u0060 appears character-identically in 10 files \u2014 server/src/storage/admission-reservation-repository.ts, server/src/storage/durable-goal-repository.ts, server/src/storage/knowledge-collection-repository.ts, server/src/storage/phase-transition-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aae8854d8ad34ca589aef27bb4061e5cad8905cfa4b476ca6695e5ecc8e30e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stateFilter || stateFilter.has(record.state)\u0060 appears character-identically in 2 files \u2014 server/src/storage/durable-goal-repository.ts, server/src/storage/run-supervisor-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/durable-goal-repository.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"db73eab0b21dbf9d366a56b5fd9e4aee07e2971dbc121b9c0a3f4d11a089685c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stats.isDirectory() || stats.isSymbolicLink()\u0060 appears character-identically in 13 files \u2014 server/src/storage/agent-permission-repository.ts, server/src/storage/broadcast-repository.ts, server/src/storage/ceremony-state-repository.ts, server/src/storage/chat-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/agent-permission-repository.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dabc84368165746be58115d8ebb29c56a0434b14d45edccfaf1be826fedd230"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stats.isFile() || stats.size \u003E maximumBytes\u0060 appears character-identically in 2 files \u2014 server/src/storage/workflow-definition-repository.ts, server/src/storage/workflow-execution-file-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workflow-definition-repository.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba4c451f4b53524b65088ee15c0ebd4e320e23d7fe617917f53ea22b165a988"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!task || task.attempt?.id !== binding.attemptId || task.attempt.completionResult || task.attempt.status !== \u0027running\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/clawdbot-agent-service.ts, server/src/services/openclaw-completion-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/clawdbot-agent-service.ts"},"region":{"startLine":4964}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac9b7d2b6410a1e689cba62e27b560db5212f5e58b3b00aed4fac7c82bd4d71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!upsertIds.has(page.id) \u0026\u0026 !deleteIds.has(page.id)\u0060 appears character-identically in 2 files \u2014 server/src/storage/knowledge-collection-repository.ts, server/src/storage/sqlite/knowledge-collection-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6e2c1d4999d43fb5238ff3116f8a14af39b6f78ca7b42a37f488b886fb6627"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 4 files \u2014 server/runtime/run-tool-bridge.mjs, server/src/services/acp-stdio-adapter.ts, server/src/storage/scheduler-state-repository.ts, server/src/utils/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":"server/runtime/run-tool-bridge.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bde08c22b55a375dfa83accb640c6303820ece785d4ac620eda87aff0f982a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Object.isFrozen(value)\u0060 appears character-identically in 5 files \u2014 server/src/services/agent-registry-service.ts, server/src/services/provider-completion-service.ts, server/src/services/provider-runtime-manifest-service.ts, server/src/services/run-launch-manifest-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/agent-registry-service.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00cbffd941ab222db8623f72e6dedf06a8965d1d9b6b7e726779d1291b7dd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value.includes(\u0027\\0\u0027) \u0026\u0026 !value.includes(\u0027\\\\\u0027) \u0026\u0026 !value.startsWith(\u0027/\u0027) \u0026\u0026 !/^[A-Za-z]:/.test(value) \u0026\u0026 !value.split(\u0027/\u0027).includes(\u0027..\u0027)\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/schemas/workspace-checkpoint-schemas.ts. It is one line, so the duplication detector\u0027s token window never 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":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e880b86a94cdfa97c98ca786bead87ac90f3bf7c57e3baf2f1cb349a4da6db25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!workflow || typeof workflow.id !== \u0027string\u0027 || typeof workflow.name !== \u0027string\u0027 || typeof workflow.version !== \u0027number\u0027\u0060 appears character-identically in 2 files \u2014 server/src/storage/workflow-definition-repository.ts, web/src/components/task/WorkflowSection.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workflow-definition-repository.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58dd5e9ff7f5ba8b13a1123159123c52e46422fa87a62d802894a03534faf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(current \u0026\u0026 current.manifestDigest !== input.expectedManifestDigest) || input.record.manifestDigest !== input.expectedManifestDigest\u0060 appears character-identically in 2 files \u2014 server/src/storage/phase-transition-repository.ts, server/src/storage/sqlite/phase-transition-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/phase-transition-repository.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f310c213dd8f8d5aa8a63a11a0c78668609e70b017d1a374c53367bcbe32ba6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(existing.state === \u0027expired\u0027 \u0026\u0026 input.reclaimExpired) || (existing.state === \u0027released\u0027 \u0026\u0026 input.reclaimReleased)\u0060 appears character-identically in 2 files \u2014 server/src/storage/admission-reservation-repository.ts, server/src/storage/sqlite/admission-reservation-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c50847072e67a1abf5aad1fb2902b84c14e95d881e117ad4ce5f4051e56cf5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/[a-z]/.test(password) \u0026\u0026 /[A-Z]/.test(password)\u0060 appears character-identically in 2 files \u2014 web/src/components/auth/SetupScreen.tsx, web/src/components/settings/tabs/SecurityTab.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/SetupScreen.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7e9968258803ec59875e61a5b6975d8490032977365913dda895706ef6ffa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(value) \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 server/src/services/workflow-run-service.ts, shared/src/utils/acp-json-rpc-peer.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-run-service.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"331b321285ae579eae3d97cbfafd7bb15055195dab69500b0dfaa9ee20e7e6ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(left.availableAt) - Date.parse(right.availableAt) || Date.parse(left.createdAt) - Date.parse(right.createdAt) || left.id.localeCo\u2026\u0060 appears character-identically in 2 files \u2014 server/src/storage/reflection-extraction-job-repository.ts, server/src/storage/reflection-extraction-job-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/storage/reflection-extraction-job-repository.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f926f3506519037254967190cc5c2ddd01f11fffb56ee7d4ef700b41cd0edf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(right.createdAt) - Date.parse(left.createdAt) || left.id.localeCompare(right.id)\u0060 appears character-identically in 2 files \u2014 server/src/storage/knowledge-collection-repository.ts, server/src/storage/workspace-checkpoint-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ebfd694b7b9a4c3c56cc3b6c0561ce268e18661d63726f5e7f0ff65c2adeda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(right.updatedAt) - Date.parse(left.updatedAt) || left.id.localeCompare(right.id)\u0060 appears character-identically in 2 files \u2014 server/src/storage/knowledge-collection-repository.ts, server/src/storage/reflection-consolidation-proposal-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0ebd8a1ad2132673384f390f80ecc2955188ec2b8504ce3679d5b7d33e62a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actorPermissions.includes(\u0027*\u0027) || actor.role === \u0027owner\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/api-token-service.ts, server/src/services/device-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/api-token-service.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd65114d429c76e8b3ac8f4b2d72716b60f21c5474a1909e3dd60f79376b14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060answer.toLowerCase() !== \u0027y\u0027 \u0026\u0026 answer.toLowerCase() !== \u0027yes\u0027\u0060 appears character-identically in 2 files \u2014 cli/src/commands/backlog.ts, cli/src/commands/sprints.ts. It is one line, so the duplication detector\u0027s token 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/backlog.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0255b8d2a456eeaa9e8d670d3508603273e4c9269d9b4a4b0b16fadb7b8d4d1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt.started?.agent === e.agent \u0026\u0026 !attempt.completed\u0060 appears character-identically in 2 files \u2014 web/src/hooks/useBulkTaskMetrics.ts, web/src/hooks/useTaskMetrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fb068af74d1a50ccf3bb25b4067cc40d8bdbcfee5d2ef5b7e7cfe0d9ec4b21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt.started?.agent === e.agent \u0026\u0026 !attempt.error\u0060 appears character-identically in 2 files \u2014 web/src/hooks/useBulkTaskMetrics.ts, web/src/hooks/useTaskMetrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useBulkTaskMetrics.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c25fdc29781db8b6e338b55f7a9aa47d750503e6e77d403866f6cdbaa22a5e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth?.tokenName || auth?.keyName || auth?.clientId || auth?.userId || id\u0060 appears character-identically in 3 files \u2014 server/src/routes/agents.ts, server/src/routes/run-approvals.ts, server/src/routes/run-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":"server/src/routes/agents.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"403b5beebacca1c9b3607f0b003a26656fe886c54b748f3061f3ad960792f3d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth?.userId || auth?.tokenName || auth?.keyName || auth?.clientId || auth?.deviceId || auth?.role || \u0027operator\u0027\u0060 appears character-identically in 4 files \u2014 server/src/routes/goals.ts, server/src/routes/run-approvals.ts, server/src/routes/run-sessions.ts, server/src/routes/tool-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":"server/src/routes/goals.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d6ecb3221696bc2a409c4d80fc48f4ce9d224b8151426f478e495c13659c10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.updatedAt.localeCompare(a.updatedAt) || a.id.localeCompare(b.id)\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-review-service.ts, server/src/services/work-product-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/decision-review-service.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e7627b1d952040b392bad98904f64a7e08bb18064102fec38affe6d5543d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.workspaceId !== workspaceId || candidate.collectionId !== collectionId || candidate.id !== findingId\u0060 appears character-identically in 2 files \u2014 server/src/storage/knowledge-collection-repository.ts, server/src/storage/sqlite/knowledge-collection-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"494d20f6c1a0ba6b36d6fffc0ccb4381779ca0e8ceaf18a4e04c343ceb86c6b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidates.length === 0 || candidates.length \u003E MAX_KNOWLEDGE_PAGE_BATCH\u0060 appears character-identically in 2 files \u2014 server/src/storage/knowledge-collection-repository.ts, server/src/storage/sqlite/knowledge-collection-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/knowledge-collection-repository.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efb9cc688711d4c6f89012fa04815db2b166404a279bf962770fa769cb12472"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.exitCode != null || child.signalCode != null\u0060 appears character-identically in 2 files \u2014 server/src/services/acp-stdio-adapter.ts, server/src/services/tool-control-plane-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/acp-stdio-adapter.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c0d7b4363aa92144a1d6317cfb2dedd7288fbc27b00b6542d1c371a088e7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.exitCode !== null || child.signalCode !== null\u0060 appears character-identically in 2 files \u2014 desktop/src/main/process-supervisor.ts, server/src/services/run-terminal-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":"desktop/src/main/process-supervisor.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d39da853929aa0ba21f0e85343f9a0093d2f0d8117513ea7ef25c9621acde9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.exitCode == null \u0026\u0026 child.signalCode == null\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-provider-adapter-registry.ts, server/src/services/clawdbot-agent-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/agent-provider-adapter-registry.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"89565bd7f163ed53da9d5e6b8d63dab4fc86df24458c5ecbea7b2b6bc846c780"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060claimed.record || (claimed.limitingBudgetPolicies?.length \u0026\u0026 claimed.budgetRetryable === false)\u0060 appears character-identically in 2 files \u2014 server/src/storage/admission-reservation-repository.ts, server/src/storage/sqlite/admission-reservation-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fa8c0fd6f91d2ae1fddeec33c7f7b329488aa9a757f0fceacc0790354d1942"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clickable \u0026\u0026 \u0027cursor-pointer transition-shadow duration-150 hover:ring-2 hover:ring-ring motion-reduce:transition-none\u0027\u0060 appears character-identically in 2 files \u2014 web/src/components/dashboard/Dashboard.tsx, web/src/components/dashboard/DashboardPage.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/Dashboard.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"583fa8edb52810bae3ff93a28431d894896f491bc4d47a266621eadec5e3d4a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clientAllowsLocalAgentControls(authContext) \u0026\u0026 hasPermission(\u0027agent:write\u0027)\u0060 appears character-identically in 2 files \u2014 web/src/components/task/AgentPanel.tsx, web/src/components/task/TaskWorkView.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/AgentPanel.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c45ee5133ffd6af15044529ed19e9a166f7da7c4bd16074f66aad2e6b82a552"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code \u003C= 0x1f || (code \u003E= 0x7f \u0026\u0026 code \u003C= 0x9f)\u0060 appears character-identically in 2 files \u2014 server/src/schemas/communication-adapter-schemas.ts, server/src/services/buzz-compatibility-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/schemas/communication-adapter-schemas.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ae4af7ac0691c1a70149edaeb39943ceca3b5001eae67c29e85ecb969b0228"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code === 9 || code === 10 || code === 13 || (code \u003E= 32 \u0026\u0026 code !== 127)\u0060 appears character-identically in 2 files \u2014 server/src/services/buzz-definition-import-service.ts, server/src/services/communication-adapter-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/buzz-definition-import-service.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9394014f5794b5bbadde9d3112e27cb284cab5b55f6caaf4bbee5b23f092030"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content \u0026\u0026 (content.byteLength !== metadata.byteSize || sha256(content) !== metadata.sha256)\u0060 appears character-identically in 2 files \u2014 server/src/storage/sqlite/work-product-artifact-repository.ts, server/src/storage/work-product-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee45e44bd5630e1ab4f19b0e48e6b869ec0e26c9750281755de4dd150cdce7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content.byteLength !== metadata.storedBytes || contentHash(content) !== metadata.sha256\u0060 appears character-identically in 2 files \u2014 server/src/storage/run-output-artifact-repository.ts, server/src/storage/sqlite/run-output-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8603714df4819dc9d76dbd138b6f611c3104e5c7c72b95c9010c29fe5643e4ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060control.available \u0026\u0026 [\u0027status\u0027, \u0027stop\u0027, \u0027reattach\u0027, \u0027resume\u0027].includes(control.action)\u0060 appears character-identically in 2 files \u2014 server/src/services/clawdbot-agent-service.ts, server/src/services/run-recovery-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/services/clawdbot-agent-service.ts"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a631f9601efed3bd95775bbd95cb79ec50ba67cd4a1b99dfa1fbb3e913660140"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentDigest !== input.expectedPhaseEvidenceDigest || input.record.priorEvidence.digest !== input.expectedPhaseEvidenceDigest\u0060 appears character-identically in 2 files \u2014 server/src/storage/phase-transition-repository.ts, server/src/storage/sqlite/phase-transition-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/phase-transition-repository.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ee6375984d46baefbcbe4f374e2a8b9a734ec4b94190c42c70585e060825a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decision === \u0027pause\u0027 || decision === \u0027require-approval\u0027 || decision === \u0027cancel\u0027\u0060 appears character-identically in 3 files \u2014 server/src/services/clawdbot-agent-service.ts, server/src/services/queue-intake-monitor-service.ts, server/src/services/workflow-run-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/clawdbot-agent-service.ts"},"region":{"startLine":4317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8191dcd3a0b7503bbe0e03622e9c667db5a0a02f16242ae0e05b8b049fde03cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directory !== canonicalRoot \u0026\u0026 !directory.startsWith(canonicalRoot \u002B path.sep)\u0060 appears character-identically in 2 files \u2014 scripts/capture-local-macos-release.mjs, scripts/docs-media/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/capture-local-macos-release.mjs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a84e302ffbfd6598008c0051cc14d39936afea2492bce2867a2ce86506114c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0027Enter\u0027 \u0026\u0026 newProjectName.trim()\u0060 appears character-identically in 2 files \u2014 web/src/components/task/CreateTaskDialog.tsx, web/src/components/task/detail/TaskMetadataSection.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/CreateTaskDialog.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9963fb06ab37a15c729d27b04456229ed167d6aa65c0a312ceca7fb292a5434"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060egressPolicy \u0026\u0026 runEgressPolicyRequiresGateway(egressPolicy)\u0060 appears character-identically in 2 files \u2014 server/src/services/clawdbot-agent-service.ts, server/src/services/workflow-step-executor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":2315}}}],"partialFingerprints":{"codehealthFindingId/v1":"872c261e1073901d16c0c94cda8b8fd8fec38072b18972d8256852500c8c6b5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.state === \u0027queued\u0027 || entry.state === \u0027requeued\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/admission-control-service.ts, web/src/components/digest/AdmissionQueuePanel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"138069ff9afa1224a67632dd3197bb4f39980c2ca69ea47c58ee5198e7d6e013"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.target?.kind === \u0027workflow-root\u0027 || entry.target?.kind === \u0027workflow-step\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/admission-control-service.ts, server/src/services/clawdbot-agent-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/admission-control-service.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca70b0a0491a4c6976a7bdc094400b71e9c5dcfb99b60e68556f824724edc77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0027object\u0027 \u0026\u0026 \u0027code\u0027 in error\u0060 appears character-identically in 2 files \u2014 server/src/services/buzz-compatibility-service.ts, web/src/hooks/useTasks.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/buzz-compatibility-service.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bbc62a7762fabef4ac955049141cd4849ca0d3c135369f37ef3e031ae6ee56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0027object\u0027 \u0026\u0026 \u0027code\u0027 in error \u0026\u0026 (error.code === \u0027ENOENT\u0027 || error.code === \u0027ENOTDIR\u0027)\u0060 appears character-identically in 2 files \u2014 server/src/storage/workspace-execution-trust-repository.ts, server/src/storage/workspace-file-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/workspace-execution-trust-repository.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"530e383e5152d83969082df57d79e14186c36f6f8ddd339cd96a9d33099c668f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0027object\u0027 \u0026\u0026 \u0027code\u0027 in error \u0026\u0026 error.code === \u0027ENOENT\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/sqlite-portability-service.ts, server/src/storage/workspace-execution-trust-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sqlite-portability-service.ts"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caac73ff2686acf7255875e3383a10aaf63119f1f96fc94691f3e22ea29502b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorCode === \u0027ENOENT\u0027 || error instanceof SyntaxError\u0060 appears character-identically in 4 files \u2014 server/src/storage/agent-permission-repository.ts, server/src/storage/error-analysis-repository.ts, server/src/storage/scheduled-deliverables-repository.ts, server/src/storage/status-history-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/agent-permission-repository.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f210da9381343f37024f75e814fc5cdfe30445fec4920059e05c40f8156c7c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.kind === \u0027stream.stderr\u0027 || event.kind === \u0027run.error\u0027\u0060 appears character-identically in 2 files \u2014 server/src/server.ts, server/src/services/clawdbot-agent-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/server.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4c96572046a2b0894e55000b6c7dd4aea05ee4ef8d00977084b8f283372191"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.success === true || (event as unknown as Record\u003Cstring, unknown\u003E).status === \u0027success\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/digest-service.ts, server/src/services/metrics/run-metrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/digest-service.ts"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e32ec0799415745e72b88226ba61dd8324c371c07204aabf47e0bae4a955cc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type === \u0027item.completed\u0027 \u0026\u0026 event.item.type === \u0027agent_message\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/codex-review-service.ts, server/src/services/workflow-step-executor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-review-service.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"843d5d43f6596c9fd40524cfb828fee2dc9f09cfe1048af734d3c01a1e519028"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.sequence === input.expectedSequence \u002B 1 \u0026\u0026 existing.priorEvidence.digest === input.expectedPhaseEvidenceDigest \u0026\u0026 existing.effectiv\u2026\u0060 appears character-identically in 2 files \u2014 server/src/storage/phase-transition-repository.ts, server/src/storage/sqlite/phase-transition-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/phase-transition-repository.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f114a3e0d296e965f618252942c51cedfa931b3a05420264a225e9255e7971e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.state === \u0027available\u0027 \u0026\u0026 !(await this.read(this.lookupFor(existing)))\u0060 appears character-identically in 2 files \u2014 server/src/storage/sqlite/work-product-artifact-repository.ts, server/src/storage/work-product-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd28a4fe3d7ea3f63dab02806337cd57a6d34e17f011ff6c5068345e2f8ddbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected.length === actual.length \u0026\u0026 timingSafeEqual(expected, actual)\u0060 appears character-identically in 3 files \u2014 server/src/storage/sqlite/journal-maintenance-service.ts, server/src/storage/sqlite/sqlite-journal-policy.ts, server/src/storage/sqlite/sqlite-ownership-lock.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/journal-maintenance-service.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd03ae1445a536ebe7c178a57f851ba6f37bc1a88dcb4eee5158b8f16eb65a2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expectedWorkspaceId \u0026\u0026 existing.workspaceId !== expectedWorkspaceId\u0060 appears character-identically in 2 files \u2014 server/src/services/api-token-service.ts, server/src/services/device-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/api-token-service.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"434acfbb20de3283fff170662233a121448eae74c944349dfbcd329d308e0c54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.startsWith(\u0027events-\u0027) \u0026\u0026 (f.endsWith(\u0027.ndjson\u0027) || f.endsWith(\u0027.ndjson.gz\u0027))\u0060 appears character-identically in 2 files \u2014 server/src/services/metrics/telemetry-reader.ts, server/src/services/telemetry-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/metrics/telemetry-reader.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e390326c98efe9c5ce6b398574620999a88aa22a4e027e204171f3f0e7a37d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060health.reason || \u0027Agent health check failed\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-routing-service.ts, server/src/services/clawdbot-agent-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/agent-routing-service.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"59423254416c3909817f83e3877a6d86596225bd5bd422890165b80f06b7e420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.content !== undefined \u0026\u0026 input.content !== existing.content\u0060 appears character-identically in 2 files \u2014 server/src/services/prompt-registry-service.ts, server/src/storage/sqlite/prompt-registry-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-registry-service.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5f1bd8943048e76c89212a212c0957d0c8e10dedb16a9782a75a61e44ef476"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.next.revision !== input.expectedRevision \u002B 1 || input.next.id !== input.id\u0060 appears character-identically in 8 files \u2014 server/src/storage/admission-reservation-repository.ts, server/src/storage/durable-goal-repository.ts, server/src/storage/reflection-extraction-job-repository.ts, server/src/storage/run-supervisor-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d7f4cd34acefd752540deb6d4b238a905f4b61eb1d9084d5dd3baecfa41daa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ipInt \u003E= range.start \u0026\u0026 ipInt \u003C= range.end\u0060 appears character-identically in 2 files \u2014 server/src/utils/url-validation.ts, shared/src/utils/remote-destination-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/utils/url-validation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aae400efa485f0c2bcb88329e4b31234716ad6da8eb5b69f5e7effc3e4cef7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isRecord(body) \u0026\u0026 body.success === true \u0026\u0026 \u0027data\u0027 in body\u0060 appears character-identically in 3 files \u2014 cli/src/commands/doctor.ts, cli/src/commands/prompts.ts, cli/src/commands/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":"cli/src/commands/doctor.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e52dede3012eb1926cf5c609206b634aa34a07d88ea7bf557b4ff1660b1dc14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.enqueueSequence - right.enqueueSequence || left.id.localeCompare(right.id)\u0060 appears character-identically in 3 files \u2014 server/src/services/admission-control-service.ts, server/src/services/admission-queue-scheduler.ts, server/src/storage/admission-reservation-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/admission-control-service.ts"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"638bee311db4b96b0694485c2877fe2bce69eba54227af152459906aa86c5d7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.id === right.id \u0026\u0026 left.sha256 === right.sha256 \u0026\u0026 left.scope.workspaceId === right.scope.workspaceId \u0026\u0026 left.scope.taskId === right.sc\u2026\u0060 appears character-identically in 2 files \u2014 server/src/storage/run-output-artifact-repository.ts, server/src/storage/sqlite/run-output-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-output-artifact-repository.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7bb1ceca21c99b1223fe59ee3887c9d1afb7d4df6ad750328167070b3d8b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.sequence - right.sequence || left.eventId.localeCompare(right.eventId)\u0060 appears character-identically in 2 files \u2014 server/src/services/progress-watchdog-coordinator-service.ts, server/src/services/progress-watchdog-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/progress-watchdog-coordinator-service.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"17daaaee442407c74a112ea886ffd8246defe4e088422815ff5e046625f343e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limitingBudgets.terminal.length \u003E 0 || limitingBudgets.retryable.length \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/storage/admission-reservation-repository.ts, server/src/storage/sqlite/admission-reservation-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/admission-reservation-repository.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b878b3a85cd84ee1ccc3db167f513d512a988b4aed733412c1da7863ba3e4b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.state !== \u0027available\u0027 \u0026\u0026 content\u0060 appears character-identically in 2 files \u2014 server/src/storage/sqlite/work-product-artifact-repository.ts, server/src/storage/work-product-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3271e2e45231e6a1c81c9b018cde05729a69500820dcbc8941f8f8b1c2a0b919"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.state === \u0027available\u0027 \u0026\u0026 !content\u0060 appears character-identically in 2 files \u2014 server/src/storage/sqlite/work-product-artifact-repository.ts, server/src/storage/work-product-artifact-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/sqlite/work-product-artifact-repository.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5cf002133fa6ccc70ddca47ff5844c70893893b3b3460fdfdd2ed6b789706a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.type === \u0027workflow:status\u0027 \u0026\u0026 typeof msg.payload === \u0027object\u0027 \u0026\u0026 msg.payload !== null\u0060 appears character-identically in 2 files \u2014 web/src/components/workflows/WorkflowDashboard.tsx, web/src/components/workflows/WorkflowRunView.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowDashboard.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a92c1b6896191b2b9d4db0fd70d661a69e92e085c643721f95003ab440be47f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.status !== \u0027pending\u0027 || parsed.revision !== 1\u0060 appears character-identically in 2 files \u2014 server/src/storage/run-approval-repository.ts, server/src/storage/sqlite/run-approval-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/run-approval-repository.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92249b0026dff311a8efe3fe2ea6e4e81723863d7c2b58ecf788ab831d3ce26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pathStats.isSymbolicLink() || pathStats.dev !== stats.dev || pathStats.ino !== stats.ino\u0060 appears character-identically in 11 files \u2014 server/src/storage/agent-permission-repository.ts, server/src/storage/ceremony-state-repository.ts, server/src/storage/delegation-repository.ts, server/src/storage/error-analysis-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/agent-permission-repository.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a46929429088e4649c8fff45c51a6e65d797fe5e485ed8907ec90b8b8959d7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060permissions.includes(\u0027*\u0027) || permissions.includes(permission)\u0060 appears character-identically in 4 files \u2014 server/src/middleware/auth.ts, server/src/services/workflow-authoring-service.ts, shared/src/utils/api-permissions.ts, web/src/hooks/useIdentity.tsx. It is one line, so the duplication detector\u0027s token window never 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/auth.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eb460679335fa069c59e2edbadbaf76bb5b4605441bc8209380380ad402f64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preset.filesystem.readPaths.length \u003E 0 || preset.filesystem.writePaths.length \u003E 0 || preset.filesystem.deniedPaths.length \u003E 0 || preset.file\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/filesystem-sandbox-service.ts, server/src/services/sandbox-policy-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/filesystem-sandbox-service.ts"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd4b1f45f41284c8353b90dec47f077276f2a116ab4833e8089b31b240f52c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.VERITAS_QMD_REFRESH_TIMEOUT_MS || 60_000\u0060 appears character-identically in 2 files \u2014 server/src/services/knowledge-qmd-search-service.ts, server/src/services/search-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/knowledge-qmd-search-service.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"012a530740d2135746555f79cd4602934270dada78b0928fbaa7fb25f68ca76a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.VERITAS_QMD_TIMEOUT_MS || 10_000\u0060 appears character-identically in 2 files \u2014 server/src/services/knowledge-qmd-search-service.ts, server/src/services/search-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/knowledge-qmd-search-service.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fba2e0c4768c56538746a63065b2d6b803aab7fc1e737a3f92c05422423c5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0027darwin\u0027 \u0026\u0026 process.arch === \u0027arm64\u0027\u0060 appears character-identically in 2 files \u2014 scripts/capture-local-macos-release.mjs, scripts/promote-local-macos-release.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/capture-local-macos-release.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27d074e9c1393146cbac20d5a5b08104968dfdf05e5630999cdc666d357ce0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060projectFilter === \u0027all\u0027 || task.project === projectFilter\u0060 appears character-identically in 2 files \u2014 web/src/components/archive/ArchivePage.tsx, web/src/components/backlog/BacklogPage.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d9db2d03f07291e367714cb9d71ede36e459130e2f2a4400cfb44f9ac0a1de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recovery.notBefore \u0026\u0026 Date.parse(recovery.notBefore) \u003E Date.now()\u0060 appears character-identically in 2 files \u2014 server/src/services/run-recovery-coordinator.ts, server/src/services/workflow-run-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/run-recovery-coordinator.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57e8bf83fc7b7ea02892a47fb2eb95eb622341e722ef2444cb246c3b3119198"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reference.status === \u0027blocked\u0027 || reference.status === \u0027missing\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/workflow-authoring-service.ts, web/src/components/workflows/WorkflowAuthoringPanel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bef64b1386fdc16e9232b4a4ffc48c1053aa8e02c9b8c0de9259c6cfe85027"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reference.status === \u0027warning\u0027 || reference.status === \u0027unscanned\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/workflow-authoring-service.ts, web/src/components/workflows/WorkflowAuthoringPanel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workflow-authoring-service.ts"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"5493ef688c3043873f4567dca86039e78aabe362cb63ec2ea2548f958e3dd6cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relative === \u0027\u0027 || (!relative.startsWith(\u0027..\u0027) \u0026\u0026 !path.isAbsolute(relative))\u0060 appears character-identically in 4 files \u2014 server/src/services/docs-service.ts, server/src/services/filesystem-sandbox-service.ts, server/src/services/skill-security-service.ts, server/src/utils/filesystem-sandbox-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/docs-service.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c6c1671afe24a38164f7a2bd3cedb66d13b5bc0bd146804fe00fc8c088415f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.auth?.userId || req.auth?.keyName || \u0027unknown\u0027\u0060 appears character-identically in 2 files \u2014 server/src/routes/integrations.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/integrations.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd6a95ce7135a49658cf8d0e4930620b72f9e47f7141dcda83da7e2fb5f91a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.auth?.userId || req.auth?.tokenName || req.auth?.keyName || req.auth?.clientId || req.auth?.deviceId || req.auth?.role || \u0027operator\u0027\u0060 appears character-identically in 3 files \u2014 server/src/routes/ceremonies.ts, server/src/routes/external-trackers.ts, server/src/routes/reflections.ts. It is one line, so the duplication detector\u0027s token window never 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/ceremonies.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd1de729c25657fb40f519d8a4239c01b0d6e3e260fb7ba409262695fb7dc6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requirement.required \u0026\u0026 !evidenced.has(requirement.id)\u0060 appears character-identically in 2 files \u2014 server/src/services/durable-goal-service.ts, server/src/services/durable-goal-supervisor-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/durable-goal-service.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2914e24f3a248cea3a3442620dffecc2764738f8a7259ef0a93ac1ee52c8d647"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reservation.request.executionTree?.edge === \u0027root\u0027 \u0026\u0026 reservation.executionTreeControl\u0060 appears character-identically in 2 files \u2014 server/src/services/maintenance-service.ts, web/src/components/digest/AdmissionQueuePanel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/maintenance-service.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d633b5719597e7acf4a2bd992e156e9a920df38c8d874881f851809bbcda05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status === \u0027fulfilled\u0027 \u0026\u0026 result.value.success\u0060 appears character-identically in 2 files \u2014 server/src/routes/backlog.ts, server/src/routes/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":"server/src/routes/backlog.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d65a644f4b40978e55e095e9a1ae0b0a021f092f226b8726227dcbbd5f7595"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runEvent.durationMs \u0026\u0026 runEvent.durationMs \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/services/metrics/dashboard-metrics.ts, server/src/services/metrics/run-metrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ec5a4be80494e51149f5b82dc6ea6fa1bb0d42bbeff43708bc2f17d9e50b60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runEvent.success === true || (runEvent as unknown as Record\u003Cstring, unknown\u003E).status === \u0027success\u0027\u0060 appears character-identically in 2 files \u2014 server/src/services/metrics/dashboard-metrics.ts, server/src/services/metrics/run-metrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/dashboard-metrics.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"828bca170e6279474686556f270e1aaf5124ed8746ae0a1e8356cf91e8807f7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s === \u0027idle\u0027 || s === \u0027working\u0027 || s === \u0027thinking\u0027 || s === \u0027error\u0027\u0060 appears character-identically in 2 files \u2014 web/src/components/board/BoardSidebar.tsx, web/src/components/shared/AgentStatusIndicator.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/BoardSidebar.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e02c997ba5c8a4c35a2361334611b6997732ee0ebc21a315d5017edafeb93e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sanitized.includes(\u0027,\u0027) || sanitized.includes(\u0027\u0022\u0027) || sanitized.includes(\u0027\\n\u0027)\u0060 appears character-identically in 2 files \u2014 server/src/services/telemetry-service.ts, server/src/storage/sqlite/telemetry-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/telemetry-service.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e5de148a9f2724a3cfbe1b62de55be206a2a4e8bfd1c82cc18e1293bd86180"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060search || projectFilter !== \u0027all\u0027 || typeFilter !== \u0027all\u0027\u0060 appears character-identically in 2 files \u2014 web/src/components/archive/ArchivePage.tsx, web/src/components/backlog/BacklogPage.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcad6f6363b9752011650a29bb398b79ea46c6b901f454828958ffa494d2a110"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segment.length \u003E 0 \u0026\u0026 segment !== \u0027.\u0027 \u0026\u0026 segment !== \u0027..\u0027\u0060 appears character-identically in 2 files \u2014 server/src/schemas/phase-capability-schemas.ts, server/src/services/phase-capability-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/schemas/phase-capability-schemas.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b043fcd3cfdb122607a2cbc57f0534648ce37c644aee6e1c55592b65a61625"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.VK_API_URL || \u0027http://localhost:3001\u0027\u0060 appears character-identically in 3 files \u2014 server/src/services/claude-code-adapter.ts, server/src/utils/codex-env.ts, server/src/utils/hermes-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":"server/src/services/claude-code-adapter.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d99fb655d2f53b33569602c6e915ba7b4d6d889f0cdc77936d946c0b0f9a3e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statusFilter === \u0027all\u0027 || run.status === statusFilter\u0060 appears character-identically in 2 files \u2014 web/src/components/workflows/WorkflowRunList.tsx, web/src/components/workflows/dashboard/RecentRunsList.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/workflows/WorkflowRunList.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcf05eb6f11aed731192f57de47bc552c64b7114650cfc5bee7275f0d1b256c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.attempt?.id !== input.attemptId || task.attempt.status !== \u0027running\u0027\u0060 appears character-identically in 2 files \u2014 server/src/routes/tool-control-plane.ts, server/src/services/phase-transition-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/routes/tool-control-plane.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df5c025b9118a972f9ba57a66508188d5a1a112be65ae00b03dcf47e4666f56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.attempt?.status === \u0027running\u0027 || task.attempt?.status === \u0027pending\u0027\u0060 appears character-identically in 3 files \u2014 server/src/services/worktree-service.ts, web/src/components/task/AgentRunTimelinePanel.tsx, web/src/components/task/TaskWorkView.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/worktree-service.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c7178250a568ca32e79a55f81a7a914fa1fd6af2943dd182f5d58c59eb5e43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060template.subtaskTemplates \u0026\u0026 template.subtaskTemplates.length \u003E 0\u0060 appears character-identically in 2 files \u2014 web/src/components/task/ApplyTemplateDialog.tsx, web/src/hooks/useTemplateForm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ApplyTemplateDialog.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5da122e009d84c873217420925d280be20e329c8ccfd70abeba16d347930d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.expiresAt \u0026\u0026 Date.parse(token.expiresAt) \u003C= Date.now()\u0060 appears character-identically in 2 files \u2014 server/src/services/api-token-service.ts, web/src/components/settings/tabs/MultiUserTab.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/api-token-service.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eade3680a481fc40bab2469c6f04491fc4df67165d8e9b84a8fd4ff3f9f08a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.includes(\u0027/\u0027) || trimmed.includes(\u0027\\\\\u0027) || trimmed.includes(\u0027..\u0027)\u0060 appears character-identically in 2 files \u2014 server/src/services/workflow-run-service.ts, server/src/services/workflow-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/workflow-run-service.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"08034845e7db9e63d858a445b856d12d4c018b786e1ebaaa11f31cb5ef406bc0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeFilter === \u0027all\u0027 || task.type === typeFilter\u0060 appears character-identically in 2 files \u2014 web/src/components/archive/ArchivePage.tsx, web/src/components/backlog/BacklogPage.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df388acaca586267b6ff293ba058f19fa9c348704e34640f1d2fce939a15b93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0027object\u0027 \u0026\u0026 error !== null \u0026\u0026 \u0027code\u0027 in error\u0060 appears character-identically in 2 files \u2014 server/src/services/metrics/telemetry-reader.ts, server/src/services/reflection-extraction-worker-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/metrics/telemetry-reader.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb41803c7add3d0aac8a4c511919d48087625c5574a5a66c2401dd28782f93fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item === \u0027string\u0027 \u0026\u0026 item.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 server/src/services/agent-host-service.ts, server/src/services/codex-event-interpreter.ts, server/src/services/context-provider-health-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/agent-host-service.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"775097e6dbf9aa001e4220d3a584fd700407781047855c814f081df1c62dc3c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof mutableEvent.durationMs === \u0027number\u0027 \u0026\u0026 mutableEvent.durationMs \u003E MAX_DURATION_MS\u0060 appears character-identically in 2 files \u2014 server/src/services/telemetry-service.ts, server/src/storage/sqlite/telemetry-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/telemetry-service.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf28ce577aa2334e36645daa88a3775aba3b7a61f3e4daa89a63c322ec9959"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof patchSection === \u0027object\u0027 \u0026\u0026 patchSection !== null \u0026\u0026 !Array.isArray(patchSection)\u0060 appears character-identically in 2 files \u2014 server/src/services/config-service.ts, server/src/storage/sqlite/settings-repository.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/config-service.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"455454ad6678688deb794b78f9bfd5b7a7bdecf5dcd7f912bd996d0e69956ca2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof task.position === \u0027number\u0027 \u0026\u0026 Number.isFinite(task.position)\u0060 appears character-identically in 3 files \u2014 server/src/services/task-service.ts, shared/src/utils/task-board-order.ts, web/src/components/board/KanbanBoard.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-service.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c71974b116039e94c819b30b0dbb5a8bb26b30049e6693c41d4f17ce3cebb2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof task.revision === \u0027number\u0027 \u0026\u0026 Number.isInteger(task.revision) \u0026\u0026 task.revision \u003E= 0\u0060 appears character-identically in 2 files \u2014 server/src/services/attempt-lifecycle-coordinator.ts, server/src/services/task-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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"163f3b34123155c79accaa4d3edc4155c0d5fe9f561ed6e018cbd1e5ef414b68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027number\u0027 || !Number.isFinite(value)\u0060 appears character-identically in 3 files \u2014 server/src/services/evidence-timeline-service.ts, server/src/services/work-product-service.ts, web/src/components/task/AgentRunTimelinePanel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/evidence-timeline-service.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f281a6e50bacb2dedfe657e8329b36ad4fc28bd6aa3a5bfd01b3bc213fa410"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027number\u0027 || !Number.isFinite(value) || value \u003C= 0\u0060 appears character-identically in 2 files \u2014 server/src/services/work-product-service.ts, web/src/components/task/AgentRunTimelinePanel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-product-service.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bbb44e6a5de7550890daa3d9b70d4df35fc75d7201bd64bacabbae5d050735"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 7 files \u2014 desktop/src/main/window-state.ts, server/src/services/knowledge-qmd-search-service.ts, server/src/services/progress-watchdog-service.ts, server/src/services/search-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":"desktop/src/main/window-state.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c93b7cf0fb37cdad893e3473c653585671e722ab644da64fec8f048b10f3c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 3 files \u2014 server/src/services/agent-budget-service.ts, server/src/services/digest-service.ts, web/src/components/settings/tabs/AgentsTab.tsx. It is one line, so the duplication detector\u0027s token window never sees 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-budget-service.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1114efb77d40474cdef8b436280c47b2d0b9285f141c4bf4a9563fbe6bb8f1d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isInteger(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 2 files \u2014 cli/src/commands/acp.ts, server/src/utils/concurrency.ts. It is one line, so the duplication detector\u0027s token 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/acp.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe29c89154aec1576a9be86ff6350db62065294c8e48ead9f05ccd1e1ed283"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null\u0060 appears character-identically in 5 files \u2014 cli/src/commands/doctor.ts, cli/src/commands/prompts.ts, cli/src/commands/snapshot.ts, server/src/lib/redact.ts. It is one line, so the duplication detector\u0027s token 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/doctor.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efcc404c430df2d67ab8470412cd47ed880e3b892c532729953dba90eae7ab2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 5 files \u2014 cli/src/commands/acp.ts, desktop/src/main/updates.ts, desktop/src/shared/desktop-bridge-contracts.ts, server/src/services/workflow-authoring-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":"cli/src/commands/acp.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25a850919c8f08553fb0153670d66cb7f93bb8553562d4ce272b399fa475138"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 /^[a-f0-9]{40}$/.test(value)\u0060 appears character-identically in 2 files \u2014 scripts/docs-media/publication.mjs, scripts/local-macos-candidate.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/docs-media/publication.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8361b2572bb918a487836250fc6d86a01d8fec5024004230815d15bfff12f97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 /^[a-f0-9]{64}$/.test(value)\u0060 appears character-identically in 3 files \u2014 scripts/docs-media/publication.mjs, scripts/docs-media/verify.mjs, scripts/local-macos-candidate.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/docs-media/publication.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6facd2e7a09cb16b7d074e9a13a1f8ca50fd6dc0141552c95f4c09034304eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 6 files \u2014 scripts/native-ui/contract.mjs, server/src/routes/auth.ts, server/src/services/credential-broker-service.ts, server/src/services/knowledge-qmd-search-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":"scripts/native-ui/contract.mjs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1ba112e6900c028aac61424fa42d346e7488e0c1d66e8e139be377bf586b8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim()\u0060 appears character-identically in 14 files \u2014 cli/src/commands/acp.ts, cli/src/commands/prompts.ts, server/src/routes/integrations.ts, server/src/services/acp-stdio-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":"cli/src/commands/acp.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2cd05b16062e0e8c83d6983f9a4ab27817730ef29802caaf33305c5f72db3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 || (typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value))\u0060 appears character-identically in 2 files \u2014 cli/src/commands/acp.ts, shared/src/utils/acp-json-rpc-peer.ts. It is one line, so the duplication detector\u0027s token 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/acp.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c0dc6a71e06d97d3925fe7b94baa6e0bd76bad68d068e315478f9d51185eb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.hostname === \u0027localhost\u0027 || url.hostname === \u0027127.0.0.1\u0027\u0060 appears character-identically in 2 files \u2014 server/src/middleware/auth.ts, server/src/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":"server/src/middleware/auth.ts"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1e8d2d77d2367fcb124d808c131b955a87b95e97d92969e14d50327a570b42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0027https:\u0027 \u0026\u0026 !(url.protocol === \u0027http:\u0027 \u0026\u0026 loopback)\u0060 appears character-identically in 2 files \u2014 server/runtime/run-tool-bridge.mjs, server/src/services/run-tool-bridge-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/runtime/run-tool-bridge.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ecc2dd90973bd61d16d368fdfba6d232745aeac9e43daa0028ed30b7b3514"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.username || url.password || url.search || url.hash\u0060 appears character-identically in 2 files \u2014 server/src/services/automation-draft-service.ts, server/src/utils/openclaw-gateway-rpc.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/automation-draft-service.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfef53372f43a8c6126336ac6595366b122a03f5860f3095638a2661b8e105a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== value.trim() || value.startsWith(\u0027/\u0027) || /^[a-z]:/i.test(value) || value.includes(\u0027\\\\\u0027) || hasControlCharacters(value) || /[\u003C\u003E|;\u0026\u0060\u2026\u0060 appears character-identically in 2 files \u2014 server/src/schemas/phase-capability-schemas.ts, server/src/services/phase-capability-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/schemas/phase-capability-schemas.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"478822d943fb24f7cf06fbd097b3320e33a7a4589c346b66443b1a02b142245f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 7 files \u2014 server/src/services/acp-stdio-adapter.ts, server/src/services/claude-code-adapter.ts, server/src/services/clawdbot-agent-service.ts, server/src/services/codex-app-server-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":"server/src/services/acp-stdio-adapter.ts"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"922e5cbf28847d9e7e6f8b8818c469e9daae0922dda75e8d925f0a519d1fcae2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.trim().length \u003E 0 \u0026\u0026 !value.includes(\u0027\\0\u0027)\u0060 appears character-identically in 2 files \u2014 server/src/schemas/knowledge-collection-schemas.ts, server/src/schemas/workspace-checkpoint-schemas.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/schemas/knowledge-collection-schemas.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a2b23ab287c9173b4695c87e4f08e10fce515871844e4fd0ab7e4ad2d0cf1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.history.state \u0026\u0026 typeof window.history.state === \u0027object\u0027\u0060 appears character-identically in 4 files \u2014 web/src/components/board/KanbanBoard.tsx, web/src/components/task/WorkflowSection.tsx, web/src/components/workflows/WorkflowsPage.tsx, web/src/contexts/ViewContext.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca827a20559c05282e0932470ee21f45cfe95357dd701ffd356b7856b86706b"}},{"ruleId":"X14","level":"warning","message":{"text":"IP classification is bypassable through an IPv4-in-IPv6 embedding: This function unwraps IPv4-MAPPED IPv6 (\u0060::ffff:\u0060, line 283) and then rejects \u006010.0.0.0/8\u0060 on its IPv4 path \u2014 but the IPv6 decision at line 300 classifies the address as written, and IPv4 reaches IPv6 through three MORE embeddings this function never mentions: IPv4-compatible (\u0060::a.b.c.d\u0060), 6to4 (\u00602002::/16\u0060) and NAT64 (\u006064:ff9b::/96\u0060). So \u0060::10.0.0.1\u0060, \u00602002:0a00:0001::\u0060 and \u006064:ff9b::10.0.0.0\u0060 all name a host inside \u006010.0.0.0/8\u0060 \u2014 the range this same function declares non-public \u2014 and all reach the IPv6 decision un-unwrapped, taking the opposite verdict. Unwrap every embedding to its IPv4 form before classifying, or reject any IPv6 address carrying an embedded IPv4 outright."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/egress-policy-service.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d315319ec3041081515c0f4a58651be6179bd1eb9366a543bd9c6a2780fdfbde"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validateManifest\u0060 is exported, takes a document from its caller (line 123) and hands it to \u0060findSensitiveFieldIssues\u0060, which calls itself at line 505 (\u0060this.findSensitiveFieldIssues\u0060) with a piece of \u0060value\u0060 (and at line 519) \u2014 and nowhere in \u0060findSensitiveFieldIssues\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 \u0060findSensitiveFieldIssues\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-capability-service.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c96ccb93435965e9316045aff1f6e91c9db9dd1d3464f13c706ee11e9be931"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redactDesktopBridgeValue\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 820 (\u0060redactDesktopBridgeValue\u0060) with a piece of \u0060value\u0060 (and at line 830) \u2014 and nowhere in \u0060redactDesktopBridgeValue\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 \u0060redactDesktopBridgeValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/shared/desktop-bridge-contracts.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aadba837a52ce995ebdd5eb1ec62794247e795b17658527b73b354c6d110a2a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 9/10 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: waitForReady: \u0060waitForReady\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/runtime.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5bd2d5af5f0692aaf40ce84e8f6175dfb75632cb1f5fd23234a318305d175d"}},{"ruleId":"X25","level":"warning","message":{"text":"Option is kept and never read: \u0060ActivityService\u0060 accepts \u0060options.activityFile\u0060 from the caller and keeps it in \u0060this.activityFile\u0060 on line 84, where only it can read the value \u2014 but nothing ever reads \u0060this.activityFile\u0060. Setting \u0060options.activityFile\u0060 therefore changes nothing: every caller gets the same behaviour whatever they pass, and nothing reports that the option was ignored. Read \u0060this.activityFile\u0060 where the behaviour it configures is decided \u2014 or, if the behaviour genuinely is fixed, remove \u0060options.activityFile\u0060 from the accepted options so callers stop setting a knob that does nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity-service.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9985692e59028515b97327fa60c75f505b4653910663321ea1361cb98ff36888"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/product-modes.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6c71a9b3a835ae7b56fe8513764e7b98034a964da1f48c8b7931689f36221"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/product-modes.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a27536ce7b2ef551fbe310fa0a45ddb53c9e347ceb92fa6c971b85dc69d729"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/hooks/useDashboardLayout.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e49d77cf895d7a62cf3457a1a94b6f53c2a4d78e4c99182dfa3e225e544437e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"617d118c6a974b63637d345470e66db6b6ed927fa0344da5b8c3f1501307d8f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6c720fdd701c1ec71d0f1cfb669dcd12c7b95ebe69cce4f9250313aab47e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6781046c3407d748edd7815f4fa8a1071da4311759ce6cce17d75df50c40633"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/ArtifactPreviewModal.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31993d1ce7ff5fa05879961719acc84f566ac5f30e5f200b0aa9eae3d0d7a75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/TimeTrackingSection.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"261716de40e8c211e6404194fe2dab8e2fc2c61b407f481afdadf8a2906d9e70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f40cd438742272bb6b3bcba37d65b9ec142685ec339beb5b6dd32268206da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/layout/DesktopShellContext.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a4d75fb8c73e69200073c12dce9cd4d8f0fb202d306997ea3a7729fb1db21d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/chat/SquadChatPanel.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fc98315ed7a34e899350360f12d6f02431c7704c683e42a1f6f0b342425642"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/ArchiveSuggestionBanner.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37ffa45bdca3982c38ef93b658c11c2de9778130c14123d42f19e03891f25ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"73296fb0d0ba2ff029d0ea8e6620b081344e2f2632d5007f8f516f571fc924ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/board/KanbanBoard.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e299048af3b6d9d998cae5e8325635c5c98ebc112a504fe9ddc35e9cafda11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/auth/DesktopOnboarding.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"241439ab13704c8fd7bb5897a425bdf0b8f613c38c8c03904f223d6030c7aea7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/archive/ArchivePage.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c71ab8756ae00c5a4e4bc7c8cc4bda937263f71f4e9f63df7be79d0dcca4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/utils/acp-json-rpc-peer.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f10ff92c2f86b848828bcba515085fbedeadd10326b35926dc2a4d0231cf3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/server.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cef595d64738f5ba7e4a8984c6dc2a100a3b8e3e3799bfab64f44e84a4bcc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/utils/filesystem-sandbox-runtime.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe14662623f48f14caae11dcd9cfdaf0d13b200003a1edb038bed6bbcd6033f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/utils/migrate-legacy-files.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cad484a62193771a18c14f29df7d085f8c601269d35399bd8e78b94ca3aa55a"}},{"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/utils/migrate-legacy-files.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad3acff7dc8ac1311213a1a5a7ec11cf627f10e9e3e4efcfb9f0e6cdb8c89e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/utils/package-version.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"578c40eaea2d6a316db682a66c2eea1bd8fc023c3e3b81fe41abce99390b78d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/utils/package-version.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17e4f0b82b326c3faea543346f1e72acd4c4483311bf0c3a9087fd055eb245"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/utils/paths.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5225e9c8f24f01916eae44ab630a9aad13e89aa3f9f7aefe3b26a42beff37391"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/admission-reservation-repository.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2e5dca295739b6ff4025ad1a0d9e244db30c9239e6f3038e32a9592f602cf3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/admission-reservation-repository.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9008c3be5a16b057326acbacdf2de375537b93bb30c9db40a938898c20143380"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/admission-reservation-repository.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a2a613aac27b59679fcd2b64e4938e209302d62f1206bddeeca5e779b35b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/admission-reservation-repository.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb17b86bb4a35e39cf931304b08b7c2b4e74ce7f96d77afa0dc49f1fde4a97f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/append-activity-repository.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7106135f50630492bdbebd51d4a2bc5f017672c865450ce01d5ffb250f8b3901"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/append-activity-repository.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9892a047fc3e0c62bffd1cf9c8aa72affe270a0e257dfe19e2808973acc992"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/backlog-repository.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa132a9ccd7c49407da7f3353be6a24c825106aeeaf311f0084dd02e4c0af40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"35632390f528b3778954cbdf814af8c2d10b5a07945fe87d712e3efe5f0be88a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/dependency-circuit-override-repository.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7c9092470bd4a05f5274ed47bf537f3eea8129736556880936c449ee4990d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/dependency-circuit-state-repository.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c66a1ed16f483f37d99c00ea722c09d2352f4968d125613de0323a427397ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/dependency-circuit-state-repository.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"81260c413b7d611e6c19e684b78bb790b179056650d277c0a37aa005975503ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/file-storage.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"40de091d3b104d3d621deae70abd11dc4514006250f242d3e09d17cd81a4d39c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/fs-helpers.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ff0489d7520334ce289d85058f85f2c0af53768d7e2377521c0addb5260245"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/fs-helpers.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb82827bb8ce338819b7abe93fa61657100a833b52c2cbd1702cf5951b16b6b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/run-output-artifact-repository.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f5e02a9f897e2ceddc1ad18e12c38ee531f43db2e16117d720b2d84981bec8"}},{"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/search-file-repository.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e95c61b3edd3a50be6286595cce5139321b2835b1c25370e267d9fab0c1e51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/search-file-repository.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6724f289564d503a88afde4a4858d7c22d60c7694a2f571203613e2ce28fb881"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/trace-file-repository.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e630dedd5e87d9eaf9d0603a6b443cd8c12aee261289c53b4ef0b3d838468f06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/work-product-artifact-repository.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8565cd5d41612d82fb63c2878e15933b6a83dba2f1688f524973cbc538e087"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/workflow-definition-repository.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0f0461ae35eb28bd58f2d0c0662e582670a2c693d699fce3336cc5e6b5bb36"}},{"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/workflow-run-repository.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5545a3ec4b73007c17c9e0183ef7cb90e51580449f64b8832ea81dc5faeba0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/workspace-checkpoint-diff-runner.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f6fe81ed0bbbf5d1e68eee17408cd9f6d0e16edf368e13554dfd197a4873c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcc5a44aeddeb58017b7e8c27106323d094790d7191f0100987530bc4ebe09f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/workspace-checkpoint-repository.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e64c17b2c8a5c67eed8fb422de8e0a4f75a68a1acba15f4c548154539e286"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/activity-repository.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09301018b16078663f719d39c8a590bb9d5bb0836653605db5b742e9add3db8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/database.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b81269742269bcb0c55c8698b429f331b407f0d4ccf8c8cd2a494ed516112"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/database.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf18206b37be49002cbc0f4f4bda06875bd90cbf7b1d541cbca5d4a87ed96646"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/device-session-repository.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6b77ed73e62e14ec28b3a76d54db17b6c9d104094ae5e7c601f71ef0df6790"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/identity-repository.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d218122cd8d1f075868b8320870a6f261e49d32116905fb220340c1e98faa8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/journal-maintenance-service.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9d7cff489d6d7931de4380355374f4da596c3749b425e520fd3bf1848f70b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/journal-maintenance-service.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc35c6063b96cf5c8e6bc51f153818a4274aaeeb1724a17ebe0a6000d179c73c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/journal-maintenance-service.ts"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15a9188669bb0416173d0201b2f6cd860f7df623c5efadffefdb0c92c9d7157"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/journal-maintenance-service.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baf9727d6c5b766e3dd3ce79a0f1a685bb7bb77aff7395ad0b1d3e087d2c13a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/managed-list-repository.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6d42aaeeea93d72f6f29048378ec1edd43dafc2c5cd1bde60f85424ec690b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/prompt-registry-repository.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9380ce634f4353357f3e1c407e305399e4c86b75d80bcf0d9ae45a9c9117b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/sqlite-ownership-lock.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f154eb456e1c99828d7ba882dd3a5841956b82ba5efe9ed5b8b4a63689828c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/storage/sqlite/sqlite-storage.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c253dfb8a4a5899d977076ae8764d795c1e7f1fcf885f5184b3a188abef5068"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/status-history-repository.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6077239603f5a9260206e5a83540436f9062ae54b71b63787dfe1f59e2da2a36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/sqlite/task-repository.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"827f39778adb09021982851117b23cb53f6f6ccf32d16f7839cf4b1fd182153b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/acp-stdio-adapter.ts"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"7208116acf3727c08222c682c4b7bbc3cef920a361a200a594be7a1ee6726fb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/acp-stdio-adapter.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"35208ec6b6f468aec37ae8f1490f0e8a82779c440f0a393e42dfae0e2ce1c21e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/admission-control-service.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9350ead0357533df9a987722c9670f6cc13627d71b542baeb09364e14add0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/admission-control-service.ts"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9743201d895c44563c078e9d253e55711a756f5420a8c72a37402c6d4085635"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/attachment-service.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadfd2b63c7c4fdb6f959c50aef92d4c308b2aba106f56a0e1e88d207da29aef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/attachment-service.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db5e8a4f696bd8cd7ae439b8d59e8e6c71232456cf0f63755d7a002a3f4147a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/attachment-service.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6160132480dbe0e4f6dd6031584a46da26184c5d49378286c6e94b9ac292523c"}},{"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/attempt-lifecycle-coordinator.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ec95a92c08f29543eec430af477bf68c57d632095efb8308d3b5d556852a4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/buzz-compatibility-service.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d16a70fcfa5d5969338de3bb2d9e8c91fd755d2f9d5c944effaf138c525ab42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/buzz-subscription-worker.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a195562723de9e7d242677df0acc2fa2dd87f7dd63d8ed0e6e345921cd7e56"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-agent-service.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3265397eb9ae495d8b1f7fb062be35bfad988bfe3f3e96b6a9bb5931282dae2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-agent-service.ts"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf88451119bc9d36b0b42dae58b73a20c17a8a2f3697a1e8ccce38b6b48dca3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-agent-service.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ff76f85be5667800bb060c4bf8de8eb6fab59f49f635346ccddb781316565"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-agent-service.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"583b1c0c808139f5943a41f867a647d0083c13112d91166003dc3b5ff45786bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/clawdbot-agent-service.ts"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3cd3f8eb66541c3599ea594a3364c79571c67562027575fb6462553dfc25b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-agent-service.ts"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0220305e995d2ac5fb0f3ea6c0f53d3069d4838e588def6c22807238d3df98a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/clawdbot-agent-service.ts"},"region":{"startLine":3408}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7e0ee7f38bba4c1d6c8eab23f9ceebdcfa35c7c0977102013ce158fe665a88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-webhook-service.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"67012de886ee4d868e623dda9c49d016c65ef148b1bdc4aae3a5cc2c1259c49e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/clawdbot-webhook-service.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e427cbd8a9148617e19b91c023eea551df66c3aee2a1251ed458d8a1935b457"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/config-service.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7232fb9e264255aa3923b7617792bd63272c3bcd6625ad79bb8725c13d4a4d0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/conflict-service.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3505319ee710326bc2a993e8ce984d66e007558ba6c600e45ed983bc7093d0c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/conflict-service.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcbad3401353ac5e238dc5ee08af943634669ec312782f15829f5e173f7665a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/conflict-service.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29ca8354826b3f3bf69765860daeb53fac145c84dc44163ceb9d3ed60be6f10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/credential-broker-service.ts"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cab7875571b8c521082ac0e8d74b15d3458dfbf24c739c0b84d88c472da814d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/docs-service.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"497c87da83622221c1ba095d79339603e965ea56067bbf8f8a7523c36cb30ad7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/docs-service.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4019f68849f2e6f5cd0461fa3f4d5e5e91895ed6af3b77d255613307b05176e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/docs-service.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a528a18e4dc5351b7f050e961bf6342d94c1c95e1fc7599954cec3b5a2ac34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/docs-service.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39474fd876fe4074112aa124ef44a462b702d2f0726a0a022326b7174995552"}},{"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/docs-service.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b3e7ba55f232a51a599137a989085fbb7e1567826a42fed0aec277fdb6b199"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/docs-service.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3503708395826f2fe181d6dbda69c1eb30a3174a4b1202efb3157a16ac2fbb53"}},{"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/docs-service.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"102ad52b745afc76dea42ff6f3921f460a54e2f40c163148dc96c771e4d3fb01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/failure-alert-service.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd30e4d1c21c73d5f08b447f9f2c5182c1b57261e55761beb952048d864228f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/gateway-chat-client.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e90f1ae2667c718179824798c637673e1e5150eb9f7fbd81508e12f08b3ac17"}},{"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/gateway-chat-client.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ceed15e8e1fa7c4e890edb84e8b6b5232379a026860f9744ef5e67c8834501"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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-service.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"3accbd1f1eaca96137f2dcdf264c020a8c1f4295cfb5f498d75c2e10f590e69a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/github-service.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c3371dc552fc33f2172d86a79ece005a540833dcad837e425eea149a7d6471"}},{"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/integrity-service.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"257d5a93826173cd10a2fc942d3a9de14ca40d9f0f3940249af8444bf49afa3e"}},{"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/integrity-service.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"41302f532a39633931ab78076654dd7198cc2056f64f545da326ac2e3457f12a"}},{"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/integrity-service.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4c61950019ba84c514624fe4e2875b9ad17162dbac99b970ae56b7f3c6f290"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/integrity-service.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2efcdb878a0f5c6ab389fa708c5068710582ca8a0a42fe515977630d7397acd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/openai-oidc-service.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"02aa6c7d9b2999494312542365a6e1ddc8877ee624aa7e841924b8728038f3f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/outbound-integration-service.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"00df775c22909c00b5505b824c5a529b16490269c8f01f77036a909aa0ec302b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/pdf-report-service.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1dc2a96fdc26582f7b19666490325d9b474dab7f036c56cd0aefc76c4a5bb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/preview-service.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd3aceb7e48ca7415c0a06a8919e4ac2249f17e71a32f0d14fae40a6522a905"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/preview-service.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"31af0a3aafc1f2d1285bbe3f5652b98d5930e5cae5134b6d6006486059c4ba5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-egress-gateway-service.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aef34c7bc2566f13944b767d9be6744b1d07ee44dc133d54a0cc09c427c1dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-output-artifact-service.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1610b996693dda23e70f27a35b00737e4e7d9161113979e61c63961bfce83d7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-terminal-service.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc727f4f110c770150c3a66350ac6b56d41e3056c19eadc9f502170eda42fe73"}},{"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-security-service.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5e52b48259e7a651bb5fff11210eaf26e70a4c27bc56e14c82228e48f6e51b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-security-service.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c519cb95635f22f436f5a797feba6830856887500f6300b5785465e03eddf50f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/sqlite-portability-service.ts"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6c4e2dfabeccfc9c0aa93756c927155b8fa198d382e9707b52e715c2b69aa5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/sqlite-portability-service.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab694770577531b4b99f01a39c4ae0b41541073adb9f57e11fc129946dcac8ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/sqlite-portability-service.ts"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ccc33b29c3dad8e1895cb3e37d2aeb05f6dba33d39b3654d3f3e88b415748"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-service.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a2d1472ae55c8572b6ea80729861c38e6eb810f53a499e122c440a9a5b9e6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-control-plane-service.ts"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e97b8d4123e5d2e3fc961b447e461276b1e61dbb6149c87de822dafc95c3b0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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-control-plane-service.ts"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e104bf2f1dd3ba04bb3681a9d85a29974ec7e4831f10f69b2c1d88e8e5c96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/trace-service.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d216e1df38f2fa7ba5479e0f4d969b1f13d9f120c1409c7f020d9c64365a0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/trace-service.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a922dbc68d3889a1ee4b14c18906eda327125ce2280f453eca4fb1dabe4e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d75986549cfd393ef15eeb243c9d8549c83c8e7b9f30163178e0eeef112c66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"853bc7e23b3cd0785f745a940d04cb8ea45b5ee5852f386fc57feab580482d6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1e2eb23d164868c0d4178d2e25f175d0832a39190ee017479e6c03e4aacf32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3d46794163a57fb232fa45cb785d1906cb724cbf1eba565bdb45d7e18fd29a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a495ee93b5bb157275b7acf0f12ab1d52fff1e97d8cc91cd1db67b5f1b2232"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6327d2e86371c15f409ce676901bff73f9072918eb90df2bd127b96a045b28b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/workflow-run-service.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70dc6f809692e6305521f0ac16ce6ae289a46ce1f9aaed5ddb28c0f23001462"}},{"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/metrics/run-metrics.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f16c7efbf86b9bf3ef2ced0c8ecd8ea11cd5bba8fca587fda5b27640dd5520"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/metrics/task-metrics.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"632679dae578531c886cd16f0bb50bbccf9e978edc4c490b6e280490d29c7441"}},{"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/metrics/telemetry-reader.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb46c89eafef2c7b409fc2d7aade05f25cb8623ba47a73c109ae3d680a777cec"}},{"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/metrics/telemetry-reader.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02b699b47933dbe16343adc7fe734141c904684879c5b043b7003decf3e84e6"}},{"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/metrics/telemetry-reader.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ac0db5a119786f34ce0ae9e0a7c4bdc8632341be2d10c3282a543c6d391130"}},{"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/metrics/token-metrics.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbed6dbed4d0f0de4b35fb4781d6e111d277ee20fa8bd936e85c0bb20750636"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/auth.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb58514b7b55706b92233c77324002ee34ed4de9cee42474e322aad4dee6932"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/chat.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"26614bc3f6d4934606c0c702e86991b53adc91e482cd84e61da9ee7edbfe997f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/health.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2dd31bcdb7257e222e70282eb1587db4b0c6f5f100413120731968fba3832f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/health.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0767335283aa76529edecb4d0b37560561a2ef850aea3e19fb43638482a10f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/health.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd80c83084779a44574fcc74dc1fc3de5a3bf2f6239f996fb3b9880ff3ac7f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/health.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0139e9e275548d75d69decc63ff571a000eef6db0db758f1af64240a50cc73f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/task-comments.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"36005c079f7c62a60a5aabaaff10c584d53ae4121544ba1f1b169115e9bd68c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tasks.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea291c2b6254edb2244c7ebe7dba31b53e14d8315a08081c80bb085007bf2a0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/tasks.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3193a578608436c6331a4afcb9387a63e60af60c36d409cf4b57574b8daadbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to 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/tasks.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a740df3ff04bcd8743767aaef4c7cc95ac62bbe95c5e0313728390d9269aa38e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/telemetry.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4113525a0ee8354baa992d19f7d3593c656cc9ad75542c0e2cd687e49956e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5d5bcf8a7094fb9290e5ea9b7ea11f443771879deaf5a3f185eb16994f57d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f682fb1f4e845895d778b174152a0c97ee592f46a46009dbd5a5f1b79b07f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/acp.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c87cc10a6b67567e16ee757e554cf0380b0740febb0267fd0cafa32f5583424"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/doctor.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"449c507078c6498536ae406c5dfca6c813de1967ba03adfb3cba1dd73ad3a811"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/doctor.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c11387cf46dd88afeb63fcec1e3c112703d5838ff09443015b992c6b93a2b38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/server.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"98701a345a3917e7af26b4d042701524a2e2d91f05534dfd31f608644164518c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 577 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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/server.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f30dddd3e1d4dd961a562e9641c2b5c39cd97ea1e669750766d5ed16d11083"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1378 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/server.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f741316f70b60924fe992d8ecead51338f5fe59dd866a234917adcb0f9918ab5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1388 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/server.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e586442ab4cf4b823d2afff516312f3ce6078579623fb69f4f155fcc21420f64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 44 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/utils/migrate-legacy-files.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a390b84605503ce5ec9a3c35db50d7c8f080db1d98a8e8e203ef9b177c6de9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 48 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/utils/migrate-legacy-files.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74194dc84d57f2f80c57df14818600c6879a0ba51f1d2fcc9b1959b49bfb290"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 315 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/storage/append-activity-repository.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e7d70984ae004c8b662ad0c83d83499103102f50f8610a0de3e8d6c46645bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 243 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/agent-registry-service.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ed0f3e3bda76ae4f96ae9b8333312f5fa43c55a16a8e8487637c8893e94b10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 331 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/agent-routing-service.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e7b7284f63286966306e59a575194c4dfcec55ae45cfd837203a0bae9e02a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 377 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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/agent-routing-service.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"129067a83250880ebbaa58d48f7ec18e465cbb89fd808b1e08e05db8a010acee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 459 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/agent-routing-service.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95af4f4d41d69626a1b3255ccad22a031033c04a0be5e73495dfa7c1fd0931"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 486 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/agent-routing-service.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6333dd2f8522e926ad43c8053b97f580373f2546c5f5136bc320f0baf7fe0fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 492 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-routing-service.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1cd3fccab762dc9ef37fb10ef37e315a86f06330cb9803df00be4b588fd13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 66 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/attachment-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b423f5a15fcdf498470de0726d0bfb76222a78c01c3d24472ca25040d0f1e038"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2639 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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/clawdbot-agent-service.ts"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dd3d5dd6befe4d197840b63cc23907418e394bb9d43e5f1095dece124e3e1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 249 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/diff-service.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35ae1a7654fdd5108bde8f2559623ee8a87ca71db852d459f95ce2cae7e9ead"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 133 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/failure-alert-service.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad84557806de315035bd856bbf480398589fcb5aafd2c34e55e0669089ec3a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/failure-alert-service.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd4b273898dbf6b0e038926b122b0f7fdf58c5ebc0a0594fb4f2ea674820481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 173 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/failure-alert-service.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0a091067fca1707e4752d079a298dd950d6a27359e8e76f2ffea426bc4180d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 232 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/failure-alert-service.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0631943a59ce68d6b0b7159ccbb2e9ab7aeff416ff8ee6f72fe397a62b23818"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 62 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/migration-service.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e23f1116da16e99e938295684bf5a879db224a62aefb66ecfeba12a92c061fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/project-service.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee5bb9c1f42327377d224d11c7b76bb164ae3f78fd318ce38b87751fb3396e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 178 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/prompt-registry-service.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6841b1d72d5dab52ead76e539bb2738c362d9b87bd95af6136859d45370983"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 380 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-registry-service.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6730e6f103306a46a603aa270094d435ccf523f3f9604fa1e5a7e1ef72c5aea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 87 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.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/sprint-service.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb294ecff6f593e416d2525c8f7bb79985ce72f42ddd3978ff0ff922abcfcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 253 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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/status-history-service.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c405868c6b4f52351d98bca3a8ce2dccf99b06e3dfe9dcd21ebde3534d975c11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 183 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/telemetry-service.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecffafa4147683d88efd014aa44bb19220afecffbc5d5d152fe1358c16deb0b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 595 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/telemetry-service.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"172e444441198aed4917d356eed2e9bb6de2a7aeb95db62b563b4a5ec3a94464"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 149 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/template-service.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"500e809c7cc4ac791d27e3fbcdfee87345d9c30aeebfff77a0070750a25d6b6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 250 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/metrics/run-metrics.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ef2f89ed17c10208bab73e477df5468d9750898212d08212516d4454604b88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 97 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/metrics/telemetry-reader.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b110bf3ed96151fe1709fade385b3b9c39da70d3985efc1097ba81744320e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 176 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through 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/metrics/token-metrics.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3ffe539be029fd840ba072989cb3742ab1ee63d0b8bde2b17f4d3d83c17071"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-status.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84a2c7ec751d2f803f887337cde1c55b2293e3dd04b96e2af16739c7630b871"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 297 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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/config/security.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca89f31e0a9f3530ad84c6e6cc783839accbd060862a534748390fc5168fcf"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.2 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 49 assertion(s) across the 310808 source line(s) of the 1068 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: web/src/hooks/useDiff.ts (5), server/src/services/credential-broker-service.ts (4), server/src/middleware/auth.ts (2). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"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/agent-health-service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9611600232201bb69043a80f3005b4d41e5d9d3fbc2457ba29ca35f71b7693b8"}},{"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/agent-health-service.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1156e27ecc513dd43feef80e657d11050f97c75f30b62a86a2ba6e3c24f0977a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading decision reviews...\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":"web/src/components/task/DecisionReviewSessionsSection.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee425345edd3cfe5776ac9a2bf6cfdf9293c21318a1349c1d9943ac574f2169"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Git Integration Loading...\u0060 under \u0060configLoading\u0060, but \u0060configLoading\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":"web/src/components/task/GitSection.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32cd55bfd5e0036c41518642407fad4887178571673faa3a40261226fb299d"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060isSaving\u0060, but \u0060isSaving\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":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"652e3f27d257ac99cef4d7578cd59ec2fa7d12ba28cc84ff05796e6f1bb8fe0d"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060isSaving\u0060, but \u0060isSaving\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":"web/src/components/task/RunModeGateSection.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ce2cc4c206d48e98cb0e1adf231696693400f2a3fa36ca64639f835f17d5bb"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading branches...\u0060 under \u0060branchesLoading\u0060, but \u0060branchesLoading\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":"web/src/components/task/git/GitSelectionForm.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a7527038eb5ee68bffbde95db71abf8ea126a4d745317f75d4bc2c4cdb6fe"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CCenter h=  class=\u0022text-muted-foreground\u0022\u003E\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/task/detail/ProgressTab.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8441d5085877f9c92b7f47283c2179b9ff57e37c4ede38bfe8bd9747c6550b17"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading delegation settings...\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":"web/src/components/settings/tabs/DelegationTab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e8c4906f51556edb79b4cd4ce1140be4251927f6b3736f0dbf15d17fe0f206"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading...\u0060 under \u0060templatesLoading\u0060, but \u0060templatesLoading\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":"web/src/components/settings/tabs/ManageTab.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d090628929bd17318e52e6b3c9ed55c4b35e752f251eb813d1c4f27cb9859ab5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading evaluation history\u2026\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":"web/src/components/scoring/ScoreExplorer.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3bd009c3a70193dc579a491d9160a4be7ee7b4a76be0ffd9399f713b9ebada"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading profiles\u2026\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":"web/src/components/scoring/ScoringProfiles.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfef031c02c50dc82f45f5880132ef8b32cbe3b1f31fd9a1c53b6323dd26be3"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading templates...\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":"web/src/components/prompts/PromptRegistry.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"860bfdeefee0a1d06f6a57cad1665aeb03cc2be0436b69c8bc847a0c0eab3929"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading archived tasks...\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":"web/src/components/layout/ArchiveSidebar.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba889d88486828bf786a93ba1047ac2b5bdef3959e34fd5864a77968fbf1f190"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022 aria-hidden=\u0022true\u0022/\u003E\u0060 under \u0060isSwitching\u0060, but \u0060isSwitching\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":"web/src/components/layout/WorkspaceSwitcher.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae164cde168bf96e54e6fe52fd29506a84547994bf3de79defa492455c6045a5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading decision details...\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":"web/src/components/decisions/DecisionDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"828a9764072d30a7b2f2384c8c4d1b047b79c05c2615435c624307804c707aea"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading decisions...\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"48491f71d644cc7858fd8a91aa2ba63bd1ee4b6695eb28af74eee8b3112a40a3"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading governance traces...\u0060 under \u0060tracesLoading\u0060, but \u0060tracesLoading\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":"web/src/components/decisions/DecisionExplorer.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9092e02972a9100bb5342a68f9701b3766e2d3cb3452ad6942215005d14560fe"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading governance trace...\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":"web/src/components/decisions/GovernanceTraceDetail.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09438a6ae178416c5e178e0facaf18aefb20085473270c5f2ae73d02ae764fb"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-4 w-4 animate-spin\u0022/\u003E\u0060 under \u0060archiveSprint . isPending \u0026\u0026 confirmSprint === suggestion . sprint\u0060, but \u0060confirmSprint\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":"web/src/components/board/ArchiveSuggestionBanner.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b05a22ee44f491c3f6c0004b8f50a6cd3aa0d97f4e5c5d225bfc899e6028401"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-4 w-4 mr-1 animate-spin\u0022/\u003E\u0060 under \u0060archivingSprint === sprint . name\u0060, but \u0060archivingSprint\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":"web/src/components/board/SprintArchiveSuggestion.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"707fa38a7edbe803a22bc99adb63c45d1626e841cb87a93d39a7643c4b6ff228"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060redactUrlForMessage\u0060 swallows every exception into \u0060return \u0027[redacted url]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/doctor.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"333dccfc1a5df256d06f43092933ca6f1481632f1127a650b25282011e8a2ea0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060redactUrl\u0060 swallows every exception into \u0060return \u0027[redacted-url]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/snapshot.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd937e4871e73336a7a47725e0721176d750e71dee4957ffaa27ca93a14a13f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060defaultCliVersion\u0060 swallows every exception into \u0060return \u00270.0.0\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/snapshot.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c989af3cb247fdabd76ee2a9a263f5bdc5a288d7484a728b7cb81b5ee477d594"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sourcePath\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":"scripts/dev-process-ownership.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f67b7e6f05714e8e9dd966a0b02f01afd9784c66480f9e1e773ffdca30feac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060commandOutput\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":"scripts/wait-for-desktop-ready.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"297bf13d4b0cb5c8778804a52c6d8197a85ae141a2af30baf4e33fe32cf0c8ec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileSize\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":"server/src/storage/append-activity-repository.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fdae05550f6eee14819132bb0dde8d1b873a38ce31094117d22cdca3d8c67f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonArray\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/storage/broadcast-repository.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6c7f2171dc1840e22854cefb01ba44edc36c065e205b281f34566edc34ab92"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060list\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/storage/trace-file-repository.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc352cc5741af981fef2bb2ee5f239168dacda26a2b15b149d6ec3d59c8c2d4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readOptionalFile\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":"server/src/services/clawdbot-agent-service.ts"},"region":{"startLine":8198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c51cc5819d17b31228ac146a71bda606e691d2c045ca7aecb82f62c4e2a51ff"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeTargetLabel\u0060 swallows every exception into \u0060return \u0027[redacted-target]\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":"server/src/services/run-access-summary-service.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"673f4a5f02e96a644e93dbcc70f52ff143c2365a36e1608b0e4c39b1b2df17da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getProjectCostAdjustment\u0060 swallows every exception into \u0060return 1.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":"server/src/services/cost-prediction-service.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4a485ab1a5c4655cf2d6d3f65e821cb909c7ac87184cc1d6c0862afbe48dee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060redactDestination\u0060 swallows every exception into \u0060return \u0027[redacted destination]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/tabs/NotificationsTab.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"54541a4f6684b639b54f88b0fef3a979b76100153e16b13ea629366c1a4c7e90"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDismissedItems\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/dashboard/NeedsAttentionQueue.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec433ac9891ea1ca3f97116ad603aa8020cb496a0a8775a5579203a5925017a5"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-310","guid":"97174724-2e33-8455-b7cd-5c3258d1cb8f","name":"CWE-310","shortDescription":{"text":"CWE-310"},"helpUri":"https://cwe.mitre.org/data/definitions/310.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-73","guid":"43703bfd-8c43-f15f-9cba-58e5f73ea7e9","name":"External Control of File Name or Path","shortDescription":{"text":"External Control of File Name or Path"},"helpUri":"https://cwe.mitre.org/data/definitions/73.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-755","guid":"ac8136dd-f77c-1c5e-bdcc-3905bbad9bd9","name":"Improper Handling of Exceptional Conditions","shortDescription":{"text":"Improper Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/755.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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":656,"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."]}]}