{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"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":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_command_inner (cyclomatic 316): agent_browser::commands::parse_command_inner has cyclomatic complexity 316 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988dd93321e8044cbf5f8f040624a04f3003886d3b5aa6af1f0c1a080fee190"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::execute_command_inner (cyclomatic 263): agent_browser::native::actions::execute_command_inner has cyclomatic complexity 263 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2c4aa6efc75cf93cc4a6f019f5b2940c4807c3217f2836e23961def12874e4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::output::print_primary_response (cyclomatic 176): agent_browser::output::print_primary_response has cyclomatic complexity 176 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/output.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"099797e1c6c248caed0a8610787893f1a3a769e4002eaf149c9aebe0e8ab45b3"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::flags::try_parse_flags (cyclomatic 162): agent_browser::flags::try_parse_flags has cyclomatic complexity 162 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/flags.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c88d521d2f4789ae27b80881aa21e4868892b66d74cd5012edc03d2026b67"}},{"ruleId":"D1","level":"warning","message":{"text":"DaemonState::drain_cdp_events (cyclomatic 93): DaemonState::drain_cdp_events has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d93f195914d41161291c12f3bb10b710a1ca489b03855b88f1361128ba145b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::main (cyclomatic 91): agent_browser::main has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/main.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75d69fa07b22f1d262fc86a5d14cf72d7b52ea5e1c2369c591bd94330570b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-panel.ChatPanel (cyclomatic 86): chat-panel.ChatPanel has cyclomatic complexity 86 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 64 belong to 21 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"496a244aed6d46f65df0542897e883c449dcc463b2f9f1e8b2bdc831a129a52e"}},{"ruleId":"D1","level":"warning","message":{"text":"viewport.Viewport (cyclomatic 75): viewport.Viewport has cyclomatic complexity 75 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 46 belong to 23 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0003caf211583612280cc62b31584d8e6161e66d6a38b6f8989175bc533a629b"}},{"ruleId":"D1","level":"warning","message":{"text":"DaemonState::apply_drained_events (cyclomatic 67): DaemonState::apply_drained_events has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1d255c3284c0b1127ee81f106a3122c8d17896ac85e79d1f23976036bde95"}},{"ruleId":"D1","level":"warning","message":{"text":"docs-chat.DocsChat (cyclomatic 64): docs-chat.DocsChat has cyclomatic complexity 64 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 46 belong to 17 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/docs-chat.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7088ba0019c5873329fe9a3fa610b9a87d0f8667211971aee0dbe1eb6d44692e"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::stream::cdp_loop::cdp_event_loop (cyclomatic 60): agent_browser::native::stream::cdp_loop::cdp_event_loop has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/cdp_loop.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3011dc7d18e0743ac0b08202273fcedef8bb0726fe6482f1e7a592f460ddc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::build_flow (cyclomatic 55): agent_browser::native::flow::build_flow has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc7775e27d7ad696956d51d5f327243ae3c885f7f1658c4337e8fc334c65583"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::snapshot::take_snapshot (cyclomatic 51): agent_browser::native::snapshot::take_snapshot has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/snapshot.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f799a4bcd6c9073189cbfc472808ede877baef4822a9f0d2eb4b2219dab564"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_diff (cyclomatic 41): agent_browser::commands::parse_diff has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"51de6f17c310c0979d424fb0a3caf512af278924c13e72031da2bf2c81ab952e"}},{"ruleId":"D1","level":"warning","message":{"text":"network-panel.NetworkPanel (cyclomatic 40): network-panel.NetworkPanel has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 11 of the 40 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 90, 153, 279, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"61711f12c6fd45fa531350d3f4c82cd6b3aaafbee15de8c45e50c8ca7bc58050"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::connection::apply_daemon_env (cyclomatic 39): agent_browser::connection::apply_daemon_env 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":"cli/src/connection.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"79066a9b4c1a5b1ea849e7b988b57e9c22495e5613753399a06475532195a0e0"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_find (cyclomatic 37): agent_browser::commands::parse_find has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8356be26b199e21ec227bc4f15d6e87536c5210a264cdb00d1b175202ee9a18c"}},{"ruleId":"D1","level":"warning","message":{"text":"webmcp-context.main (cyclomatic 37): webmcp-context.main has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/webmcp-context.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6870930f3b328f04bff7ead7f852b098dff70832037510693e0f0d9244bba80"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::incompatible_launch_mode_error (cyclomatic 35): agent_browser::incompatible_launch_mode_error 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":"cli/src/main.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"770447efece2284d576f4f915b9c98da85a772fd0eccdbd648f783a96d09f8a9"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::snapshot::render_tree (cyclomatic 35): agent_browser::native::snapshot::render_tree has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/snapshot.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a41a802f49d1dfd4222ea7965c2c950f499209652c5008f4995079d5d0b8c44"}},{"ruleId":"D1","level":"warning","message":{"text":"console-panel.ConsolePanel (cyclomatic 35): console-panel.ConsolePanel has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 8 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 104, a function literal at line 159, a function literal at line 208, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/console-panel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d77c35d3373dc39e3418bdbd67e45d217992723773d1b4a339f62679ed6c3"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::stream::chat::handle_chat_request (cyclomatic 34): agent_browser::native::stream::chat::handle_chat_request 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":"cli/src/native/stream/chat.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abe697ec030f7ce3d7e4644d3e6ca2de9968973d3c8ade8ca2c21805baf5aab"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::chat::run_chat_turn (cyclomatic 33): agent_browser::chat::run_chat_turn has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b893527af8c0a9f2b0a613fd8b6909ee817e596571d75da3c77f0ce8034c85"}},{"ruleId":"D1","level":"warning","message":{"text":"CdpClient::connect_request (cyclomatic 32): CdpClient::connect_request has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b9b0c5a7ac4be2dae34addc716881567f5d00011fd98e2be27e5152dfad2e1"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::auto_launch_inner (cyclomatic 31): agent_browser::native::actions::auto_launch_inner 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":"cli/src/native/actions.rs"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec2058154bb48aeff26448d82f243f8b0df8b2875059ec14d7c43f84fb2509f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::apply_settings_patch (cyclomatic 30): agent_browser::native::actions::apply_settings_patch 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":"cli/src/native/actions.rs"},"region":{"startLine":5916}}}],"partialFingerprints":{"codehealthFindingId/v1":"16396ee1126fe21172f667cce839e3934fd83ed4450a9174e218954cf776b4cf"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::stream::dashboard::handle_dashboard_connection (cyclomatic 30): agent_browser::native::stream::dashboard::handle_dashboard_connection 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":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"584777f1452944409141d8c7e7bbdc895f61dda79830077b29e5e15ebbc547b2"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::stream::websocket::handle_ws_client (cyclomatic 29): agent_browser::native::stream::websocket::handle_ws_client has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/websocket.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"495a558a4bd67e5b6bb37a2a2493fe04bfff7ebb0e7692b5b8db1320ff42cab6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::run_batch (cyclomatic 28): agent_browser::run_batch has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"96db83697ac38cc09540326bb85785b8e9deab7ca2dda7e978db5bf049258f4f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::cdp::chrome::build_chrome_args (cyclomatic 28): agent_browser::native::cdp::chrome::build_chrome_args has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01fc71915a26bcf8d8f6fb801ee4f7688451bf8ec5387d3dfb1be149b2c5be0"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::outcome::finish_run (cyclomatic 26): agent_browser::native::flow::outcome::finish_run has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f13e1401ab4e76dada3d80d6cd99d528af7ff6f648cf823c1acee0b5a8ebcf"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::snapshot::build_tree (cyclomatic 26): agent_browser::native::snapshot::build_tree has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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":"cli/src/native/snapshot.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab40531f0a4d6a1b08bfa4ba632bd686e5e481ade59f21b3ba4f0ba5fd1d8488"}},{"ruleId":"D1","level":"warning","message":{"text":"storage-panel.StoragePanel (cyclomatic 26): storage-panel.StoragePanel has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 61, 110, 125). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be9f2aac608a0e11bf3f8ef3100b0d57b66961da23652cc309e5eea8d56ad76"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::stream::chat::stream_gateway_response (cyclomatic 25): agent_browser::native::stream::chat::stream_gateway_response has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc90d7d7e17c496bc34a2723322e0fe961be6f463efb1ffd2ea0595fa9af4cd7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_network (cyclomatic 24): agent_browser::commands::parse_network has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"b711a69a7148f94edc4a770b8622a3d09af1e1d1bc776a7052bceef03480df6b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::handle_auth_login (cyclomatic 24): agent_browser::native::actions::handle_auth_login has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":14487}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa90805a9b61afe33a71f79098464b62a3f5c95c7390e03f96a74cb423f4676"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::replay::capture (cyclomatic 24): agent_browser::native::flow::replay::capture has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/replay.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb684cd6363d750c3dc6d6a6e68eecba0a8dd5675fd10d6ae745dd90020899"}},{"ruleId":"D1","level":"warning","message":{"text":"capture-docs-baseline.pages (cyclomatic 24): capture-docs-baseline.pages has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 163). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/capture-docs-baseline.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee36f21fd52c387fb02aaae7b287f0d1584f45d8f471ec5abefbe3920cfac9ce"}},{"ruleId":"D1","level":"warning","message":{"text":"search.Search (cyclomatic 24): search.Search has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 37, a function literal at line 73, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/search.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b49e9450f5e9395732c7666028a7bd3223a5543e4118aff78b334ac2d2250c2"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::run_close_all (cyclomatic 23): agent_browser::run_close_all 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":"cli/src/main.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19bdefa5f730f02f49c30b5b21f0b193e3b590d3b78dd12c9bf0baf628621d8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::doctor::webgpu::check (cyclomatic 23): agent_browser::doctor::webgpu::check has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/webgpu.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d03ef5c3846ba8506d0df3b0325fe5945f2970092b5df00b862aa8a5d417df6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::mcp::append_common_global_args (cyclomatic 23): agent_browser::mcp::append_common_global_args has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: agent_browser::mcp::call_tool (cyclomatic 165) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b65eb2a57b2d7c7559545f2fb0ed6a724dd8ca8f1e093776ad1b3191a3e5880"}},{"ruleId":"D1","level":"warning","message":{"text":"session-tree.SessionTree (cyclomatic 23): session-tree.SessionTree has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 381, 401, 485, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ce8f0b03c851f8581e78b005a5ac4c66465e1a521eca262c2840082697a8df"}},{"ruleId":"D1","level":"warning","message":{"text":"Running::plan (cyclomatic 22): Running::plan has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/session_settings/plan.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fb025a52893cfc51044103ae1e3ed988b526f3609e19c3fbf42884135a5120"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::connection::ensure_daemon (cyclomatic 22): agent_browser::connection::ensure_daemon has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"86334b27b2cef25f0555cb30a66f989ce535e957f9ccd61740c3ef554b5b9ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::launch_envelope_patch (cyclomatic 22): agent_browser::native::actions::launch_envelope_patch has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":5651}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b3aaa8f3e810d1367d366facfa7580afd29ffee28f3094863992964326e4b6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::har_compute_timings (cyclomatic 22): agent_browser::native::actions::har_compute_timings has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13332}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f53547355bedd9d010ea03dcac553ec4f1b4b0bfaa02d7931b05f3263f7d514"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::stream::http::handle_http_request (cyclomatic 22): agent_browser::native::stream::http::handle_http_request has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/http.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceff2f0fcdd43b9eeb49b5d61437f25a16e3d03e1e197224f4dc0e77e75a80a4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::chat::parse_gateway_stream (cyclomatic 21): agent_browser::chat::parse_gateway_stream has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c55e2e2b725adcaa3942fee1ec534c37b4225dbe295912f2f18656ae507b007"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_flow (cyclomatic 21): agent_browser::commands::parse_flow has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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.rs"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12fa87fd6bc52a355a66f19c7ecf5d89e51218096a258eca5cca699d1725dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::http::run_http (cyclomatic 21): agent_browser::native::flow::http::run_http 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":"cli/src/native/flow/http.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7823b6f0a9015f7336f0777a40b0910dfa8ae834834fe9ebebee7014f7ce1c6f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::skills::run_get (cyclomatic 21): agent_browser::skills::run_get has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"8721520b01e783091ef77df831c6959640eeaaeb7338ea69739187bd010ea004"}},{"ruleId":"D1","level":"warning","message":{"text":"Running::from_lookup (cyclomatic 20): Running::from_lookup 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":"cli/src/session_settings/seed.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f90fa6551c500759080d88a9eed4422981e49cb2b225228b5b7d8a3ef9911f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::doctor::security::check (cyclomatic 20): agent_browser::doctor::security::check has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/security.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5c6780d173821541effe8ee19fb2518f0737b2643e21a551a2dc4303c503ba"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::download_to_path (cyclomatic 20): agent_browser::native::actions::download_to_path has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8748}}}],"partialFingerprints":{"codehealthFindingId/v1":"004faefb800cbce49e19741233a2dcb28fd8d689dcd682987b0504b4e87982c0"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::upgrade::detect_install_method (cyclomatic 20): agent_browser::upgrade::detect_install_method 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":"cli/src/upgrade.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f9bc955909eec11ba77f7082b464a226fa056b467a829f469095ccde68648e"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::flags::clean_args (cyclomatic 19): agent_browser::flags::clean_args has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8c4adb3197ecc603c205517ab82fcae8a625f7105e6a63525c83d72865004d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::mcp::response_text (cyclomatic 19): agent_browser::mcp::response_text has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: agent_browser::mcp::call_tool (cyclomatic 165) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":4630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee62b54a5f5eaabfc6339fee7b9eaf6755a03b80f5f677fc190e414c7d76c67"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::browser::validate_launch_options (cyclomatic 19): agent_browser::native::browser::validate_launch_options 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":"cli/src/native/browser.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e690bf2f19b799a4c83393bbc2c6c70b1fdf0707ad0161483103e5358e4ed38b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::daemon::run_socket_server (cyclomatic 19): agent_browser::native::daemon::run_socket_server has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec27da621bd45d1bd8488cf111d557b233fddfb1adb7a396dad42f7ddc678ca"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::outcome::check_response_on (cyclomatic 19): agent_browser::native::flow::outcome::check_response_on has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1dcaaa65ef1837c4fbfbaf169a0f08339267ec70ebd2e6b3eccbdc40609782"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::react::suspense::format_report (cyclomatic 19): agent_browser::native::react::suspense::format_report has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/react/suspense.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e6b492a27b32fb3edf7ffae9f6c578bbfa0b876d2c855a59427b78e91643dc"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::run_dashboard_start (cyclomatic 18): agent_browser::run_dashboard_start has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"e690d0e2457aa3a8c2d525329ea58b57b28c979de7329c3cbd6754c81845c809"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_webmcp (cyclomatic 18): agent_browser::commands::parse_webmcp has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafe7e6770e8f0bc9d0749c80c8b86d7fb9f2fdfe63a02ff0c0edea139196d73"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_record_take (cyclomatic 18): agent_browser::commands::parse_record_take has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"858a627166b7946a907d08b93d4dc7e5bfb092b47cab65bf3d2e5e71dcae057b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::daemon::run_socket_server (cyclomatic 18): agent_browser::native::daemon::run_socket_server has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"49edb7c777c292374a60d639fdcfa6fa875290a498e8305bb11479bd54f28235"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::scrub (cyclomatic 18): agent_browser::native::flow::scrub has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6f25d39ca0249c2e488cb2fb664327ba8998eea70877dd7ccee87c581196aa"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::recording::changed_pixel_regions (cyclomatic 18): agent_browser::native::recording::changed_pixel_regions has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"121117fac145ac6da6701fc483037b58a8c0a1f3f86919b1d1ee514ffb838420"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::recording::spawn_recording_task (cyclomatic 18): agent_browser::native::recording::spawn_recording_task has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"901ae8f032bbcceef6ed26c06ed7acf91674206ac4e7dd6430bda43f6a97ad75"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::output::format_flow_text (cyclomatic 18): agent_browser::output::format_flow_text has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: agent_browser::output::print_command_help (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd68e383b316df03c6906f2098d0e4d21dddc45c96905bbe39e8bab6b93922d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::read::run_read (cyclomatic 18): agent_browser::read::run_read has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/read.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f486407eb9cd0e820127b161cf8b4160feaf2d660e805d9931340820ac5c16"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::match_quoted_arg (cyclomatic 17): agent_browser::commands::match_quoted_arg 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":"cli/src/commands.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbfb61c0c92d0bd4840d08dbbad73e949ac6fb372d6fd890125645c5ef3b5ed"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::commands::parse_read (cyclomatic 17): agent_browser::commands::parse_read 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":"cli/src/commands.rs"},"region":{"startLine":2623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c8df549245b6b6290a06eebda4185d25d2b8aa07958ed64b960222618df27a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::policy_actions_for_command (cyclomatic 17): agent_browser::native::actions::policy_actions_for_command 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":"cli/src/native/actions.rs"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e665e2bf6a7d6ba92bd43813cc6ae0d44d6abcacd9e883fb9a0effddec656cd"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::collect_webmcp_tools (cyclomatic 17): agent_browser::native::actions::collect_webmcp_tools has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the 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":"cli/src/native/actions.rs"},"region":{"startLine":10386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fe7397ba54ca3d40f26821837e4037ee420725215a6b30a6743d3ff825681b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::resolve_fetch_paused (cyclomatic 17): agent_browser::native::actions::resolve_fetch_paused 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":"cli/src/native/actions.rs"},"region":{"startLine":13646}}}],"partialFingerprints":{"codehealthFindingId/v1":"70da69342bf19c09f6dca1f2d74cff1b88d02feee5d9febc43812454736bdbc8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::link_requests (cyclomatic 17): agent_browser::native::flow::link_requests 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":"cli/src/native/flow/mod.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0881c545728aa3fc5b41fe350703d335ab3f73520be93d602327d440a90a4db4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::flow::replay::send (cyclomatic 17): agent_browser::native::flow::replay::send has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/replay.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"709fe232317d21786bdb5fd95f8a0fe1378c71abb0232bf0046e3f7c12f9ac0b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::tracing::trace_stop (cyclomatic 17): agent_browser::native::tracing::trace_stop 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":"cli/src/native/tracing.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"296e964f17b3c477ac741e0ac4541bc37a1d579cb965853e10283b3fab33a1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions.useSessionsSync (cyclomatic 17): sessions.useSessionsSync 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 218, 285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"944c79fd76338e5e2ca9ee5df0e1ad5ca523e9e0a3a1874ecc6d914c37121d26"}},{"ruleId":"D1","level":"warning","message":{"text":"FlowRecorder::record_key (cyclomatic 16): FlowRecorder::record_key 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":"cli/src/native/flow/recorder.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f18b62dd03509703d2c56a655f1e3292f8e5608d5f06d1ac40e33f9fc500e2"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::handle_frame (cyclomatic 16): agent_browser::native::actions::handle_frame has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":10814}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f41ce48804bca66630c52d80f7f51b0154a7aedb5e9c26b0f79855d49f4cb86"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::find_ax_node_by_role (cyclomatic 16): agent_browser::native::actions::find_ax_node_by_role 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":"cli/src/native/actions.rs"},"region":{"startLine":11399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f479a25d751b24a946ef04155f1be4383e7895a8e8e808e7d6491a064c170bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::actions::handle_flow_save (cyclomatic 16): agent_browser::native::actions::handle_flow_save 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":"cli/src/native/actions.rs"},"region":{"startLine":12473}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca2f4db919488d6f35574e58b32bc7de317053bc5878d7e9e3a46aad604ad55"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::browser::poll_network_idle (cyclomatic 16): agent_browser::native::browser::poll_network_idle 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":"cli/src/native/browser.rs"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1ce0a20eeca4e060d565afe59621fc08d6acf29099731340e419821c5ff2e7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_browser::native::inspect_server::handle_ws_proxy (cyclomatic 16): agent_browser::native::inspect_server::handle_ws_proxy 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":"cli/src/native/inspect_server.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f4393fa3a17085d59bfd0c514370a6970e72c66aab0e804d3c2d2376fe7dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_command_inner (cognitive 479): agent_browser::commands::parse_command_inner has cognitive complexity 479 (threshold 15). Drivers by points: if/else 129 (341 pts), match/switch 29 (77 pts), loops 15 (39 pts), boolean chains 22 (nesting depth added 284). To reduce it, split the body into named stages: move each independent step or branch into 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.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"479c327da5dfb633739408026b9f3d845ee7a46355175ac66b5e6270da494b73"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::output::print_primary_response (cognitive 476): agent_browser::output::print_primary_response has cognitive complexity 476 (threshold 15). Drivers by points: if/else 156 (383 pts), loops 15 (57 pts), match/switch 9 (33 pts), boolean chains 3 (nesting depth added 293). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b24d1575b9f34a0d1b2985fb67daaccdb56021d52f91e93f8d53456ecc495e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::cdp_loop::cdp_event_loop (cognitive 287): agent_browser::native::stream::cdp_loop::cdp_event_loop has cognitive complexity 287 (threshold 15). Drivers by points: if/else 42 (245 pts), match/switch 5 (22 pts), loops 3 (12 pts), boolean chains 8 (nesting depth added 229). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/cdp_loop.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6c1b158bb405b3c134cf48387e6c31a328a36841d2f54489eccb939389a685"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::flags::try_parse_flags (cognitive 271): agent_browser::flags::try_parse_flags has cognitive complexity 271 (threshold 15). Drivers by points: if/else 90 (242 pts), boolean chains 17, match/switch 3 (7 pts), loops 2 (5 pts) (nesting depth added 159). To reduce it, split the body into named stages: move each independent step or branch into 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/flags.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90da67f8ca1bf2fe76badf271bd309c9e295b03e52165528965421c198de253"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonState::drain_cdp_events (cognitive 269): DaemonState::drain_cdp_events has cognitive complexity 269 (threshold 15). Drivers by points: if/else 56 (243 pts), match/switch 5 (14 pts), boolean chains 11, loops 1 (nesting depth added 196). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"886d424aab6b7a8b08e95e6226144320f855517ef9178c6927f53eadfb00c80d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::execute_command_inner (cognitive 169): agent_browser::native::actions::execute_command_inner has cognitive complexity 169 (threshold 15). Drivers by points: if/else 66 (117 pts), match/switch 16 (31 pts), boolean chains 16, loops 2 (5 pts) (nesting depth added 69). To reduce it, split the body into named stages: move each independent step or branch into 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/native/actions.rs"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"71406aba2fb98222d2ed2ebbc6d8a15942dc7b9e2b4a23e68c89257f3771d16a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::main (cognitive 154): agent_browser::main has cognitive complexity 154 (threshold 15). Drivers by points: if/else 80 (127 pts), match/switch 9 (16 pts), boolean chains 11 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into 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/main.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92989e030b14b36c158d539b22c1759ac3f43725828364a9077821fc17ae43c"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonState::apply_drained_events (cognitive 132): DaemonState::apply_drained_events has cognitive complexity 132 (threshold 15). Drivers by points: if/else 37 (95 pts), loops 12 (19 pts), match/switch 5 (11 pts), boolean chains 7 (nesting depth added 71). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b1523b1f7466997815b71b888633c0545be4f6c6778b17a5f94c2697ce6f2d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::build_flow (cognitive 118): agent_browser::native::flow::build_flow has cognitive complexity 118 (threshold 15). Drivers by points: if/else 34 (84 pts), loops 10 (19 pts), boolean chains 10, match/switch 3 (5 pts) (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into 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/native/flow/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03a525088e1928ab908a61588211e3eecc8b0479377e8d26003a460ddced639"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-panel.ChatPanel (cognitive 106): chat-panel.ChatPanel has cognitive complexity 106 (threshold 15). Drivers by points: if/else 31 (50 pts), boolean chains 30, ternaries 7 (14 pts), loops 8 (11 pts), error handling 1 (nesting depth added 29). Of this number, 19 points are the body\u0027s own statements and 87 belong to 21 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a524cd05a6c21c41ade41b8ee53a38ed511e7c91477574a78953469ec5a2ef5f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::snapshot::take_snapshot (cognitive 95): agent_browser::native::snapshot::take_snapshot has cognitive complexity 95 (threshold 15). Drivers by points: if/else 36 (71 pts), loops 10 (14 pts), boolean chains 8, match/switch 2 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/snapshot.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca65134a834e53743e592eb2099d7acad4c096acfb141d019991b21852e88f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::chat::handle_chat_request (cognitive 86): agent_browser::native::stream::chat::handle_chat_request has cognitive complexity 86 (threshold 15). Drivers by points: if/else 23 (63 pts), match/switch 5 (12 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 52). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffddfff7b282fdf81925d111f3ec8e4dc7ccae6682149dcb88de4707cdc3adc5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::chat::stream_gateway_response (cognitive 81): agent_browser::native::stream::chat::stream_gateway_response has cognitive complexity 81 (threshold 15). Drivers by points: if/else 18 (67 pts), loops 5 (12 pts), match/switch 1 (2 pts) (nesting depth added 57). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9f6e4fd4486e49c4a5eebe19af3f67e63cbff494aa2a5907aa8a3e28c27fda"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::chat::run_chat_turn (cognitive 80): agent_browser::chat::run_chat_turn has cognitive complexity 80 (threshold 15). Drivers by points: if/else 26 (61 pts), loops 3 (7 pts), boolean chains 6, match/switch 3 (6 pts) (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5e7f4d1f7aebdca69955600cd51fe81008cfd0fd988ab553c3b078cb062c9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_diff (cognitive 79): agent_browser::commands::parse_diff has cognitive complexity 79 (threshold 15). Drivers by points: if/else 21 (52 pts), match/switch 7 (21 pts), loops 3 (6 pts) (nesting depth added 48). 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":"cli/src/commands.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3478d79374e797efce0d7048e0a701493dd06747796e3547ef6d82d1e71222b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::run_batch (cognitive 75): agent_browser::run_batch has cognitive complexity 75 (threshold 15). Drivers by points: if/else 24 (67 pts), match/switch 3 (6 pts), boolean chains 1, 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":"cli/src/main.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aebfeb8dbfa416ca4014fdd77e0bdd8c8e955992e26f91f85530e281ee7f910"}},{"ruleId":"D2","level":"warning","message":{"text":"CdpClient::connect_request (cognitive 68): CdpClient::connect_request has cognitive complexity 68 (threshold 15). Drivers by points: if/else 15 (43 pts), match/switch 8 (22 pts), loops 2, boolean chains 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cb69c353ff00e76ac56056a25975e997f0dbd80f20bff052cb92fe2c704869"}},{"ruleId":"D2","level":"warning","message":{"text":"docs-chat.DocsChat (cognitive 65): docs-chat.DocsChat has cognitive complexity 65 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 26, ternaries 5 (6 pts), error handling 2 (nesting depth added 9). Most of this is not in the body itself: 14 of the 65 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 279, 225, 311, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/docs-chat.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eab4567d53489849d8b3432e9e55a312bd2cde1b25d08f6dff3a5864000aa4e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::auto_launch_inner (cognitive 63): agent_browser::native::actions::auto_launch_inner has cognitive complexity 63 (threshold 15). Drivers by points: if/else 29 (56 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d46a8e291834020f838949d55088aa801654613587c590f5b1e566b48449026"}},{"ruleId":"D2","level":"warning","message":{"text":"viewport.Viewport (cognitive 63): viewport.Viewport has cognitive complexity 63 (threshold 15). Drivers by points: if/else 27, boolean chains 21, ternaries 9 (13 pts), error handling 1, loops 1 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 41 belong to 23 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ec2ffbdcbfc02bebd1efe3aa7b6a10926e27bcce3853caf3e27066b60f4f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::connection::ensure_daemon (cognitive 61): agent_browser::connection::ensure_daemon has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (48 pts), loops 2 (7 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"304b456a12cfef9273428bb4123c432eb8f64ec77e0310b38fac7735be2dd581"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::chat::parse_gateway_stream (cognitive 57): agent_browser::chat::parse_gateway_stream has cognitive complexity 57 (threshold 15). Drivers by points: if/else 13 (45 pts), loops 3 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0275cb24b651e8e4be23612895f7b3b815657bd089b7820ce66958777a9ef910"}},{"ruleId":"D2","level":"warning","message":{"text":"webmcp-context.main (cognitive 57): webmcp-context.main has cognitive complexity 57 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 17, error handling 3 (7 pts), loops 3 (5 pts), ternaries 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/webmcp-context.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b471547673836c1c75fd67561c1bd2983861bf9818e0dcc170348386dea22c78"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::websocket::handle_ws_client (cognitive 55): agent_browser::native::stream::websocket::handle_ws_client has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (46 pts), match/switch 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/websocket.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b28798fef6616a2516582a164adcf33b2f9b67b8c8040b10079347c3a2ff392"}},{"ruleId":"D2","level":"warning","message":{"text":"storage-panel.StoragePanel (cognitive 55): storage-panel.StoragePanel has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 6 (10 pts), loops 2 (8 pts), error handling 2 (6 pts), boolean chains 5 (nesting depth added 27). Most of this is not in the body itself: 8 of the 55 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 61, 110, 125). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525f8cea03f16eee9559c9a19edd977d9861a3818bb53c74c4f0c139a2d95c8"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::skills::run_get (cognitive 54): agent_browser::skills::run_get has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (42 pts), loops 3 (8 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"17041666e113da701159f5a9e660156063978e2d70f383164e32d9862c928c62"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::security::check (cognitive 53): agent_browser::doctor::security::check has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (46 pts), loops 1 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/security.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d45b4a8696e665895e9af14dbafd6301cd429396231ddbebbf52526635c7f55"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_find (cognitive 49): agent_browser::commands::parse_find has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (37 pts), match/switch 4 (9 pts), loops 1 (3 pts) (nesting depth added 29). 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":"cli/src/commands.rs"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1f9bfa9d9cb153055e8acc0878b693da488c6c014a9400e5128a7bb34db247"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::dashboard::handle_dashboard_connection (cognitive 49): agent_browser::native::stream::dashboard::handle_dashboard_connection has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (29 pts), match/switch 8 (15 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b160788015093701383e1b0adedeb9f9b9c2608afe3b0486567999eb7cc8e664"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::resolve_fetch_paused (cognitive 47): agent_browser::native::actions::resolve_fetch_paused has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (42 pts), loops 2 (5 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1c343efcc121ce41935ac642ce30131ba7e6d26e9beee00de20db6826ec0cd"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::run_dashboard_start (cognitive 46): agent_browser::run_dashboard_start has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (43 pts), match/switch 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"400e97facbc45399adf16d7d5d1b810b53fffca38e427b55be97589e5511abc9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::replay::capture (cognitive 46): agent_browser::native::flow::replay::capture has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 4 (6 pts), match/switch 3 (6 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":"cli/src/native/flow/replay.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"141f1b4bcd0855a15ac8a92fa94f3349b58003b05fddac5d2fb563ab432c39e0"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::snapshot::build_tree (cognitive 46): agent_browser::native::snapshot::build_tree has cognitive complexity 46 (threshold 15). Drivers by points: loops 12 (21 pts), if/else 8 (20 pts), boolean chains 5 (nesting depth added 21). Of this number, 45 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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":"cli/src/native/snapshot.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b196caed1536f0aed510a21aa3e8127cfe90281ef369884522babc282de34adf"}},{"ruleId":"D2","level":"warning","message":{"text":"Running::plan (cognitive 44): Running::plan has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (32 pts), match/switch 2 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/session_settings/plan.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9f611237fe82e9f5ce02cc8a0d418b0b38efda2bee623506f8ac9a69f0e0f1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::link_requests (cognitive 44): agent_browser::native::flow::link_requests has cognitive complexity 44 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 4 (12 pts), boolean chains 6, match/switch 1 (5 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b172c59c2e2071d6cddb11010db109f4f55e1dd03055c901719d4f9a8eb15"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::snapshot::render_tree (cognitive 44): agent_browser::native::snapshot::render_tree has cognitive complexity 44 (threshold 15). Drivers by points: if/else 25 (31 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/snapshot.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"248f72fc4b8f6821e5777a22f3be54b02bccc24ca713d19969c4d4bbadb54bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::run_close_all (cognitive 43): agent_browser::run_close_all has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 3 (5 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1c052e2e0447c91d6dc45079f8f385e3471d885cc83d4d0b38804ab2ba27c5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::react::suspense::format_report (cognitive 43): agent_browser::native::react::suspense::format_report has cognitive complexity 43 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 9 (15 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/react/suspense.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5812d0e79776ad73daa3905d2f28098ab205fbfa8c85dae44028993a3b8c0b95"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::flags::clean_args (cognitive 42): agent_browser::flags::clean_args has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (38 pts), boolean chains 3, loops 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a066ff87ebb01a24178b64692b2bb356b472cabaf2b7c88e94e17d39bf3568"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::tracing::trace_stop (cognitive 42): agent_browser::native::tracing::trace_stop has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (31 pts), match/switch 3 (6 pts), loops 2 (5 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/tracing.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c3a4deb1227c7df5f990287465b9d359751837958244f9dcb6e8d0092e73ec"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::changed_pixel_regions (cognitive 41): agent_browser::native::recording::changed_pixel_regions has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 8 (19 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1800b8a0d96271bbcb136d2b7b9d997f4b49e1d38b08f49a95ad2048d276d87"}},{"ruleId":"D2","level":"warning","message":{"text":"network-panel.NetworkPanel (cognitive 41): network-panel.NetworkPanel has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 9 (12 pts), boolean chains 8, error handling 2 (4 pts) (nesting depth added 6). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 90, 153, 118, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"351897ce0923b4369f60c0fa7170afe60f0f55f21a070146962e6fed5726b443"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::cdp::chrome::build_chrome_args (cognitive 40): agent_browser::native::cdp::chrome::build_chrome_args has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d51d412e16e745a2db3ef634df135968c41253352e82a80d2c844b9372879a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::connection::apply_daemon_env (cognitive 39): agent_browser::connection::apply_daemon_env has cognitive complexity 39 (threshold 15). Drivers by points: if/else 39. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"938c226973466d9a69ff3bd2bbe5a15a9fdb09095c2de94db6dc808afc53b3d2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_auth_login (cognitive 39): agent_browser::native::actions::handle_auth_login has cognitive complexity 39 (threshold 15). Drivers by points: if/else 23 (29 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":14487}}}],"partialFingerprints":{"codehealthFindingId/v1":"5510bf351df8355b81870455996231f3e534fa881dc32965066a124a7d5111b7"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::download_to_path (cognitive 37): agent_browser::native::actions::download_to_path has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8748}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a225569da83eb21ae675d86d709ef16fa1d9d79d4eb5696967cde5b0aa179b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::http::handle_http_request (cognitive 37): agent_browser::native::stream::http::handle_http_request has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (27 pts), match/switch 2 (6 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/http.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e509f07f26310f8ff4de76786b0a40154e181b71900d30d87221650dd0c34"}},{"ruleId":"D2","level":"warning","message":{"text":"console-panel.ConsolePanel (cognitive 37): console-panel.ConsolePanel has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 12, if/else 5, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 37 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 208, a function literal at line 104, a function literal at line 159, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/console-panel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2537493770464642fa7ca3aa6c7c63d360c9ae778be14c06cb0a29f3393ed103"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::connection::walk_daemons (cognitive 36): agent_browser::connection::walk_daemons has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (28 pts), match/switch 3 (5 pts), loops 2 (3 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fefeadc1da68878a7308dd5412d5ebbcc21646c5d48290d2936d63c18aeccf8"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::scrub (cognitive 36): agent_browser::native::flow::scrub has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"103e08eaaadf9963a7ebf65731dee9a4c118f49b3ebbc23bd751f0f4b831a12a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::composite_cursor (cognitive 36): agent_browser::native::recording::composite_cursor has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a36332adc160efb95b1272c38bed2e1039db2ae29f359848470806f6a0cffb"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::discovery::discover_sessions (cognitive 36): agent_browser::native::stream::discovery::discover_sessions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (34 pts), loops 1 (2 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/discovery.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2662ad6f88a6e5d30057a1de7da703ed82dcc8ad7fb24c011a34de8ec50f8b91"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::apply_settings_patch (cognitive 35): agent_browser::native::actions::apply_settings_patch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 8, match/switch 3 (5 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":5916}}}],"partialFingerprints":{"codehealthFindingId/v1":"6128b4b89df84f7f5bbedc26e514fdb511616c7c4cbf6e038adfb9b8f79d7246"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::incompatible_launch_mode_error (cognitive 34): agent_browser::incompatible_launch_mode_error has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 17, if/else 17. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a56a9f012ea026389feaf6f7a494ab9bf93c05296bc4dc4bfd587069722af8"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::websocket::reader_loop (cognitive 33): agent_browser::native::stream::websocket::reader_loop has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (27 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/websocket.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb78f3c47a80925aaf178f4873a46287537f73b8283a83053e3ab92c94a04ba"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::install::install_linux_deps (cognitive 32): agent_browser::install::install_linux_deps has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (4 pts), match/switch 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3ad34f49671076f2f20ce4982bcf8f192ae40b80e94bf0e1295c7b5ed5cad"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::find_ax_node_by_role (cognitive 32): agent_browser::native::actions::find_ax_node_by_role has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (27 pts), match/switch 2 (4 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":"cli/src/native/actions.rs"},"region":{"startLine":11399}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8a00d89e6f4f9d333a39b4eb97fb370b06c65d142c09a9bd924cb0d33158c4"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.useSessionsSync (cognitive 32): sessions.useSessionsSync has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (6 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 16). None of this is in the body itself: all 32 points belong to 2 function literals inside it that branch (lines 218, 285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f812e96c994d6cfaf63d9fcd2139a5bf6972ba03ee4fdd9e9c0f93df4e3d4e94"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_flow (cognitive 31): agent_browser::commands::parse_flow has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 14). Of this number, 26 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c9e7bb7bb7c571b4bf524813783e3d4dbaac16aabe21d3e5cec744fda8eb23"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_network (cognitive 31): agent_browser::commands::parse_network has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cb534a40d67a330e91d01bb1d174c6cab2791c9fa832a8d97d2f09d49a973a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::mcp::response_text (cognitive 31): agent_browser::mcp::response_text has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":4630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e6d0ce3c1ffdfa2817b0eb27c6399baf1d6c313312003e060a567e05de5265"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::install::download_bytes (cognitive 30): agent_browser::install::download_bytes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f764c448a75c6268826bfc9714e8834ba22dd451b05a0c377ad5ffdaaa2fe5e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::mcp::append_common_global_args (cognitive 30): agent_browser::mcp::append_common_global_args has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aacdd2753517d906e622c9f5d79a2be5320df817aeaaeac5b2c75bf7a7a9a32"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::har_compute_timings (cognitive 30): agent_browser::native::actions::har_compute_timings has cognitive complexity 30 (threshold 15). Drivers by points: if/else 25, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13332}}}],"partialFingerprints":{"codehealthFindingId/v1":"59953847d0df63216c90508d3a17d93bbbb34818331fe875af7d09a833f6c4e6"}},{"ruleId":"D2","level":"warning","message":{"text":"search.Search (cognitive 30): search.Search has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10, ternaries 4 (10 pts), boolean chains 9, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 37, a function literal at line 73, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/search.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b267e4769172d98ce4dbd31c2abcf81355a426aa8386a4f0cbd16e8c0a1306"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::diff::snapshot_comparison_text (cognitive 29): agent_browser::native::diff::snapshot_comparison_text has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/diff.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de697d8bff409defcaa0b98300a6a75640509510da593e4d634816546702715"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::outcome::finish_run (cognitive 29): agent_browser::native::flow::outcome::finish_run has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), loops 3 (4 pts), match/switch 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":"cli/src/native/flow/outcome.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e0cf2ab819fad8d77fe1fd5d40501833d528d942dafc7c625378dc3ded5b40"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::react::renders::format_renders_report (cognitive 29): agent_browser::native::react::renders::format_renders_report has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/react/renders.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d8b87d071778f6413d037ffbb93148ce713964a4110bc132a35caf657f96e5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::browser::poll_network_idle (cognitive 28): agent_browser::native::browser::poll_network_idle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (21 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605a0c5f2aefcce443341c533fe80f63203ee9d4f9ae8d868aa4d5a3a95acfe"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::daemon::handle_connection (cognitive 28): agent_browser::native::daemon::handle_connection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc4d48c3296ddcf7cd65e8dd1a2abfc0b314efb7b28ef034db6901059945b52"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::match_quoted_arg (cognitive 27): agent_browser::commands::match_quoted_arg has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c885bf11a0517da304c0be19cd25e472ee7ab0af15faef9a7092296607ff8bf"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::policy_actions_for_command (cognitive 27): agent_browser::native::actions::policy_actions_for_command has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2a21ecacc7db2e63dccbcc1d0688dae1f64e49dbdb1dc2f5ee9a79e80bad60"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::launch_envelope_patch (cognitive 27): agent_browser::native::actions::launch_envelope_patch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 4 (5 pts), match/switch 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":5651}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ce1349a8664b6f756c9b56fd0d5c19508fabe74e869380e679e783c51d34a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::daemon::run_socket_server (cognitive 27): agent_browser::native::daemon::run_socket_server has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 5 (11 pts), boolean chains 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b9a89b0906a22d0f7bda4685c8e7baccca601d2247dc2555e6acc535914436"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::network::format_console_arg (cognitive 27): agent_browser::native::network::format_console_arg has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/network.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9119e2fc7936a99212f778504b13a54d04fd79823cb0b6e8d1a572619178c278"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::composite_ripple (cognitive 27): agent_browser::native::recording::composite_ripple has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b648c76be01182a2262f0acef79d1b1478e42feb6be99020e7facd84a871829a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::spawn_recording_task (cognitive 27): agent_browser::native::recording::spawn_recording_task has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 7 (15 pts), if/else 8 (12 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25569a171f4782d6dde073f8ed0f530a9533bbb1871af21817bb91948beb75a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::encode_stream (cognitive 27): agent_browser::native::recording::encode_stream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f29aee16ded7329eb359116e7ed1b4cd79245481bedffc5a802f1fc4f481681"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::dashboard::proxy_session_stream (cognitive 27): agent_browser::native::stream::dashboard::proxy_session_stream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (16 pts), match/switch 5 (10 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b59ecd5fab306eab69e5d57ff594cc760e4066aa3633eec09614b3a0ffbe3c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::output::format_flow_text (cognitive 27): agent_browser::output::format_flow_text has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (10 pts), match/switch 2 (3 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd475dc93d29d91df4108bd8ac760faec30b1ac3e08c6fab12335d122a8998b9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::webgpu::check (cognitive 26): agent_browser::doctor::webgpu::check has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (21 pts), match/switch 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/webgpu.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aae99e4e38236c0d08b12901febdbc10c5e65732b77551e1fe97c5b2b5bbf2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::daemon::run_socket_server (cognitive 26): agent_browser::native::daemon::run_socket_server has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 4 (10 pts), boolean chains 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4753a4bc56fc9948b5c059f57c441e6abefb8ff26c2baeae7b3be0f3d86b58"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::http::run_http (cognitive 26): agent_browser::native::flow::http::run_http has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 4, match/switch 3 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/http.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba847f0b6b17583bb4295bc6551386b1e95eeabf6779c40abec69303f06741a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::draw_timestamp (cognitive 26): agent_browser::native::recording::draw_timestamp has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 2 (10 pts), boolean chains 1 (nesting depth added 18). 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":"cli/src/native/recording.rs"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"28742c17c5738511304593a7c70e621fe34d2c8d984634dd7d704b72968c5d06"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::state::collect_storage_in_target (cognitive 26): agent_browser::native::state::collect_storage_in_target has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/state.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aaf096947b7d6bb0cec8f16c6e0a58a8ce269119b6430aa03d1f3b533a0268"}},{"ruleId":"D2","level":"warning","message":{"text":"capture-docs-baseline.pages (cognitive 26): capture-docs-baseline.pages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, ternaries 5 (6 pts), loops 2 (nesting depth added 4). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 163). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/capture-docs-baseline.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"796899cf38055fa7afabd72531c3a5c14a5de67a0246461f92c51774278ebe97"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::apply_tab_binding_on_attach (cognitive 25): agent_browser::native::actions::apply_tab_binding_on_attach has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":3897}}}],"partialFingerprints":{"codehealthFindingId/v1":"912153207f9884e5020af2a626651774af6b30ab7f5ed42482e4d2ad533732ca"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_tab_switch (cognitive 25): agent_browser::native::actions::handle_tab_switch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a077f12fa04adad6eeb08853fe3f54ab236124fa8dbc47d097f2fce6c69cf6f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::outcome::check_response_on (cognitive 25): agent_browser::native::flow::outcome::check_response_on has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 4 (8 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8354487b635ec181ae95c89743390e21f17715df78060627f60654d6fe1d241"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::inspect_server::handle_ws_proxy (cognitive 25): agent_browser::native::inspect_server::handle_ws_proxy has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 3 (5 pts), loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/inspect_server.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef1e9b9fb1b676d2d5299dccd5574953629ba9e98315f4e724cd07e2e5409e9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::state::state_clean (cognitive 25): agent_browser::native::state::state_clean has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 1 (2 pts) (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":"cli/src/native/state.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"962684024abb059a73ae13fc3e6cbe0a16b59a21b1c4684d4cc18b0575d9acad"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_frame (cognitive 24): agent_browser::native::actions::handle_frame has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). Of this number, 12 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":10814}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa9a0c06699a86ca9f2c76254d5bd9012417134d005ba1451dcf80328af75b5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::skills::run_get_refs (cognitive 24): agent_browser::skills::run_get_refs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5016e8fe3cd69980ed8beff6b9d0a133c1fd1c58304114c59c26f4a9ef077008"}},{"ruleId":"D2","level":"warning","message":{"text":"session-tree.SessionTree (cognitive 24): session-tree.SessionTree has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, ternaries 6 (7 pts), if/else 6, loops 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 381, 401, 497, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd22c9827a0e3ec66c82e08081b7a69ad69deeba283de6e7fab240d04a3ca13a"}},{"ruleId":"D2","level":"warning","message":{"text":"Running::from_lookup (cognitive 23): Running::from_lookup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), loops 2, match/switch 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":"cli/src/session_settings/seed.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8491a8091bfd3bcb351f677c08131ef9604c7d4e00d1552049b074197edbbc5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::chrome::check (cognitive 23): agent_browser::doctor::chrome::check has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/chrome.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"637e6869327076e3e9552013d7174bf206cc6ab6ba98184f8b42a37f6d6f5cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_vitals (cognitive 23): agent_browser::native::actions::handle_vitals has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9847}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af7ecad880930b89f761854e78ccc9868097f4da6c32f2bdf105c70b7191052"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::replay::send (cognitive 23): agent_browser::native::flow::replay::send has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/replay.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5f0b817e1dcd5358dc48a3dca302a35fa9ec6ab7836a6f75f24d755796dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::recording::collect_frames (cognitive 23): agent_browser::native::recording::collect_frames has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d15d581aadacfb4bac66390e0190f2f75a1a7c1923e4f600e04da50b8990c3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::tracing::profiler_stop (cognitive 23): agent_browser::native::tracing::profiler_stop has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/tracing.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8e61fe0d991fe2b25edaa72e9ff90e4f862dbebf236e57ca467bd3399c27b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::read::parse_llms_links (cognitive 23): agent_browser::read::parse_llms_links has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/read.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35ff9898cb0d58feec0dd081901626baaa17f567b4027c0f73f08b7b73fa684"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::upgrade::detect_install_method (cognitive 23): agent_browser::upgrade::detect_install_method has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 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":"cli/src/upgrade.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"96df00d82c7ebe33808beef08c597d12e0f9fcce829ce2b3ef2b96fb07c0f791"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::fix::purge_old_state (cognitive 22): agent_browser::doctor::fix::purge_old_state has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/fix.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f04563792e7f0bd45599bb3593c655ccbaacc77cb42fcab2100eb21cb58e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::providers::check (cognitive 22): agent_browser::doctor::providers::check has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/providers.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7e64609744c79514ecc973be5819a10f0bf4094be3e7e05c6e2715307a2e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::wait_for_any_selector (cognitive 22): agent_browser::native::actions::wait_for_any_selector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":14234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf43f8a514e09e5fe95092bd70bc55f36693ffdd31b578f9a91311cc5079b28"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::template::templatize_body (cognitive 22): agent_browser::native::flow::template::templatize_body has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (6 pts), match/switch 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":"cli/src/native/flow/template.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6871be27d1b4c05c6ffc0afa1ece8a7c9205822228af9ee94b639a200cfdf019"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::plugins::run_plugin_command (cognitive 22): agent_browser::plugins::run_plugin_command has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 4 (7 pts) (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":"cli/src/plugins.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"660fb65a6e8026a4e45becf60f2dafa3726af1a52f00eec1a692b2ee07a05676"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_record_take (cognitive 21): agent_browser::commands::parse_record_take has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c627fe63cbb79df4555dc083e0ed83c8e72ef313c7eba63ddcf6ddc8bfc71"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::connection::get_socket_dir (cognitive 21): agent_browser::connection::get_socket_dir has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (21 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b409eb9646a6c94dc92e74f5f5a36c52e9dee6b6ec5757861244b2cc307c5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::daemon::check (cognitive 21): agent_browser::doctor::daemon::check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/daemon.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b962eb1432b4429022f45a5f93c04b038131d3953432247f83385e1d78ee9d9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::browser::validate_launch_options (cognitive 21): agent_browser::native::browser::validate_launch_options has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8 (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":"cli/src/native/browser.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48f7761228050c7bca67c2b435c1eef01dd54576b78f44c141df2f7a02618b5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::daemon::run_daemon (cognitive 21): agent_browser::native::daemon::run_daemon has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3082640c0aea91289c73bb77b10d753cd8e795ab2152bab0117f86d74188a4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::element::resolve_element_object_id (cognitive 21): agent_browser::native::element::resolve_element_object_id has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (21 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d382f3cdd01a578595ba501db44888c5e6c71c448747a8eafbf02b0588d7fb0f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::matches_at (cognitive 21): agent_browser::native::flow::matches_at has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cd159370eab2fa6a6cd61ad4b7bfa92b47601afde5d80bfd459c4a112ba0de"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::output::format_a11y_text (cognitive 21): agent_browser::output::format_a11y_text has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbb464f6431f63806c4a4b97d98af541feacaa3f73108ba44a7b6824eeebdb6"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::read::run_read (cognitive 21): agent_browser::read::run_read has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, match/switch 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/read.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dbe1c5260c88eb64bd9b4eda403e2f0745f31e1093735bf70a54f7cbb97141"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::skills::run_skills (cognitive 21): agent_browser::skills::run_skills has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 5 (7 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14aa32254fd63e002fda023bf35d93b3cea1497b036e5aa2d8d3b61ce5edd7d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::chat::run_chat (cognitive 20): agent_browser::chat::run_chat has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33d561b38328a4852e55583db765f4cff7a4adc152141979a17b059ff897223"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::chat::run_interactive (cognitive 20): agent_browser::chat::run_interactive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"684d6c4e9bec379064db770bc1292491220565cf8fb6dd5a5fee200cc3227823"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::collect_writes (cognitive 20): agent_browser::native::flow::collect_writes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29973af158302bd92084c72b7986106e250f1d1ef01193d35ec6d1c2699b7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::outcome::tier_result_of (cognitive 20): agent_browser::native::flow::outcome::tier_result_of has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"19860ffe40c62cef8c08f48281be1f374c3d0f6b9f2577ebb9c28b5aa397c379"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::webdriver::ios::list_real_devices (cognitive 20): agent_browser::native::webdriver::ios::list_real_devices has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webdriver/ios.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b690db32605fd930421dc2e490bd96e7684797b7292efd14f54b1231fe09c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowRecorder::record_key (cognitive 19): FlowRecorder::record_key has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/recorder.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d0e9f21ac129a526d6fe241515bf1d4b53b47010f818ec1dddff0d1232b6f2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::commands::parse_webmcp (cognitive 19): agent_browser::commands::parse_webmcp has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (10 pts), loops 3 (6 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7aa339256684de2ab0b2f8b5a781474b528e13ac49a7e1886487409ee30ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::doctor::fix::run (cognitive 19): agent_browser::doctor::fix::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/fix.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefd9ed068c66469173a5401f09a7f166f5355d5a41a4217e7bbe114139502fc"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::cdp::chrome::maybe_start_xvfb (cognitive 19): agent_browser::native::cdp::chrome::maybe_start_xvfb has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f67067c7beeed25b843f7fb9e1d5068fbe71d343524014fa10a0df213da413"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionPolicy::check (cognitive 18): ActionPolicy::check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (18 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/policy.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d7b58daf071f73f7f779f12cbfcaaa938f320dd149f1c4a4c0d1843076ef2f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_tab_new (cognitive 18): agent_browser::native::actions::handle_tab_new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8495}}}],"partialFingerprints":{"codehealthFindingId/v1":"905742234983e9d434bbeb71484af44870100731458e8e18ea97d766a430ed47"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::collect_webmcp_tools (cognitive 18): agent_browser::native::actions::collect_webmcp_tools has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4 (6 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/native/actions.rs"},"region":{"startLine":10386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e185042332ab7a392760b83892519284124866b69904c918688a0e7010069a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_responsebody (cognitive 18): agent_browser::native::actions::handle_responsebody has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":11972}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2170129a340b6d0d81f1f9720f0b01c840fbfa956ca675b5d53b588f70cc67"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_flow_save (cognitive 18): agent_browser::native::actions::handle_flow_save has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (4 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":"cli/src/native/actions.rs"},"region":{"startLine":12473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a7eb255ec819d1590e056b5e5fb9dbf0bf6ef849ceaa70e3787346e970601b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::handle_requests (cognitive 18): agent_browser::native::actions::handle_requests has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13989}}}],"partialFingerprints":{"codehealthFindingId/v1":"7474d0bcd0200fee54852ede50a362df41e85ba62c54cd78d23a73e53992a205"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::snapshot::find_cursor_interactive_elements (cognitive 18): agent_browser::native::snapshot::find_cursor_interactive_elements has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/snapshot.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e33e901767b168cbca9866614fee479a552aac5ec5ad8c45529fd1e50aa0540"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::install::find_installed_chrome (cognitive 17): agent_browser::install::find_installed_chrome has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8b9f05fb3fffd15085991fe4e80cd98ac55786efe8c0c5ed4875ab00b3d997"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::mcp::cli_tool_args (cognitive 17): agent_browser::mcp::cli_tool_args has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea708cd93a887f600724048711530ab98ebea3df636a30b168e1c1c8a9a940e2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::stored_flows (cognitive 17): agent_browser::native::flow::stored_flows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca7863e3b48e814857e682758223542bd12f1832a4e8117ced8666c499b6436"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::send::run_requests (cognitive 17): agent_browser::native::flow::send::run_requests has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/send.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6584eb8b46c5d329fb1275fa4b1b8788458b20adf4ad1d510f893f9127c3ccfe"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::skills::find_package_root (cognitive 17): agent_browser::skills::find_package_root has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a308783f00ea67b0698e5424abc39613f4e19a314b2e8e3b4b12a7a452862e6"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::skills::discover_skills (cognitive 17): agent_browser::skills::discover_skills has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"542ea61fa12809da8f82638c1afd354a3cb088892d17dd685f49353f7dfd4024"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::skills::run_path (cognitive 17): agent_browser::skills::run_path has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"701b643a499526b9c7ea336a8e73d56e265313d385bc5509b59711a60742bedb"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::run_interactive_confirmations (cognitive 16): agent_browser::run_interactive_confirmations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5399affaba1c3a842e698f5659b3f6094cc310e27afbc3e86a417567eb40c2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::run_session_id (cognitive 16): agent_browser::run_session_id has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"20505183b2a553582b944f00e0af786af4b60af8f9178f2044b9791decab2625"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::run_session (cognitive 16): agent_browser::run_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2844165705a639c45887d245c8018f17254b950256f352cd8cf7e05f0eb477a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::install::extract_zip (cognitive 16): agent_browser::install::extract_zip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f5d6ea968beb51c06be67b0c775a8f756957de9beedb0670e49b2cecf0696a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::snapshot_delta_response (cognitive 16): agent_browser::native::actions::snapshot_delta_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (5 pts), match/switch 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":"cli/src/native/actions.rs"},"region":{"startLine":6787}}}],"partialFingerprints":{"codehealthFindingId/v1":"626356add8821b0fca6494d9e3fec2a1b08bdb8c5bcd855261d9eb58792931d1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::actions::mocked_response (cognitive 16): agent_browser::native::actions::mocked_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13522}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f8a0aa4ff422e5b2345764d4a005bab02c0f74560109232f4e9c300372bb3c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::cdp::client::sanitize_lone_surrogates (cognitive 16): agent_browser::native::cdp::client::sanitize_lone_surrogates 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":"cli/src/native/cdp/client.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3265ce9dc4e8ddc455deb101325499c02ac856a0c598b1e2be19e4f23ea6f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::element::resolve_element_center (cognitive 16): agent_browser::native::element::resolve_element_center has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7148e661d3e272574bd6944c6d3a0dcf37da972a8190ed0e08e887d0a440a946"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::flow::prepare_all (cognitive 16): agent_browser::native::flow::prepare_all has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (7 pts), if/else 2 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a789f02c6c03ebaaeb88ec87091e0113c69eca4500f46dd0d365cd302408ffb2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::snapshot::compact_tree (cognitive 16): agent_browser::native::snapshot::compact_tree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 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":"cli/src/native/snapshot.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c65ccfe22c3c63e57da21c40ff0dd53040a41e4ee5e6908236d10c92dd614f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::native::stream::chat::build_summary_text (cognitive 16): agent_browser::native::stream::chat::build_summary_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e772875148065dbec11c0ae77d9b0c8204212ac77a567cf780fc2ed10718b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_browser::output::format_flow_hint (cognitive 16): agent_browser::output::format_flow_hint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc8f0bebbb512ad054d0317b9d5cf2451175374dabeb9e179bc1a3aa33445d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/actions.rs: FileTooLong \u2014 10916 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 398 free functions. The bar is 500 significant lines; this is 10416 over it, 21.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ed3cdce4f2120a3509cf78038c9f78392c10a350989e8e34de45d28aff00c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::output::print_command_help: FunctionTooLong \u2014 agent_browser::output::print_command_help runs 1748 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1648 over it, 17.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"add0b73356c2558e495f0f30865a299cf71dc4c4452b1d0e4b35c6e8d42ff291"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::commands::parse_command_inner: FunctionTooLong \u2014 agent_browser::commands::parse_command_inner runs 1286 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1186 over it, 12.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c75581773a1177dcbbeff44cf17db848b8d77cc6bbd0e4caea911eeb996c8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::mcp::parity_tools: FunctionTooLong \u2014 agent_browser::mcp::parity_tools runs 789 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 689 over it, 7.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":"cli/src/mcp.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e282d42282b03deea6f3f01bba457e5765fe784677d856907a84a37e0b915ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::output::print_primary_response: FunctionTooLong \u2014 agent_browser::output::print_primary_response runs 781 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 681 over it, 7.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"044d223b457c758fa96c62b785d68dba111dd095e85d67ffe3c3fbe84a555d80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/output.rs: FileTooLong \u2014 3751 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 3251 over it, 7.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8138fc0ccb269adb53f82bd9b44b0f1cbc5dd2f653765e5e4cfed164a16b62d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mcp.rs: FileTooLong \u2014 3605 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 168 free functions. The bar is 500 significant lines; this is 3105 over it, 7.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608ba48a18f5f27383fe8478032fa1a337d5ee94b60ae14f052798016e2ef70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::flags::try_parse_flags: FunctionTooLong \u2014 agent_browser::flags::try_parse_flags runs 581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 481 over it, 5.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbd3a5b6ae8c3dd7ad5b6c4aa9aafe9c72e4bebd7c287f2a0a135c95a82f96a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/commands.rs: FileTooLong \u2014 2799 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 2299 over it, 5.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efca1891164c3f039b44364affc06a00fa3c5622d2fddd495d1790d526f3032"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: viewport.Viewport: FunctionTooLong \u2014 Viewport runs 521 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 421 over it, 5.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a61f20b8508f4a4ef5eb0ba53a1542a01d0c01543c1595759f80bf34517210"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::output::print_help: FunctionTooLong \u2014 agent_browser::output::print_help runs 446 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 346 over it, 4.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":4409}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf6c54d09ffbd59bca4f11630d0909a3325f0858cf4d0c13fd06b56a84cf506"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-panel.ChatPanel: FunctionTooLong \u2014 ChatPanel runs 384 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0283b7b40706b5c71015148a56ed5fb3f8092915047e946be8e63bc1e64a58b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/browser.rs: FileTooLong \u2014 1878 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 69% of them inside a single declaration: BrowserManager (2 blocks, 490-2630). The bar is 500 significant lines; this is 1378 over it, 3.76\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c386aa4d9cb98906d5132e90279859bdcef217a203ec79ccea3e81001208c73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::main: FunctionTooLong \u2014 agent_browser::main runs 373 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69bb802dba1642096b07e5d17439cc36ac20bfb771200a2666bfd057895d027"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: docs-chat.DocsChat: FunctionTooLong \u2014 DocsChat 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":"docs/src/components/docs-chat.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce0249e6a1b3c4144f24e5b2a801ae6fa1497b065a7a50120ad2c3c26210385"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::stream::cdp_loop::cdp_event_loop: FunctionTooLong \u2014 agent_browser::native::stream::cdp_loop::cdp_event_loop runs 329 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/cdp_loop.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6964e40f3e846cc0f42328d6257ee71f958bbc7f9384f25663bafac46424879e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/mod.rs: FileTooLong \u2014 1642 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 78 free functions. The bar is 500 significant lines; this is 1142 over it, 3.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dd887f6900ae168c305a90b997d2ddda3117b0ba8f12852073ebabe48ffd3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserManager: TooManyMethods \u2014 98 methods. The bar is 30 methods; this is 68 over it, 3.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ef6856a4a81d04af66d7bd8944f6486e2d986cf0347d3eee42843c11189ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserManager: ClassTooLong \u2014 1302 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 98 methods, 2 blocks, lines 490-2630. The bar is 400 significant lines; this is 902 over it, 3.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7bafeb9cd039b15033fccaaaa77cad341ff26278c719c0f38b5b17d06212e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::flow::build_flow: FunctionTooLong \u2014 agent_browser::native::flow::build_flow runs 325 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eba442add5e83876ef184e2635cd725408ceb2c8fc2f857cc9c942ba2fb5c37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/recording.rs: FileTooLong \u2014 1590 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 53 free functions. The bar is 500 significant lines; this is 1090 over it, 3.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51939406360242c34a00f30822512acb6134df5e0998803715203c74e8a276"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 1458 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 49 free functions. The bar is 500 significant lines; this is 958 over it, 2.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"284e0f09fca81a97e76984ee680b62fc6accde18087100bb63f783713c944e59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Flags: TooManyFields \u2014 87 stored fields. The bar is 30 stored fields; this is 57 over it, 2.90\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70d6cb200053941ed3dc945e33d1126e41c00b17ae9b8983460e42734e7b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DaemonState: TooManyFields \u2014 84 stored fields beside 17 methods. The bar is 30 stored fields; this is 54 over it, 2.80\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421a6a0de1d0de1097db1cac87b0fba3e99b2727b74ee43c6ff5f5db2bb0746"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/element.rs: FileTooLong \u2014 1283 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 783 over it, 2.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95902b1ca44d07e424d53c71784101c3355acba611438d42a8c01d6bad9cd42c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cdp/chrome.rs: FileTooLong \u2014 1195 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 695 over it, 2.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a899fc2b76078e31b33602fd9bbbad4904eb39bb529beab14d6d18e091cd5331"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/flags.rs: FileTooLong \u2014 1170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 670 over it, 2.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c165c1dfbfdbe8f6166a5c428fbdea975568d4212873e18f2d2d7483edd37cb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: network-panel.NetworkPanel: FunctionTooLong \u2014 NetworkPanel runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b01e6d0d32a5903a8548482a1a4d694e1b158d9badd8a695a93f5c3597793"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::mcp::tools: FunctionTooLong \u2014 agent_browser::mcp::tools runs 229 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ca721f2e64b71d19c60f3df694bd862b6c7ba3e86db8f089c5a901aa40b5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::stream::chat::handle_chat_request: FunctionTooLong \u2014 agent_browser::native::stream::chat::handle_chat_request runs 217 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"14adf242394bea4f0d9ba98264fc732b0c0fe399f64d1f77a593d7b5843ee3c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: search.Search: FunctionTooLong \u2014 Search runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/search.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"499a02b11b57cec0fe36b1112e68775df9e879191dd4f86840d8cd7b4596687f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/interaction.rs: FileTooLong \u2014 1028 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 528 over it, 2.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa75a1f7d2491cc8a03af388867c7acd7552f66ae558d9db2818f0adc35a99c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-tree.SessionTree: FunctionTooLong \u2014 SessionTree 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":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e2b271b254f28d32c4893dfcd599b8eb8c13889ed0f5ee315f57945bd8b91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::mcp::call_tool: FunctionTooLong \u2014 agent_browser::mcp::call_tool runs 196 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"be14400409613aa8edd7447d225883ab2c470cd8e20c2f8179b57864f0bee425"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/snapshot.rs: FileTooLong \u2014 977 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 477 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":"cli/src/native/snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4060e713d7a3339e592d50d1af7c3a8610324d2e820037e7abe7ae7e6cdee64c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: console-panel.ConsolePanel: FunctionTooLong \u2014 ConsolePanel runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/console-panel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f42eb7b0b672dde6bb2dfa3d1e5fb525f005e1e79b2b3a7de58717923dc1f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::commands::parse_diff: FunctionTooLong \u2014 agent_browser::commands::parse_diff runs 191 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"cli/src/commands.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb36c803d575b2b925b03b053bb525d345faa587e9fdd7d7e5876bc9a7ec492"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Config: TooManyFields \u2014 54 stored fields beside 1 method. The bar is 30 stored fields; this is 24 over it, 1.80\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce0f1100abeba28dc35ca7caac259581f0cdc9b0416a3fdcead87651e2de362"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/read.rs: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 57 free functions. The bar is 500 significant lines; this is 382 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/read.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ff055c061dd63e7fa75f5d58a1220a7dd9b32d88cde60733f8e675807c238b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connection.rs: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 47 free functions. The bar is 500 significant lines; this is 353 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb90c0d303b68523d835d7a179293197d78dcb179acf2cd287ab7a074cf6b9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::output::format_flow_text: FunctionTooLong \u2014 agent_browser::output::format_flow_text runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"547d1b772f998c47793f5fad7f4d8d20298aed9807de70216e104f8887e14525"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::recording::spawn_recording_task: FunctionTooLong \u2014 agent_browser::native::recording::spawn_recording_task runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f3ef92ac20031f42d85f52329bc6f82c7ef2aa7d41d2c9f7652cb6aac640c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-tree.SessionNode: FunctionTooLong \u2014 SessionNode 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":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa80bc91f280b012a73d9f2caf15a3a6de6e903d21a3b3a7f716f019bca24ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::commands::parse_flow: FunctionTooLong \u2014 agent_browser::commands::parse_flow runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67511a8d1d0333638647cdb3cf9b18a758dbb593b92d7e5990b09345b3cf2fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diff-demo.PageMockup: FunctionTooLong \u2014 PageMockup 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":"docs/src/components/diff-demo.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c07041a5422f239fe50ddc7d8595bb459dee4b3e409303a685b41beeebd0e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/plugins.rs: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 208 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/plugins.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfb9a20c0838db81d3f62fdb91f0185d4886e1246386e3a07adae555f5932e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cdp/client.rs: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 205 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":"cli/src/native/cdp/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a728587eaf1106be5ecbf69fe13879e316362eae2c55f11160173af45e50e0ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/providers.rs: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/providers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fff95b9a83c6e5ddff5095af3357869336599d7ad070b603f1fcf27801d0a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::chat::run_chat_turn: FunctionTooLong \u2014 agent_browser::chat::run_chat_turn runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed24aca0af3126defc7fecf047ab557d5e0ec24f7adba50d41b12d0f1d08f18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::commands::parse_find: FunctionTooLong \u2014 agent_browser::commands::parse_find runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0936d710e5024e2a1c994a98ff5911f4928c1564665f89df01b6a8b7135d4301"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Running: TooManyMethods \u2014 40 methods, declared across 4 files: session_settings/running.rs (32), session_settings/plan.rs (3), session_settings/store.rs (3), session_settings/seed.rs (2). The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/session_settings/running.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bddfbc80d9cd33f49910a4169319ac92611dfb293e63108a31deff368827730"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::stream::websocket::handle_ws_client: FunctionTooLong \u2014 agent_browser::native::stream::websocket::handle_ws_client runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/websocket.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ce4c17ce5d4d86edcd2dad3265df95796a1aeb14828f26ed48c3cba9ce3264"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/outcome.rs: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863143410ef6faa2cd8643ba41dafc758d27fdc910541e53c62d04b99d4a3f61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/install.rs: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8457505dbb800d8fd8144e31381f079759a99bfb5ae6f7d595df181f248146"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stream/dashboard.rs: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 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":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef60f811721372e9ded03ae073d771021d4d2d2de4cb83cd2d394a50db272e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::stream::dashboard::handle_dashboard_connection: FunctionTooLong \u2014 agent_browser::native::stream::dashboard::handle_dashboard_connection runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e001c19db37366c4772665fdc9ebbacfda23589d1da70fb551177d441df554c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/viewport.tsx: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: Viewport (147-754). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d798145f2f40377e2810f9c6500cdf3ef276dbbaa06e095a79d835eb81a94b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stream/chat.rs: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 141 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed42dc2b518b93768a84853eea76962021c69f8051e4e1aa7c5c8c78daa7978c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::run_dashboard_start: FunctionTooLong \u2014 agent_browser::run_dashboard_start runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9fab20e84d1c2c75ef3b8bff48119e305fb2693e70a61ae9e9a3bdb3c614b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/chat-panel.tsx: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: ChatPanel (303-783). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"783228e8ef18d4acdea4ab32109b0ab3c1a5544f793301ca7ef4b978e675b90e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.DashboardPage: FunctionTooLong \u2014 DashboardPage runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/app/page.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6fdcde09cad644f6e18d31e32c773afa04225704f63d0c9c75c3a031a26f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::stream::http::handle_http_request: FunctionTooLong \u2014 agent_browser::native::stream::http::handle_http_request runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/http.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2a41e9233de798d5296ccf310ebf531c155f86e6c78fbcd46b1d1ebbc4ff76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/state.rs: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19633d9a1e618872c51d64042362b6ac3bbdc378cf70b03e730eb6e2f945e52c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stream.useStreamSync: FunctionTooLong \u2014 useStreamSync runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/stream.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894d35373774723684221450feeec22e866b06b96a86f9758bee5a053773f54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::commands::parse_webmcp: FunctionTooLong \u2014 agent_browser::commands::parse_webmcp runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e8d8a8b1c98c3fec34cad5ddd6e146a0b284e82a7c076cde5dae2ca48236ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamServer.start_inner: MethodTooLong \u2014 start_inner runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/native/stream/mod.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c46f40e75b8197ae0ebab0761ede7e24a95616c8a317ca8917a7ace199e170"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/recorder.rs: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: FlowRecorder (2 blocks, 59-690). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/recorder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e63b1f42b07b8f621b9deefbddcbdfb35ea1a8865fb760a20a68edcfcca41f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::connection::ensure_daemon: FunctionTooLong \u2014 agent_browser::connection::ensure_daemon runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6e672183e5110dd979dce28dffec4726502cc0506f1e138ad12e65a84d967d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::doctor::launch::check: FunctionTooLong \u2014 agent_browser::doctor::launch::check runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/launch.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a21a13a9797f9d7dc149778b302d804a1ac99cde1c5a4c8dcdc4cdb800b05f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlowRecorder: 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":"cli/src/native/flow/recorder.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5fddff56bba2369a712e737ebceb651d3930a8250020a8f99ef85e6f80590f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserManager.launch: MethodTooLong \u2014 launch runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd478069bbae449c100916bb64c71cd78f3e983470873330310bd067f7dbf32b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::commands::parse_set: FunctionTooLong \u2014 agent_browser::commands::parse_set runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"cli/src/commands.rs"},"region":{"startLine":3596}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f42bab025dd7e118e385a867549b29f0aea3c23fe97fb939393544c33941c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::doctor::security::check: FunctionTooLong \u2014 agent_browser::doctor::security::check runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"cli/src/doctor/security.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b3590ff533b6cbfbb04dd50408feefb453b997726775169d9e6231769528a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::flags::clean_args: FunctionTooLong \u2014 agent_browser::flags::clean_args runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7e0b057b26d3b5d421c4659cdcc3dfb83bf5b16917ed16f91265b4ba8de16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::flow::replay::capture: FunctionTooLong \u2014 agent_browser::native::flow::replay::capture runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/replay.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1d36227da6cc2671d1d97dd2067403e8510b5537a69dd3c64c35f00c7bc0d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::flow::link_requests: FunctionTooLong \u2014 agent_browser::native::flow::link_requests runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a15f31d4014c8b3f96887c67950b05991c267c71bec29932ed857b2ed48b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: storage-panel.StoragePanel: FunctionTooLong \u2014 StoragePanel runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8737cb230b20f80946324c4ad1be27c5a98ef3ebc32deb04c6d51561744752"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::daemon::run_socket_server: FunctionTooLong \u2014 agent_browser::native::daemon::run_socket_server runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab16d2725379e5af6536c732e849b3425dca1b7d90c78b79a39aa514bde66e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowRecorder: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 35 methods, 2 blocks, lines 59-690. The bar is 400 significant lines; this is 18 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":"cli/src/native/flow/recorder.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb6f48c4a62710672db7cec1b645b162a4d6001d9228192acd93ed0786c9f16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::flow::outcome::check_response_on: FunctionTooLong \u2014 agent_browser::native::flow::outcome::check_response_on runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4922bdc44ac5c491d2ea6bfc90bc3717e28887bcd43239cde3b4d81798b5bf12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::run_batch: FunctionTooLong \u2014 agent_browser::run_batch runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a98b12ee0fe3db3c10cfff01dc8c02fb1d417ae8410c64cff01407bdc506b6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::native::flow::http::run_http: FunctionTooLong \u2014 agent_browser::native::flow::http::run_http runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/http.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3978dff9765c5da29b1e5487032853623a7e2a6111c4ec15ab943bce0510313f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent_browser::install::install_linux_deps: FunctionTooLong \u2014 agent_browser::install::install_linux_deps runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dfa44a7733759ab76ed6381fae7b19dbd12bcd9aaf32bd6d3d08e690810b45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native/webmcp.rs: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webmcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7236fad2cdd003419c444de2593adc61f2ba98c34932a2ce9a3551450c5adff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): cli/src/chat.rs:405-495 | cli/src/native/stream/chat.rs:576-710 \u2014 These two members are variants of one another: 58 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"deee224c5d2a69d3905b34a5a6450ccaba30eff3e19a23f7ec698be575129719"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): cli/src/native/cdp/client.rs:755-822 | cli/src/native/cdp/client.rs:915-997 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"94338a08046870eeb71e69a762aa9e7f8969f7236f90e3e5f8ea935ff65840ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): cli/src/native/tracing.rs:76-181 | cli/src/native/tracing.rs:226-316 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/tracing.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd2f5f46eb82021e10d349d1301b83d38e268379135b614e1cfb8e85bf341d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (25 members, 50\u002B identical tokens): cli/src/native/actions.rs:7269-7295 | cli/src/native/actions.rs:7329-7355 | cli/src/native/actions.rs:7412-7433 | cli/src/native/actions.rs:7469-7500 | cli/src/native/actions.rs:7502-7525 | cli/src/native/actions.rs:7527-7550 | cli/src/native/actions.rs:7615-7633 | cli/src/native/actions.rs:7635-7658 | cli/src/native/actions.rs:7660-7678 | cli/src/native/actions.rs:7680-7698 | cli/src/native/actions.rs:7700-7718 | cli/src/native/actions.rs:9183-9200 | cli/src/native/actions.rs:9202-9219 | cli/src/native/actions.rs:9221-9238 | cli/src/native/actions.rs:9240-9257 | cli/src/native/actions.rs:9259-9284 | cli/src/native/actions.rs:9286-9303 | cli/src/native/actions.rs:9333-9350 | cli/src/native/actions.rs:9352-9369 | cli/src/native/actions.rs:9371-9388 | cli/src/native/actions.rs:9390-9407 | cli/src/native/actions.rs:9409-9431 | cli/src/native/actions.rs:9433-9443 | cli/src/native/actions.rs:9445-9469 | cli/src/native/actions.rs:11667-11730 \u2014 These 25 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 25 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 25 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5219dfbf0f7341e779455b86ad8042c965fad8d99e5559a205c0d54d8f661a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (140 corresponding lines): cli/src/native/daemon.rs:220-359 | cli/src/native/daemon.rs:370-518 \u2014 These two members are one piece of code written twice and then edited apart: 140 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305d54fc9b8116329a36326ff57ece978f69ad3dd6bc33b3afa88c09302d8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): cli/src/native/browser.rs:2730-2788 | cli/src/native/browser.rs:2837-2905 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"38214615d157d28167d72e49dc2520ec1b50e653857b896368aebcdb0eb2353a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): cli/src/native/element.rs:333-383 | cli/src/native/element.rs:606-657 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7d50c612b46971e7367516caf5220382fdff3aacc8fe102c18f4da732f987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): cli/src/native/cdp/lightpanda.rs:101-144 | cli/src/native/cdp/obscura.rs:136-180 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ca5c2b392e5c20c8f3eb700a6e8886a413a8731a090519ff18df387743c38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): cli/src/native/cdp/chrome.rs:1828-1865 | cli/src/native/cdp/chrome.rs:1898-1941 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"10107d10d62e40c4a91ea396861b422a0636041fd7b5e3a7d31fbf893482b3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): cli/src/native/cdp/lightpanda.rs:148-192 | cli/src/native/cdp/obscura.rs:182-223 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1785b11c4e38cf14d15c57c10843c023b912dd1405f38c6d9fb24dd19513fddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): cli/src/native/actions.rs:9610-9648 | cli/src/native/actions.rs:10024-10062 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9610}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7f24f452f9843a56fd77c4c47c0419baad8bd97bf153be4cb7a3e77c118142"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/src/native/actions.rs:7720-7737 | cli/src/native/actions.rs:7739-7756 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7720}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ef039c72e2570c1c5cf1f29f3e4b27fe9de630b03d3932f1ed275f2a6af156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cli/src/mcp.rs:3061-3088 | cli/src/mcp.rs:3833-3859 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c18143a61c930861cd95879b1cc27d32417d02b6b7047b500d3a97fac24c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): cli/src/native/actions.rs:15362-15390 | cli/src/native/actions.rs:15392-15420 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":15362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfe41be1c9f72acc296293d715f6c8389733c86e2909d2abbce717ef54cd380"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): cli/src/native/browser.rs:80-113 | cli/src/native/browser.rs:137-171 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beb6dcae62961dd1827c5f6419ffa1acffd66309ddf21223cab7658f68a1443"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cli/src/native/cdp/lightpanda.rs:196-216 | cli/src/native/cdp/obscura.rs:227-249 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b5d1927eaf0fb170597abf7abe20ec31f12e1bad92b731265cdb258229c4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): cli/src/native/interaction.rs:162-219 | cli/src/native/interaction.rs:231-278 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bdcb91fd0688b7cd92ab3c2321abf5245db364eb8a6cc427397005c414dd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cli/src/native/actions.rs:7297-7327 | cli/src/native/actions.rs:9305-9331 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4933fc52bbe305e59b8224fc5ceb8f87033a3001b43001935b0838367c73952b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): cli/src/plugins.rs:281-321 | cli/src/plugins.rs:327-369 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/plugins.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef66ed6afee769a4c1fd602933e11f7c76706914e28b626431b3a3b73ed7bf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): cli/src/native/cdp/lightpanda.rs:284-314 | cli/src/native/cdp/obscura.rs:326-356 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59f5fc3c1f28dc63a7b7f1c86b8942fe8576e79b392a1d8e09e15b3f2c63a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cli/src/native/stream/dashboard.rs:160-190 | cli/src/native/stream/http.rs:77-102 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca2269afed0b2a2fc094e3d516dc5177a0b433fc960871331a8917a3e62455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cli/src/native/flow/mod.rs:191-207 | cli/src/native/flow/mod.rs:210-230 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e7144d9e3338b0e106b26ba68011a748cdbc3ca6f85c6c6dc2925fed52feb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): cli/src/native/cdp/chrome.rs:1727-1764 | cli/src/native/cdp/chrome.rs:1793-1824 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4638ac4c00983948ed15779a15812c004ddbed2dde0a2f6f7917a5db901e0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cli/src/native/flow/template.rs:204-218 | cli/src/native/flow/template.rs:220-237 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/template.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4875e79cdb31c6e48ffbb58abe8cb9e5c540e7bd4e157b7d360f1cc210f1ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): cli/src/native/actions.rs:10783-10808 | cli/src/native/actions.rs:11756-11779 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":10783}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc40bb29b36618b6a6574b08c46afa1b0fbc49c585f4c0539cec5fe9571266d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cli/src/native/webdriver/appium.rs:85-105 | cli/src/native/webdriver/appium.rs:114-134 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webdriver/appium.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"984750762b20fee18f0f4890f3d8a7b333adefbe62fab0d2a2f752640586feb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): cli/src/native/element.rs:1185-1215 | cli/src/native/element.rs:1456-1485 | cli/src/native/element.rs:1493-1522 | cli/src/native/element.rs:1530-1561 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e115f1dc818860650f5956c238c89765bf7dbcf43511ac32bf42b4f825d9fafb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/src/mcp.rs:3791-3809 | cli/src/mcp.rs:3962-3979 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3791}}}],"partialFingerprints":{"codehealthFindingId/v1":"a098d3dece75765f28cf181d2af8e1d0449ac9f9ed30be8d34643eac23c0bdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): cli/src/native/interaction.rs:656-703 | cli/src/native/interaction.rs:711-756 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e5f2b9cab029fd52633eb0508ea6432fbdec4ec25ec96194bef4fbb19ac90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cli/src/native/stream/dashboard.rs:143-158 | cli/src/native/stream/http.rs:61-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1247868dba2b9458e86cb255dc6032df18edc345f63a89c64d6cb9e1dab452e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): cli/src/native/element.rs:1304-1341 | cli/src/native/element.rs:1349-1378 | cli/src/native/element.rs:1386-1448 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbff095e7f265401fb4dd9061e8a2e81ef0dd88abcc395f164ff25357a27422"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): cli/src/native/element.rs:1224-1252 | cli/src/native/element.rs:1262-1296 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f967132ac32d4fbc510ad3c684df23149f8a92ac7712c192a0a95be88bb65bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/src/mcp.rs:3603-3620 | cli/src/mcp.rs:3759-3774 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3603}}}],"partialFingerprints":{"codehealthFindingId/v1":"173f054ff7380aa0ca685cc32f6f1cc111d1c451b937d535cef806ff858960b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): cli/src/native/a11y/mod.rs:236-260 | cli/src/native/a11y/mod.rs:267-291 | cli/src/native/browser.rs:1552-1578 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a7af42b7d9147fe96c13c31882ae19172bbcad0fa95b2051de9f648c795c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): cli/src/native/actions.rs:11901-11918 | cli/src/native/actions.rs:15124-15143 | cli/src/native/actions.rs:15145-15161 | cli/src/native/actions.rs:15163-15179 | cli/src/native/actions.rs:15181-15197 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":11901}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f2242ac23ed25f44fcbccdc10b2741e5340c95867d817c1668bacecb2ea9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cli/src/native/webdriver/ios.rs:119-133 | cli/src/native/webdriver/ios.rs:135-149 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webdriver/ios.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9528f035c77a1d5d56038c22687ec159f27459df42ae31bb322745d92f448e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cli/src/native/actions.rs:8171-8187 | cli/src/native/actions.rs:8189-8201 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8171}}}],"partialFingerprints":{"codehealthFindingId/v1":"595ea461ba5878fdf15e000288ecea2e5643733c459cecc63b6eb5ba209b5234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/src/native/actions.rs:9765-9778 | cli/src/native/actions.rs:10009-10022 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9765}}}],"partialFingerprints":{"codehealthFindingId/v1":"f692525aeb382a88426c2ca26d6fd0fbb73acac47b010b51800f00e1a3d8e6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cli/src/native/actions.rs:4370-4392 | cli/src/native/browser.rs:1035-1067 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":4370}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c94d02db532f71a59c888c36d6a2ee2d92303d4861b2160dbb44e1e81dba85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/src/native/actions.rs:6426-6436 | cli/src/native/actions.rs:6529-6539 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":6426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af3dfb6a732c8a1c7811bf7aafa2bbfee86b66c72521f1db16dc9d4cea05cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/src/mcp.rs:3521-3538 | cli/src/mcp.rs:4057-4079 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3521}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb3e9494457bcb1687d277a2871901d000a8418b0426e810fd806f58ac9d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 26\u002B corresponding lines): cli/src/native/element.rs:1570-1600 | cli/src/native/interaction.rs:773-822 | cli/src/native/interaction.rs:830-855 | cli/src/native/interaction.rs:863-894 | cli/src/native/interaction.rs:902-939 | cli/src/native/interaction.rs:947-974 | cli/src/native/interaction.rs:1027-1061 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"127a75e446c03d9d0e2e31d1ce2b523efcfc6f8a451966a1aec3552869ebe44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/src/native/actions.rs:8067-8073 | cli/src/native/actions.rs:8075-8084 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8067}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd93cb9b85361bdca63a479245171483442ff1223ea8f0e73f8051bdf319c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/src/native/actions.rs:7357-7370 | cli/src/native/actions.rs:8043-8049 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9f0a5e6065354b83bd2b375b1c57025950dd0b66240faba1f31b64068fb50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/src/native/auth.rs:270-285 | cli/src/native/auth.rs:295-310 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/auth.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7950abafff38c8aea273fb3b90c4be10deb3c97acd15e6c7ed5a1e273ec32511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/src/native/cdp/chrome.rs:34-49 | cli/src/native/cdp/chrome.rs:110-132 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20d0a93277ce6545ca554656f70e561be2489c7fa3751a9be8b489f3fa6cf3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/src/mcp.rs:2974-2984 | cli/src/mcp.rs:3622-3632 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":2974}}}],"partialFingerprints":{"codehealthFindingId/v1":"af16de619802e1eca8d31c5e98094f3b1a55327cd18d502012c0c289f6b95a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cli/src/native/actions.rs:8922-8927 | cli/src/native/actions.rs:8946-8951 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8922}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11b289eb693f42b5f1935ac2d42d4e4d35aa96b795965b836cbe25b533feace"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/src/native/cdp/lightpanda.rs:42-57 | cli/src/native/cdp/obscura.rs:73-92 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9757da3b00f04daef74d80d3abceeaaf76718b1f5fc28750a46cf26140f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cli/src/native/inspect_server.rs:321-333 | cli/src/native/inspect_server.rs:335-344 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/inspect_server.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"614c0fbcbc08430365a315f44687e6c5698ec30cef8b9faf81704bd000826945"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cli/src/mcp.rs:3719-3728 | cli/src/mcp.rs:3951-3960 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3719}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca73107667dc05fc106d7456827faf175eb7f14928584aa9e858f56e1a55faa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/src/mcp.rs:3245-3255 | cli/src/mcp.rs:3981-3988 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1ee290582216dde6fba8c3448737ba1c20aae73188fb8404155bbcb37e053e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/src/native/actions.rs:10201-10212 | cli/src/session_settings/store.rs:237-243 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":10201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16f8f2952eec907acaffba4a0f1e3a1cbcdd7fe9c71e799ee183fd3437dc936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/src/native/actions.rs:8118-8127 | cli/src/native/actions.rs:8130-8138 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":8118}}}],"partialFingerprints":{"codehealthFindingId/v1":"193fd3ecb9ccdd36794364a032e187de0a3fce423632687c5977a5dd124851b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/src/output.rs:215-225 | cli/src/session_settings/store.rs:286-296 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbee64d8b34d957b386849cbd78aaed7e26126abbe1887b607d704bd5fe95227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/src/native/browser.rs:2813-2821 | cli/src/native/browser.rs:2915-2922 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7be9612f516aab1eaa18c9f1647b1517f977eb8a8054f9b98d17bb3df9eb01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cli/src/native/webdriver/client.rs:81-92 | cli/src/native/webdriver/client.rs:124-133 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webdriver/client.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7c4e06b29ad1b1ef805b410cc18f175772201dcf67e962d03a46c0455af99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): cli/src/native/browser.rs:2398-2413 | cli/src/native/webdriver/client.rs:61-69 | cli/src/native/webdriver/client.rs:71-79 | cli/src/native/webdriver/client.rs:135-143 | cli/src/native/webdriver/client.rs:151-159 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1663787154459b175fdfb8fa68527fa9f761782798f37bb504d3d426e90fac3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/src/native/auth.rs:256-263 | cli/src/native/auth.rs:326-334 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/auth.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abf2fa3742e49b9a3bde57232ce45be163cf86e4647b644b729383d1225deee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cli/src/native/auth.rs:31-43 | cli/src/native/flow/mod.rs:1617-1629 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/auth.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"054a7e4586216e422939cb0a48d75786ffae56a5e270dbe167c981666cd5024f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/src/install.rs:941-950 | cli/src/upgrade.rs:128-136 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba218e176c9fa51a2721689ecc01cbc50a246e378429d39440a0b60ddbb37ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): cli/src/native/actions.rs:13460-13466 | cli/src/native/auth.rs:45-51 | cli/src/native/screenshot.rs:658-666 | cli/src/native/tracing.rs:359-365 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13460}}}],"partialFingerprints":{"codehealthFindingId/v1":"80605244aeee386f09fdf5c2cba0659c11112129cadfcc032b2b20f1ede57075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cli/src/connection.rs:775-780 | cli/src/session_files.rs:112-117 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6557d397d7492c51084a7adf68786947b2eea48a8b5c5048f5a5b8eb04ef4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): cli/src/color.rs:10-14 | cli/src/flags.rs:347-351 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/color.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdf599ceee1ce1fdb6e734c4303b6c10db167594bea69ca6308409ece7593d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/src/native/auth.rs:60-66 | cli/src/native/tracing.rs:367-373 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/auth.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53c237bbe37ff4a320dc83a8cb2fce9778fac8e6c891fa1f080f85a3cdb31bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cli/src/native/flow/recorder.rs:890-895 | cli/src/native/stream/mod.rs:630-635 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/recorder.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1df2ffdff24a38a0b157c8efbdf08405c741e18e49ede2ec748105ee228c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cli/src/native/browser.rs:2237-2247 | cli/src/native/stream/cdp_loop.rs:599-608 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0f2ebffcffa27fdaccfdf811841e505d81f2956ce4812a445e9d58fcaa51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (95\u2013101 lines \u00D7 2): cli/src/native/daemon.rs:259-359 | cli/src/native/daemon.rs:424-518 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/daemon.rs:259\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3156c958d3991aed19ed8501f42fc7c80f2c681ccb855245e5772dde5c163196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): cli/src/connection.rs:525-561 | cli/src/doctor/launch.rs:56-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/connection.rs:525\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff7f440ec00ee99cc9012716b67c1fc42886045b8d85b85ef58f12acd1dcd50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): cli/src/chat.rs:410-432 | cli/src/native/stream/chat.rs:583-605 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/chat.rs:410\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c293bcb5d44cdc34b007cf9a098069b36a579c4611cf650ef5cff5b3864a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): cli/src/native/browser.rs:2748-2770 | cli/src/native/browser.rs:2859-2881 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/browser.rs:2748\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb0ce49cef0db2edc08b2f7d30d79f2e8b8b42b82929752b0ca52bd6813933b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): cli/src/native/interaction.rs:163-185 | cli/src/native/interaction.rs:232-254 \u2014 both copies are in the same file, so extract the block into one function there 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/native/interaction.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6c908671e9e56516ab25a8782d65b1c130ef6ad72046dd9a476e3326478223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): cli/src/native/browser.rs:1182-1202 | cli/src/native/browser.rs:1805-1826 \u2014 both copies are in the same file, so extract the block into one function there 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/native/browser.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62ea6d16fac0cd8727ddee09a8e02c90809c005b96c6925c95b7272a554d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): cli/src/native/actions.rs:11605-11624 | cli/src/native/actions.rs:11691-11711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:11605\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":11605}}}],"partialFingerprints":{"codehealthFindingId/v1":"349968b2e99a02ba471d1bee5e237370da436edbff4caee321968f32972910c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): cli/src/native/actions.rs:15363-15388 | cli/src/native/actions.rs:15393-15418 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":15363}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dff453acec1b0b56ef3ae2b662a91b7398239e2884a67ec3efc0307bf718c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): cli/src/native/cdp/chrome.rs:1849-1865 | cli/src/native/cdp/chrome.rs:1924-1941 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/chrome.rs:1849\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9fa8e1a04b0f10e4e418b35560139709e76af25ad83942e2821dcd7882b8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cli/src/native/screenshot.rs:513-530 | cli/src/native/screenshot.rs:539-556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/screenshot.rs:513\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/native/screenshot.rs:512\u0060 calls \u0060to_string\u0060, \u0060unwrap_or_else\u0060 and \u0060cli/src/native/screenshot.rs:538\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/screenshot.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5e6f5527664282b30321284d9a6017db2319a0210fc5699a59657d28ef1b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): cli/src/skills.rs:393-410 | cli/src/skills.rs:517-533 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/skills.rs:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f38209b31da707dc27540f4164630c7dafb511613e4342f1004f56722ed220d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cli/src/chat.rs:249-265 | cli/src/native/stream/chat.rs:916-932 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/chat.rs:249\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7f158cf899c1b2753fe441006a3999d728c7fa76ebf2caf279923e8aabfd40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cli/src/native/actions.rs:14917-14933 | cli/src/native/actions.rs:14951-14967 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:14917\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":14917}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeecf390c6ebe6c64a4676eebaefaf04ae27c79fa565f2794c928bc4b2f26c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cli/src/native/browser.rs:911-927 | cli/src/native/browser.rs:939-955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/browser.rs:911\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc4b41c39d7a36b417c91781f7b057d5199458aff849d77a3e1ccc46f8c1588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cli/src/native/element.rs:449-465 | cli/src/native/element.rs:695-711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:449\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9512db298bce7f0dcc0ac24fc8376aac79599268f91dd1f91582a7a0534f735c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cli/src/native/stream/dashboard.rs:588-604 | cli/src/native/stream/dashboard.rs:605-621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca03251a7bb46b22114a9e1adf11f7e1dee0c531904b7d6cbd568d632c5ba88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): cli/src/native/element.rs:1201-1215 | cli/src/native/element.rs:1471-1485 | cli/src/native/element.rs:1508-1522 | cli/src/native/element.rs:1546-1561 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:1201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/native/element.rs:1201\u0060 calls \u0060Some\u0060 and \u0060cli/src/native/element.rs:1546\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"584387aaa9352daff7f476ec421f1f225e70c0851e39fb11b1d8d648ead968fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/src/commands.rs:2987-3002 | cli/src/commands.rs:3173-3188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/commands.rs:2987\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8e29e8e1ed91ebbcf3efe647da44e7ee6975247bc42e3f529a95c8ca2ee23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): cli/src/native/actions.rs:1447-1462 | cli/src/native/actions.rs:1592-1605 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:1447\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9729f385b6771a79d66715fb6bf7fabcc9c80fc47453aeff641540d2bae0c782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/src/native/cdp/client.rs:796-811 | cli/src/native/cdp/client.rs:956-971 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/client.rs:796\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57ceed82b483b65ddd4bbd266872db56152c0884d1769643d1e42dcafde596b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:117-132 | cli/src/native/cdp/obscura.rs:152-167 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:117\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/src/native/cdp/obscura.rs:170\u0060 calls \u0060join\u0060 and \u0060cli/src/native/cdp/lightpanda.rs:135\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ab9f8eb3727ae451284a7f19982e567b454ac9394409a8d28aeae50d64b4bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): cli/src/native/daemon.rs:235-250 | cli/src/native/daemon.rs:400-412 \u2014 both copies are in the same file, so extract the block into one function there 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/native/daemon.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"568609f976bc877aecfd43514a5c1f2675cb8d0acdd99ae7393a7a3d5fb590fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): cli/src/native/actions.rs:7253-7267 | cli/src/native/actions.rs:7282-7295 | cli/src/native/actions.rs:11040-11053 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:7253\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c14d9bb0a0aabbb0e4221dc69bb4bd9b368ba90698365042f1c58e38b58a627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cli/src/chat.rs:460-474 | cli/src/native/stream/chat.rs:658-672 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/chat.rs:460\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa520ac7f981ccbc8f1560c28bce3d12e58a861d513fd0f3bc2c63b4708ca338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cli/src/mcp.rs:3795-3809 | cli/src/mcp.rs:3845-3859 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/mcp.rs:3795\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"02183ae64f6bb8daa8b47e70a2a0c3eb3ad063b04b255dd8517651f8b946c958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): cli/src/native/element.rs:349-362 | cli/src/native/element.rs:618-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cf421df181a116bc1125504fd43a4c46370f2ebc7250e10e758b9d6aaf04b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cli/src/native/interaction.rs:303-317 | cli/src/native/interaction.rs:385-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/interaction.rs:303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bedc6e38d65e3926060799cb17bd08793adec501902d0aa02cd25f30f7b98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): cli/src/native/element.rs:1326-1339 | cli/src/native/element.rs:1364-1376 | cli/src/native/element.rs:1434-1446 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:1326\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ec979e4d17fb4a4ee7868701faf30798d5635f346e483c46a29d5788c18f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/native/actions.rs:7420-7433 | cli/src/native/actions.rs:11088-11101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:7420\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7420}}}],"partialFingerprints":{"codehealthFindingId/v1":"49daa1553e0cab631192e46069e7a43c95b3ef3fbdf31f7e00bcb1e9323ca20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/native/stream/dashboard.rs:193-206 | cli/src/native/stream/http.rs:105-118 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5bd47e7dd95e18caba619ec2a8a65d4bcafba44f82fab2b0a806b8cdffdf96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): cli/src/native/actions.rs:7511-7523 | cli/src/native/actions.rs:7536-7548 | cli/src/native/actions.rs:11072-11084 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:7511\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b34414ca3d43e22973a06ed4c5e9062a74123413ca9180ac4bf311533dbd517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): cli/src/connection.rs:112-124 | cli/src/connection.rs:125-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/connection.rs:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ca090fd5b085f9c5583d9e42f314d0a47264d25c2f71249ef061c542f9f35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/src/native/cdp/client.rs:782-794 | cli/src/native/cdp/client.rs:942-954 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/client.rs:782\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7fb7dc1a1eb9babc6fd2ddb8f055a57d693fcd73354be3b8115c0b64de106c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:204-216 | cli/src/native/cdp/obscura.rs:237-249 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/native/cdp/obscura.rs:235\u0060 calls \u0060wait\u0060 and \u0060cli/src/native/cdp/lightpanda.rs:202\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2c311700b1301bcc29831feaa19de469298bedee3d2e5230ba052e72402617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/src/native/tracing.rs:92-104 | cli/src/native/tracing.rs:239-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/tracing.rs:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/tracing.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d7a7e861b2e92e33aeb700f52f82527fdeb4602540d90dd6c74b35ceefbc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/src/native/webdriver/appium.rs:86-98 | cli/src/native/webdriver/appium.rs:115-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/webdriver/appium.rs:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webdriver/appium.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7184c9e75a875e66f63af0bc3ea66fb089069b472bf14a0ecb8c9cc71b5b9dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/doctor/launch.rs:86-97 | cli/src/doctor/webgpu.rs:229-240 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/doctor/launch.rs:86\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/doctor/webgpu.rs:227\u0060 calls \u0060Some\u0060 and \u0060cli/src/doctor/launch.rs:84\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/launch.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"335b60e8fa5b3a396d6ace60a3d06468a3037a8f2692fefa22a145cfaa56343c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/mcp.rs:1537-1548 | cli/src/mcp.rs:1566-1577 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/mcp.rs:1537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"770fc7cfcbd4deb3bf6db00955d01a60e881c7424c4e5badf59075d0b027e3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cli/src/native/actions.rs:14848-14864 | cli/src/native/actions.rs:14885-14901 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:14848\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":14848}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d949fb561addb9870eae856c5d068038aa6888147e2cfc79ecaa5c7134418b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/native/recording.rs:1454-1465 | cli/src/native/recording.rs:1765-1776 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/recording.rs:1454\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"517f80a7dbeb71a396f9e3577ca3564d9c4f253500b83bbffef630100d0c06ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cli/src/flags.rs:605-615 | cli/src/flags.rs:621-631 | cli/src/flags.rs:637-647 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/flags.rs:605\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d992fea51c2c42fbbbb7ea014b066d3feb32e4b1596e4458bd2c0fb794d15a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/chat.rs:440-450 | cli/src/native/stream/chat.rs:619-629 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/chat.rs:440\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"706919c163553abb8164f6c382986d014e4977b875093041991f646273087fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): cli/src/native/actions.rs:3295-3305 | cli/src/native/actions.rs:3323-3332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:3295\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":3295}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa938f6d516feb559aaa809174a30c2b0d151d78cc9ac5b74459b2951060c501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/actions.rs:8443-8453 | cli/src/native/actions.rs:15184-15195 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":8443}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf3526786f0b659e1b203c63e524b9aa64c4c38af6a6ed45c51c6b5f9c2ad8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/cdp/chrome.rs:1752-1764 | cli/src/native/cdp/chrome.rs:1814-1824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/chrome.rs:1752\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ae4da6cbd84b30cc582d05091b7ff4734d63aa15450d72a2286d87ca15c003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): cli/src/native/cdp/client.rs:756-766 | cli/src/native/cdp/client.rs:1010-1019 \u2014 both copies are in the same file, so extract the block into one function there 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/native/cdp/client.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f2031f3d3b3c346e76bf25cf4ceeea169034d1cc60ec620b71845f7387bd9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:105-115 | cli/src/native/cdp/obscura.rs:140-150 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0042c6f7c84f9487982a0da425161433d47ca980c380b2e73eb8d624e0665ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/element.rs:363-373 | cli/src/native/element.rs:639-649 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa87952f3b7641d2f347b31939b0a43a676605b33372f0d3431863940575b501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/commands.rs:1815-1824 | cli/src/commands.rs:1852-1861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/commands.rs:1815\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"6843c665e9c45a9f6fd83cab6bd7273834a3e6b322db5eb50173eb6be571aa69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/commands.rs:2961-2970 | cli/src/commands.rs:3033-3042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/commands.rs:2961\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c468364b7175a302064be36b5503b0066814e40b2e46c8bd49458a6f3fa3aefb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/a11y/mod.rs:282-291 | cli/src/native/browser.rs:1569-1578 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/a11y/mod.rs:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"662fbfa92e622292ce0c24cc10683403ed161e5e8282e213b6b4ced1c9601489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/a11y/mod.rs:349-358 | cli/src/native/actions.rs:10895-10904 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/a11y/mod.rs:349\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":10895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f75bedc9fb8601c0cd9ecf6349f8c8cbbb20a0ecc3ed9d528eb6d8a8df95218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/actions.rs:14905-14914 | cli/src/native/actions.rs:14939-14948 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:14905\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":14905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f318f3ca9de422747d40755be25a6ebe5674db54d54fe9c1ab34a98575dc3d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/actions.rs:15146-15155 | cli/src/native/actions.rs:15164-15173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:15146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":15146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c5ce86333ced68c623a9cf63fce9af69c4afac13147491a605b40ee08f468b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:285-294 | cli/src/native/cdp/obscura.rs:327-336 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:285\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5915389570e7c962b2a7810371f60f7bb0940341e123b6a00bf44a31ce02d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/element.rs:424-433 | cli/src/native/element.rs:666-675 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:424\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d576fc742bd1caf9f2c5977a97ae277421aad60f0ef826050b9bb7ff9117abbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/flow/mod.rs:192-202 | cli/src/native/flow/mod.rs:211-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/flow/mod.rs:192\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4344738bd4deb6206f149eacffb0a185b1879e50bf26d99414fa55c9e3b0c65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/flow/mod.rs:677-686 | cli/src/native/flow/replay.rs:549-558 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a438cbf480e4e9dd5fdf318461064a82ab42ffbb96c4b6a6d0f4eca9351ad83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/chat.rs:475-483 | cli/src/native/stream/chat.rs:678-686 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/chat.rs:475\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad0f09cc8006a5526aeb7d964fceac20153957599e7cdab626f081e2fb8f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/commands.rs:1202-1210 | cli/src/commands.rs:1331-1339 \u2014 both copies are in the same file, so extract the block into one function there 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.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c9f53d4e4b9dd2c96799c1479a988322356f4ae81fcfab7f8f8b217cedffca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): cli/src/native/a11y/mod.rs:466-473 | cli/src/native/network.rs:50-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/network.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c536430a11408a3e943623c701a6fa985b21dacc0b22fe44fd4ddb257ef25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): cli/src/native/actions.rs:4944-4951 | cli/src/native/actions.rs:5086-5094 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":4944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5767b74bb92e76789236454788d1f90fff3b5656065b800ecbc17c40af0461e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/native/actions.rs:9616-9624 | cli/src/native/actions.rs:10029-10037 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:9616\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9616}}}],"partialFingerprints":{"codehealthFindingId/v1":"63155fe851763fd2060bac19a479cd47730b16af5a858f31911b55173451e922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/native/browser.rs:2773-2781 | cli/src/native/browser.rs:2887-2898 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/browser.rs:2773\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c2fff7a417ba95c440dab71906ee8d6949dc6ccb28b857ba1cf0b2aa221d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/native/screenshot.rs:388-399 | cli/src/native/screenshot.rs:564-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/screenshot.rs:388\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/screenshot.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8e3c44dd8bf1424259e07f13c62a6c8ef5d7a2b3435303b6c6704a60b1aa2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/stream/chat.rs:606-616 | cli/src/native/stream/chat.rs:698-708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"190416af3aa37b94a313d71d86ab640ce9a83ea02d9a63010db25468b8e069a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/native/stream/dashboard.rs:114-122 | cli/src/native/stream/websocket.rs:210-218 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5fcb8036ca5d270679510900ee9239140442c0880cf05053812973672e5e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cli/src/native/actions.rs:7724-7731 | cli/src/native/actions.rs:7743-7750 | cli/src/native/actions.rs:7762-7769 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:7724\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7724}}}],"partialFingerprints":{"codehealthFindingId/v1":"101dff9bff38424bfc345cfc88a19833b372eca7f1f404497be9819bf8d0a38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/doctor/fix.rs:102-109 | cli/src/doctor/security.rs:76-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/fix.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a6cd407191e10ad97796c237f85731a9272c1fc7cbd37b2611dd7b8b39c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/actions.rs:2187-2194 | cli/src/native/actions.rs:2216-2223 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb7985b01465c20d7b88e1cd7bba8f4255c7ca019fc1e69ba81d7584bddf71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/actions.rs:8348-8355 | cli/src/native/actions.rs:14352-14359 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":8348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3e272e074f5264fb77c688f6de1140f14d7ba12cd6259ee123e48972a4b372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/actions.rs:9000-9007 | cli/src/native/actions.rs:9066-9073 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9000}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7514b9c58fa4173bd04a9cba794217ae958a2aff0873787ef423f406d9bb66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/actions.rs:10908-10915 | cli/src/native/snapshot.rs:995-1003 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:10908\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":10908}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b746b794b4d2d11007f5a87af31de2f24cb807c23b3c2e9364342a7a84af22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/cdp/client.rs:763-771 | cli/src/native/cdp/client.rs:924-931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/client.rs:763\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"26219c12e8a9a7baad0b1c3056bfeef58a98432f6ef3f8264c4490ab04df5695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:153-160 | cli/src/native/cdp/obscura.rs:187-194 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060\u0026LightpandaLaunchOptions\u0060 in one and \u0060\u0026ObscuraLaunchOptions\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2526c9a4fc0de7e13fd3531ce1a2e0d88cdaf39878e37fb0927a59e4cf1d82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/element.rs:912-921 | cli/src/native/snapshot.rs:1460-1469 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3ea12f08a0bfeba9a1c26688c7a7e377ffe15e9a0302365eaa0d4940b1a14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/stream/chat.rs:36-43 | cli/src/native/stream/chat.rs:717-724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/stream/chat.rs:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35499430d846ffab2758ff72a78bee90090f7e2e0bc1869704683795ebd1099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/stream/dashboard.rs:880-887 | cli/src/native/stream/http.rs:375-382 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/stream/dashboard.rs:880\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48cd90747738004c5adb84c5e54acab20b5bfd11aac19a47788e774bd204fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/chat.rs:169-175 | cli/src/native/stream/chat.rs:835-841 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f72e9e6f7334aacb3824536e63862ac2fe65d1e1e5c6ce8dc39f7136d38daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/actions.rs:4915-4921 | cli/src/native/actions.rs:4947-4953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:4915\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/native/actions.rs:4914\u0060 calls \u0060apply_tab_binding_on_attach_or_rollback\u0060 and \u0060cli/src/native/actions.rs:4946\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":4915}}}],"partialFingerprints":{"codehealthFindingId/v1":"a111740427227387f8f8d7ee99f46c3fad74a34b987c0f4a759da5841ea9ec9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/browser.rs:930-936 | cli/src/native/browser.rs:1835-1841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/browser.rs:930\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c51b8a22ed003edc26921f652dde3978d5f39bac5e09527f44704199b20d4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/cdp/chrome.rs:1839-1845 | cli/src/native/cdp/chrome.rs:1909-1915 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/chrome.rs:1839\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"8394cd42ce7c07e3c27287cabf509703865c723385f75df1fab7caf54828801b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/stream/dashboard.rs:168-174 | cli/src/native/stream/http.rs:80-86 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/stream/dashboard.rs:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c89e0f94a7db51b265e78b7cfa78ca6fcacda0a314b101adc58155e0381e187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/stream/dashboard.rs:940-946 | cli/src/native/stream/dashboard.rs:985-991 \u2014 both copies are in the same file, so extract the block into one function there 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/native/stream/dashboard.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f08d662087f3a3486fca4c07f763b6a476d732153c4c653bc41fd7d01a5ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): cli/src/output.rs:1255-1260 | cli/src/output.rs:1270-1276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/output.rs:1255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feef82b2f3b408ec6c8277e0978d6d6a96861fff4b57131bee133612effce0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 25): cli/src/native/actions.rs:7270-7275 | cli/src/native/actions.rs:7330-7335 | cli/src/native/actions.rs:7413-7418 | cli/src/native/actions.rs:7470-7475 | cli/src/native/actions.rs:7503-7508 | cli/src/native/actions.rs:7528-7533 | cli/src/native/actions.rs:7616-7621 | cli/src/native/actions.rs:7636-7641 | cli/src/native/actions.rs:7661-7666 | cli/src/native/actions.rs:7681-7686 | cli/src/native/actions.rs:7701-7706 | cli/src/native/actions.rs:9184-9189 | cli/src/native/actions.rs:9203-9208 | cli/src/native/actions.rs:9222-9227 | cli/src/native/actions.rs:9241-9246 | cli/src/native/actions.rs:9260-9265 | cli/src/native/actions.rs:9287-9292 | cli/src/native/actions.rs:9334-9339 | cli/src/native/actions.rs:9353-9358 | cli/src/native/actions.rs:9372-9377 | cli/src/native/actions.rs:9391-9396 | cli/src/native/actions.rs:9410-9415 | cli/src/native/actions.rs:9434-9439 | cli/src/native/actions.rs:9446-9451 | cli/src/native/actions.rs:11668-11673 \u2014 all 25 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/src/native/actions.rs:9268\u0060 calls \u0060or_else\u0060, \u0060get\u0060 and \u0060cli/src/native/actions.rs:7338\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7270}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa61493171d5452efce52017b53e3444d55c0745aeb05336bca30dddfc19412a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): cli/src/native/actions.rs:7358-7363 | cli/src/native/actions.rs:15146-15151 | cli/src/native/actions.rs:15164-15169 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut DaemonState\u0060 in one and \u0060\u0026DaemonState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ba78cebc45b2e18f9935d59c12fcc4177397386e8eed81bdee4007846780d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/cdp/client.rs:302-307 | cli/src/native/cdp/client.rs:324-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/client.rs:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"763f18e5c926cf3fe171f0a10ac4201416d5189b76d0859544610a8a00824f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/flow/replay.rs:356-362 | cli/src/native/flow/replay.rs:364-370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/replay.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"679b39ff04f19e7e3fd98c2826a3fae490fa34557d459bca162b23c634ab9bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/recording.rs:421-426 | cli/src/native/recording.rs:469-474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/recording.rs:421\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe3c7d553708cf0b873c085f74919ff7f348bba56aabd64f18c02f2d3089571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/stream/dashboard.rs:152-158 | cli/src/native/stream/http.rs:69-75 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/stream/dashboard.rs:152\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bd4111a9b1f1e209151c42c2bfd00f6cf52844e57b97798d5d9e2b671b4466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/stream/mod.rs:369-374 | cli/src/native/stream/mod.rs:404-409 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/stream/mod.rs:369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/mod.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bbc5bf4d66853413da2397ceee496b160fc326c97b0f8498a91fd2a1922985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/chat.rs:320-327 | cli/src/native/stream/chat.rs:957-961 \u2014 before extracting anything, compare \u0060cli/src/chat.rs\u0060 and \u0060cli/src/native/stream/chat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/chat.rs:320\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/chat.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae057c59df0f4b7351ced4817b2578a29e57d28b4469eb63d29ccfabbe49a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/native/actions.rs:7733-7737 | cli/src/native/actions.rs:7752-7756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:7733\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":7733}}}],"partialFingerprints":{"codehealthFindingId/v1":"315f87f6721f9e93851c0620e509475fb238651ca1a98f6a3b03310deff593f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/providers.rs:658-663 | cli/src/native/providers.rs:956-961 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/providers.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"db839d161c6ec0cdcd96e8a6a492b60634c14fa55ae39ce98a5242d469ee4123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/doctor/launch.rs:171-182 | cli/src/doctor/webgpu.rs:463-474 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/launch.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0640325c1df0aa556449d4dd458d97acfd4d5543655f2c55356e7141655f7616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/flags.rs:59-64 | cli/src/native/network.rs:128-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"af475a57b48d12196b4aa0e47af030686fb1241da48732755c7a70f924a0d116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:93-99 | cli/src/native/cdp/obscura.rs:128-134 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c411f412fc126ccf4b4ce92f3ed7ff9991bc86f2a32fc0f1642c8becec29114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:222-229 | cli/src/native/cdp/obscura.rs:255-262 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a12af32a67025f1bc73f4e229fec668c87fd4cf11aec968d197dc8a42cd67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/stream/dashboard.rs:124-133 | cli/src/native/stream/http.rs:45-54 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780dfa1ea4fe2da75e6c274c4c43dfd86884694a53610e8a8c51eb95c6db6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/stream/dashboard.rs:135-141 | cli/src/native/stream/http.rs:37-43 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa511307259989fd464e32c535f70d6795702e602cc455ddbdc237cbade7ee11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/stream/dashboard.rs:375-381 | cli/src/native/stream/http.rs:140-146 \u2014 before extracting anything, compare \u0060cli/src/native/stream/dashboard.rs\u0060 and \u0060cli/src/native/stream/http.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e217e5cad463a1900ca85aab083059be271f05ffa85c132d0b7458be70180f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): cli/src/native/element.rs:1186-1202 | cli/src/native/element.rs:1263-1287 | cli/src/native/element.rs:1305-1328 | cli/src/native/element.rs:1350-1365 | cli/src/native/element.rs:1387-1435 | cli/src/native/element.rs:1457-1472 | cli/src/native/element.rs:1494-1509 | cli/src/native/element.rs:1531-1548 | cli/src/native/element.rs:1609-1628 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:1186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e650eed39d676a85572dbca5e22dbbfb6fb52be6481e842baf6fe34ab145ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): cli/src/native/interaction.rs:832-847 | cli/src/native/interaction.rs:865-886 | cli/src/native/interaction.rs:904-931 | cli/src/native/interaction.rs:949-966 | cli/src/native/interaction.rs:1029-1053 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/interaction.rs:832\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fd7d6abcfb088e5ea4ae567305939761830217373a28ce0c4ceeba461cce1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/src/native/screenshot.rs:368-392 | cli/src/native/screenshot.rs:412-427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/screenshot.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5683c6bf04516effdc617184d5ae4261661c5e9b4fc79071456403ebdad469b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): cli/src/native/interaction.rs:188-204 | cli/src/native/interaction.rs:840-851 | cli/src/native/interaction.rs:873-890 | cli/src/native/interaction.rs:912-935 | cli/src/native/interaction.rs:957-970 | cli/src/native/interaction.rs:1037-1057 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/interaction.rs:188\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e6032a587a2f6b15430a740a14d1f501e68410c3c1aa44d1886a3a63f4eae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): cli/src/native/interaction.rs:189-205 | cli/src/native/interaction.rs:258-274 | cli/src/native/interaction.rs:841-852 | cli/src/native/interaction.rs:874-891 | cli/src/native/interaction.rs:913-936 | cli/src/native/interaction.rs:958-971 | cli/src/native/interaction.rs:1038-1058 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/interaction.rs:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed84ec32234aa82dcc14f6686309973d233e51c7597e2d3a50355860eeb63a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/element.rs:334-355 | cli/src/native/element.rs:392-402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/element.rs:334\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"862e409fe6835f488b6e75411e2b05c0966f76685a9c11400789332c5935bd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/native/actions.rs:11628-11641 | cli/src/native/actions.rs:11712-11730 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:11628\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":11628}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c61a390b4e22bf793ec7abc2f0a8d3df3197c3415932b9d44eb89e6aeac529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/native/flow/outcome.rs:471-485 | cli/src/native/flow/outcome.rs:501-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/flow/outcome.rs:471\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/outcome.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea11276823f0b7e6d258f507ce3860ab1ae245205f23a1a1612e9637d6951535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:296-309 | cli/src/native/cdp/obscura.rs:338-351 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0164de80bb01edbd85ec85ab23ba1f477bf1ba62c9e69c04d056c05fb06fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/native/actions.rs:9635-9648 | cli/src/native/actions.rs:10049-10062 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:9635\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f1f43f3d521b5bc16588d0f64f829397e4b3a36aa73720fe56b01e196c40d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/native/tracing.rs:77-89 | cli/src/native/tracing.rs:227-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/tracing.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"576f9f6fe42c7d2ade15f028f8ddd8c2de14283b740d744d478bc0d632ce148d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cli/src/native/actions.rs:1447-1458 | cli/src/native/actions.rs:1497-1507 | cli/src/native/actions.rs:1592-1602 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:1447\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ac7b29d22f4ec4074d8af412045c6c87f2bdaa285f3128e6f570dc9ad379f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/main.rs:1177-1188 | cli/src/main.rs:1192-1203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/main.rs:1177\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"393ff6db0afddfdd96c9a4c0239c4ee10b0e6b9ada3bd74186a5e40e1b75cdb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/doctor/config.rs:23-34 | cli/src/doctor/config.rs:45-56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/doctor/config.rs:23\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/doctor/config.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe5886938d3f2eba0e97641222a8bf91f06074741f89d9674355e38cee9716a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/native/actions.rs:11850-11858 | cli/src/native/actions.rs:11881-11891 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:11850\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":11850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85ce7633ef30a409c57115740db8e4d08045ef0f1d1217ad9a4f1acb49d5ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:43-52 | cli/src/native/cdp/obscura.rs:74-83 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdb184e015894d23411e189dd33bffccac3335c68924786854702fe5ea9ccf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/daemon.rs:702-707 | cli/src/native/daemon.rs:709-718 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f0930e2275ba37a9251c7eee697e0b7cb9be0b483838aea448fff57345b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/native/cdp/discovery.rs:137-146 | cli/src/native/cdp/discovery.rs:204-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/discovery.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4146dd06fb381b147e3e3e9f1d6a534b5597e6b582c57717e726768bf78b72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/commands.rs:2145-2154 | cli/src/commands.rs:2159-2168 \u2014 both copies are in the same file, so extract the block into one function there 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.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f23bada9e5c1a90685ee44980ffcb07150ce86c52e8b85609ae0acc8bc4897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): cli/src/native/actions.rs:9162-9170 | cli/src/native/tracing.rs:164-172 | cli/src/native/tracing.rs:279-287 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:9162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e239a6caf06c427bacc933a698cdf308ec4a785a98f01cef2458d3b18e86d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/native/stream/http.rs:251-259 | cli/src/native/stream/http.rs:272-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/stream/http.rs:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/src/native/stream/http.rs:282\u0060 calls \u0060command_cors_headers\u0060 and \u0060cli/src/native/stream/http.rs:261\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/http.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"109202a91e364bd79b5d443fc5c7ff81c7fa9098110ed67dbefae51fb0c8e9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/output.rs:1931-1939 | cli/src/output.rs:1945-1953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/output.rs:1931\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd462bd8ae9f6677f4dd333439d0cb432a38b7e2817b280c63c3fe37c2216fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/output.rs:217-225 | cli/src/session_settings/store.rs:288-296 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/output.rs:217\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34db8afaf2f03bc69654d25545a1eaaeae7d50386022523afc0ea2ee7da0f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/commands.rs:3014-3022 | cli/src/commands.rs:3200-3208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/commands.rs:3014\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"8438d4120af5b8c2a1d6d98a732743bd072cb3a292df8ce18851e5669676fc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): cli/src/commands.rs:1245-1253 | cli/src/commands.rs:1256-1264 | cli/src/commands.rs:1267-1275 | cli/src/commands.rs:1278-1286 | cli/src/commands.rs:1289-1297 | cli/src/commands.rs:1300-1308 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/commands.rs:1245\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"630ebaf6205813c699bf85599d71b5afead4ae8aaea19e75cec965c77b7df267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/actions.rs:9584-9591 | cli/src/native/actions.rs:11925-11931 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":9584}}}],"partialFingerprints":{"codehealthFindingId/v1":"db124077790c1093ff0c5209a6438c0e60cd14400d77456754ac0db00b4f2c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/native/actions.rs:9520-9527 | cli/src/native/actions.rs:11931-11938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:9520\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76f6405f0d9495a7d909b5ad72704d0f46aeb0cd1505fc650bed38a743e76fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/commands.rs:3287-3294 | cli/src/commands.rs:3323-3330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/commands.rs:3287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec6d5179feaabc95f2fd060b53b318e2dc55916af74a5faf2eb577836a802c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/actions.rs:9167-9173 | cli/src/native/screenshot.rs:643-648 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:9167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":9167}}}],"partialFingerprints":{"codehealthFindingId/v1":"939b0f88e39f78061522c78bc0701f4e6f2b64842d2db459f03708b11823a407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cli/src/mcp.rs:3794-3800 | cli/src/mcp.rs:3844-3850 | cli/src/mcp.rs:3968-3974 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/mcp.rs:3794\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161673aea03f5a1ed34dcd401873ea524f5dd01d8ae070ab07878eb2c0c83b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cli/src/native/cdp/lightpanda.rs:105-111 | cli/src/native/cdp/obscura.rs:140-146 | cli/src/native/webdriver/safari.rs:35-41 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/cdp/lightpanda.rs:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d754c0cd75737e2342011df25f66f8cfabeb8c4585662e9405c57ef96a464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): cli/src/native/webdriver/client.rs:63-69 | cli/src/native/webdriver/client.rs:73-79 | cli/src/native/webdriver/client.rs:137-143 | cli/src/native/webdriver/client.rs:153-159 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/webdriver/client.rs:63\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/webdriver/client.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"91227f1867a14ab8cfbf8b45299fb859469d391c171321cf6c70d1dc0b27685e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/native/actions.rs:6219-6225 | cli/src/native/actions.rs:6267-6273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:6219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":6219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0d936391db6ffafb211803206cc551d0961648b1260e2cc8430147d52c4fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/commands.rs:1850-1856 | cli/src/commands.rs:3829-3835 \u2014 both copies are in the same file, so extract the block into one function there 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.rs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b61c50af0f99bf91d7c724139b66b89ae7e4fb12398d72591a006e3995041f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/cdp/lightpanda.rs:165-170 | cli/src/native/cdp/obscura.rs:199-204 \u2014 before extracting anything, compare \u0060cli/src/native/cdp/lightpanda.rs\u0060 and \u0060cli/src/native/cdp/obscura.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1961234be59586a2c322c85fc243ca3b134af50e925253f8976cfd1d9ec35487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/native/actions.rs:15067-15072 | cli/src/native/actions.rs:15104-15109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut DaemonState\u0060 in one and \u0060\u0026DaemonState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":15067}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c3ebb1d1282a1ea691600ae14b2b016319e3d16c1177030ecca46cb44fea5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/native/actions.rs:6545-6549 | cli/src/native/actions.rs:6563-6568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:6545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":6545}}}],"partialFingerprints":{"codehealthFindingId/v1":"913cb85794950ae2ddd73d46c5348d1ba85edec4c0e9cfe33b219c7065c52737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/native/actions.rs:8001-8005 | cli/src/native/actions.rs:9453-9457 \u2014 both copies are in the same file, so extract the block into one function there 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/native/actions.rs"},"region":{"startLine":8001}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bceeb51402830c2375e035558c2d4ce650551e120c1b08d188b0cf1e7c2f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/native/auth.rs:126-130 | cli/src/native/auth.rs:239-243 \u2014 both copies are in the same file, so extract the block into one function there 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/native/auth.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7472ce2fbb7c4e7e33787a8f2aeaf262629a62b5a21360e9a4e5948caba998f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): cli/src/native/actions.rs:8001-8005 | cli/src/native/actions.rs:8932-8936 | cli/src/native/actions.rs:9453-9457 \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/native/actions.rs"},"region":{"startLine":8001}}}],"partialFingerprints":{"codehealthFindingId/v1":"db48164319f0f57424ab20221f4cc16b35e5761ff04aab89f6e6cb93d14fa312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/native/providers.rs:692-696 | cli/src/native/providers.rs:974-978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/providers.rs:692\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/providers.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cb16804320e9dcf10f72ef0203bce5abf2410b32052fb4faba0f7891ece9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/native/actions.rs:1334-1338 | cli/src/native/actions.rs:1471-1475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/native/actions.rs:1334\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/native/actions.rs:1333\u0060 calls \u0060insert\u0060, \u0060clone\u0060 and \u0060cli/src/native/actions.rs:1470\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5062054d67792a5946e91e759f07bba020d8d843f061805614695eb007fd2ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/actions.rs: cli/src/native/actions.rs changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 263 in agent_browser::native::actions::execute_command_inner at line 3040. 38 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/actions.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"c405cc5aceda983a8b0069a4f30bf5cee63e1dd3fe807596bec6c02f74597f0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/output.rs: cli/src/output.rs changed 88 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 176 in agent_browser::output::print_primary_response at line 942. 58 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/output.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f79dd5d5c7096e41b55c2e4f84ca2d423e8b23de966343970d4d9869b7647d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands.rs: cli/src/commands.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 316 in agent_browser::commands::parse_command_inner at line 401. 15 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/commands.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9ea2894486c0e09e0cbd1fb81009b8be367e44537bb60e100cc58ec2f4c42c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/flags.rs: cli/src/flags.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 162 in agent_browser::flags::try_parse_flags at line 600. 14 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/flags.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flags.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17f390e35cc92746519187539001fc0c65ddb87cb6832fa869a35e3a6eb7dc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/main.rs: cli/src/main.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in agent_browser::main at line 1431. 18 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9bebfa1d93f0911170c1994c4e08064d4a6a81cbe8f1fd9314bcbc054bab50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/mcp.rs: cli/src/mcp.rs changed 72 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in agent_browser::mcp::append_common_global_args at line 4304. 45 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/mcp.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/mcp.rs"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f4ab8fbf139c77de5370855c9f5eb022cc91191939a06b8b6fddc729b0ba38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/snapshot.rs: cli/src/native/snapshot.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in agent_browser::native::snapshot::take_snapshot at line 336. 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/snapshot.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/snapshot.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aa0b64436a1a04b67837fbbac53a47d76af8e71efbb4c31062c3f850e129b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/cdp/chrome.rs: cli/src/native/cdp/chrome.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in agent_browser::native::cdp::chrome::build_chrome_args at line 433. 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/cdp/chrome.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/chrome.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1f037006ac14974d040bd9489ce84bf81cee3881d0289286e2cc3197b8b050"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/connection.rs: cli/src/connection.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in agent_browser::connection::ensure_daemon at line 966. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/connection.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/connection.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67f97c2f077a9663fbce3d4ae4a032c9db119d422ad4878daae135fda9764ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/dashboard/src/components/chat-panel.tsx: packages/dashboard/src/components/chat-panel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in chat-panel.ChatPanel at line 303. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- packages/dashboard/src/components/chat-panel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4d3da90a89dbccff7b2284812b7901574b23231a3294277256040ade96c2e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/browser.rs: cli/src/native/browser.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in agent_browser::native::browser::poll_network_idle at line 2640. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/browser.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/browser.rs"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"90098ac298364d8c0ffd4e4abec8eca45ecc5cde1fe458a89d6073cd993f4f21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/stream/chat.rs: cli/src/native/stream/chat.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in agent_browser::native::stream::chat::handle_chat_request at line 712. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/stream/chat.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/chat.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0cdf0f37aa740da4e99e773caa3f673fbeb35e2032f00abfd549754da28bc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/cdp/client.rs: cli/src/native/cdp/client.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in CdpClient::connect_request at line 421. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/cdp/client.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/client.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c6384a0bcd5b70d7582f99e7513a1c7e65a6271df6a6b4c21c129f3a3f711"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docs/src/components/docs-chat.tsx: docs/src/components/docs-chat.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in docs-chat.DocsChat at line 143. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- docs/src/components/docs-chat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/docs-chat.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8231b7073e393ebdebe5bb4f7d5c3869b02ae8eb0bd3e7ed6f362220b4ccec6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/flow/mod.rs: cli/src/native/flow/mod.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in agent_browser::native::flow::build_flow at line 689. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/flow/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efcba3381700fdb88a484276228e5ea6b66d6852e4b56a89e3fd3cb5ecd465d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/recording.rs: cli/src/native/recording.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in agent_browser::native::recording::spawn_recording_task at line 1479. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/recording.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eff4ebd2bf8550e956182e0d24f0ec877b3860b7ee71d68e76c94f63358036"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/daemon.rs: cli/src/native/daemon.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in agent_browser::native::daemon::run_socket_server at line 362. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/daemon.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/daemon.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e0ac1e3d843a5e9bc9ceb2628a6ba858be0717f8190a52d68a4b05952b5aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/dashboard/src/components/viewport.tsx: packages/dashboard/src/components/viewport.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in viewport.Viewport at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- packages/dashboard/src/components/viewport.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3479c6a4f09560f4860f9f4599390c63195f92713ff76d0cf3b12326e4c6dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/stream/cdp_loop.rs: cli/src/native/stream/cdp_loop.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in agent_browser::native::stream::cdp_loop::cdp_event_loop at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/stream/cdp_loop.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/cdp_loop.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c670616e322009d511495215854ffc06c7891cebbd0e57149aaf1a8312b9b86a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/skills.rs: cli/src/skills.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in agent_browser::skills::run_get at line 368. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/skills.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/skills.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c291a83b8139026c561c502dd757cf6ca09eaf8ed8fa88d7123354a9285af2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/session_settings/seed.rs: cli/src/session_settings/seed.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Running::from_lookup at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/session_settings/seed.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/session_settings/seed.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e1195b3f28efe4905a2c3d8a43ffb727a1c887543d9452561c1cc0b54e339e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docs/src/components/search.tsx: docs/src/components/search.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in search.Search at line 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- docs/src/components/search.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/search.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7dc46b4e8293886b882d0aacdf22cbbebe701e7c22e6b2a42b9dc419d4cb90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/native/flow/http.rs: cli/src/native/flow/http.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in agent_browser::native::flow::http::run_http at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/flow/http.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/http.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e48654dd752ec2b47ba8dd7e35e03fd2309431e93ff88d8733506ed7e474b4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/native/element.rs: cli/src/native/element.rs changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is agent_browser::native::element::parse_ref at line 243), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(click): press the settled point after scrolling it into view (#2587)\u201D; \u201Cfix: preserve fractional mouse and element coordinates (#2393)\u201D; \u201Cfix(snapshot): include presentational iframe controls (#2262)\u201D; \u201Cfix(refs): refuse ambiguous stale-ref recovery (#2145)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/element.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/element.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79ee3d1ecb17407bc7edfb46a821b2d14a2f02d3d684e8ab72964dec345c24b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/native/interaction.rs: cli/src/native/interaction.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is agent_browser::native::interaction::punctuation_key_info at line 1327), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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(select): support custom ARIA combobox and listbox widgets (#2592)\u201D; \u201Cfix: keydown flood on macOS after press (#2112)\u201D; \u201Cfix(click): fail on hidden, disabled, or off-viewport elements (#2173)\u201D; \u201Cfix(select): match normalized option labels (#1736)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/interaction.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/interaction.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0969c4cc158a50e9dd8df832d43c3f08096a23083e81b6aadc793cbec7d39"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/native/stream/mod.rs: cli/src/native/stream/mod.rs changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is agent_browser::native::stream::is_allowed_origin at line 637), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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(daemon): decide session reuse and relaunch in one place (#2396)\u201D; \u201Cfix: restore release CI (#1862)\u201D; \u201Cfix(dashboard): harden origin validation (#1738)\u201D; \u201Cfix(stream): emit active main-frame URL updates (#1682)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/stream/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/mod.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"0675bbecb722e05c69c95e1417f19617cc0379a077436c7adec178c5ac906ce1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/install.rs: cli/src/install.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is agent_browser::install::download_bytes at line 319), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Windows CI\u201D; \u201Cfix(install): check macOS before Chrome download (#2270)\u201D; \u201Cfix(install): allow root dependency installs (#2264)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/install.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7412e338fd0825ee55810bb310b81a167038ddfdc47e6e3d2f5c8b6a9a5599"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/native/screenshot.rs: cli/src/native/screenshot.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is agent_browser::native::screenshot::collect_annotations at line 227), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Windows CI\u201D; \u201Cfix(screenshot): capture selector screenshots beyond the viewport (#2126)\u201D; \u201Cfix(screenshot): use CSS content size for full-page clip (#2125)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/native/screenshot.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/screenshot.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca392e56e13c3c693fd93a73d0b039a7dc858797687c50a6676116158d315ef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/plugins.rs: cli/src/plugins.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is agent_browser::plugins::run_plugin_command at line 786), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the 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 Windows CI\u201D; \u201Cfix(plugins): redact protocol values on sensitive paths (#2255)\u201D; \u201Cfix(config): stop an auto-discovered project file from running programs (#2180)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 22:11:18 -03:00\u0027 --until=\u00272026-11-13 22:11:18 -03:00\u0027 --full-history --no-merges -- cli/src/plugins.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/plugins.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc939775652ca71d495cc92936b09f8f18af88ecbf9aaefec671de8072ce06"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: cli/src/native/tracing.rs, packages/dashboard/src/app/page.tsx, cli/src/doctor/environment.rs, cli/src/doctor/config.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"393d59bf2a8408b93805d93002bb0a9e1ab5cdc456ac8a3350eb092e9f412bc2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (6 single-owned of 129 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 129 of the 206 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: cli/src/tls.rs, cli/src/ca_bundle.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-darwin-arm64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-darwin-arm64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-darwin-arm64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"992460fa446ccfdbbb02a7e1031d1574272b35cf94bfb0f5e4d4cf135ef8ee75"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-darwin-x64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-darwin-x64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-darwin-x64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55101ae3e37cd37d7218ef0ffea39a4ab4d464831e57b6b7c15e0d2f9178077"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-linux-arm64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-linux-arm64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-linux-arm64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f0f6531390fbc84c1aa2fff5c0206554537254646ad90d57977e40e1be4f44"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-linux-arm64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-linux-arm64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-linux-arm64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c8b752dbb78f4d87664cfd9d9c69c594a4b44259af781f414bbcff480c10d4"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-linux-x64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-linux-x64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-linux-x64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5a8742f5f1c2fb8d255f0fc3cf4cbb0a4782ceb9609fdd4d61bb0d63899774"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-linux-x64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-linux-x64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-linux-x64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffab98e34c6e0feeb6b43bf6bfcdf83769d8a31adf3d417cd5df449705c134e"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060cli-win32-x64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@agent-browser/cli-win32-x64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/cli-win32-x64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf61e6df6e0dd0be961aa3c457184867dd25b98991bd802aa9cc56f53592011"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Read dashboard package.json version\u0022 repeats the code it sits on: 4 of its 5 words (read, dashboard, package, json) are already in \u0060const dashboardPkg = JSON.parse(readFileSync(join(rootDir, \u0027packages/dashboard/package.json\u0027), \u0027utf-8\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":"scripts/check-version-sync.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c86c820e2fa324e5012e3d56e1598cbf485d957456ae43662f3187feb165eb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update packages/dashboard/package.json\u0022 repeats the code it sits on: 4 of its 5 words (packages, dashboard, package, json) are already in \u0060const dashboardPkgPath = join(rootDir, \u0022packages\u0022, \u0022dashboard\u0022, \u0022package.json\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-version.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7067692f86dfd4dcdc4999fd98d5424c20c66e7edd175126cb3765e316cd74"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update packages/@agent-browser/sandbox/package.json\u0022 repeats the code it sits on: 6 of its 7 words (packages, agent, browser, sandbox, package, json) are already in \u0060const sandboxPkgPath = join(rootDir, \u0022packages\u0022, \u0022@agent-browser\u0022, \u0022sandbox\u0022, \u0022package.json\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-version.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f6c6af9b31ecc7374be5e2f85a9abc09963e1dc03d95dd658e1f69a6999e9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060cli\u0060 (114189 LoC, 348 module-visible types across 11 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de24fb5b2f9808dee7349e0f8b4bf4e8fc0b77a05b8578184e5f23b813b48863"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fb041228e5a2d656f05b0422b275b118fadfcb5dac8888da47fc5fa00fc8779"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ffcc1b724469248fcd864b1901b4fb0cedf5b911fb5d6075b57cf61232c29e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a0a408ee6f3339b5b038be2982108ec80e3e2f5b1bb1b2a07e844523dbc6c86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56d9371fb2efaf7518ba7ca36b309fcf19a4dd77b8fedb20a641b6ff91c06d3c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0063c758847f616c2c3e785572b6a1fc100eeb5784b319de72c4dbd9d1efdce9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5b557c9b51a27c6ffffd4bcd786f5205fdb6c8cc92ed5b989bd7a7805fb9511"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8848ecb9b4899118cc8b8341841112d876be29e865cc3e14990aec7e928c6bbf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5783405f4d0a90b9c0d555a912ad691c38641466c391f7837afc1bb9cb056747"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1375048b9ca8ef192c23faf83af425d2e99a11eb2f6e7951f3d837d8c63c990e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ede70caf5f1bdcea587471454be8a9dc896b62b515692206496a71e589d55bbe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ee1818d8255f485c4fe9f8eec7ec14865c030222317516add1ea3f2587ac448"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dba947422e5342f3ec1c8c79cd0d382f193ca875a3cf3b831fb3cd646cf4c808"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fb8ef81494f3171ee9e771c5fb3496be994634eacfbf8e109fb303e9017065e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc16fdf0e4ca3c006dcf9b77d9a081a8b34a38c11900be60f6df82ee11d0b584"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7205317fc4307744fd9abdaec5a93c99047e2b3dc6e771c88b80b57760d42c9f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bf66f5e7d68d560e31890595924148a2f29517a30395ef5653442821cb20e6d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d386d80d7b5b673a2aaa813bd7442fbee8a3a75cf2e38e645815765daa16a5a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d7d8b785cee51e489fc881cfa78bee854f57d170aa92ac2a6bf9f51ce186a57"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0cbba4a3f80f3f47b4ed948033644e392e24f9c9fa3b5a19ac4ca5e45b79ae9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4df0d759d3a205a786baefb26032cad8cd4fbbc4793b66e961d8f851fd7fbbd6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"274e422a1f485c10326f671fc0462bb21696f0876cebd7c57789378a1e9137d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b1a32f8fab612afdf3ad441888a3b38e66f1c1832902eb741f35ad5afa48465"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"465cc30edab2d79b19280fd699c1954098364dd591aabef818ad0941bf6c1e1b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2898367d5fab9a5aea3e861d2876bc2f113dcde543b1aa3d542306efa860c0f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8509f0a7c73f3664915974f616b7a20e32b702ca8078349351665d951340eacc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b962eafd3faf0df14ab8267775f92fa432b2670c858a297fbb3786009e64bc8b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5d58fbacb0911c0c0cf76dfd140c199152ed62bf565e22af1b34c5ea2d93301"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0789e5eb3a01cb11c16bf4e86f551c69db0a1db7b11b095649607f5888cb65eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a70a3ada3bae9a9b4937c8dadf6051d91e207198f3aa5e67fbe9037a6335a0ee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95c86518b9ad95a400ef73d9039d32575b09c7dd3fc490c40463b4b7e2269082"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5d14d01959f8bc74cfb47cedb20165c1651927e69ca7f14db02f6d54f0db1ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8dfabd57851c7bcb37baa8e9aafb9e1c51d861648a6ef22c4073e3d726c8c5f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a3785f7900b67512b8c4737e8fb5418bda1bbc7a88dcc71d61802984b33a7cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7adc332f2d68b4a8e35c8868ce3df7038dc1a68ece15e2a5c16dee165f7a002c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3643ff687baaf09e4fa86f24721b381bb8ec583e4fb1bc9174a893ca376bdfb1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e49b2f1dc8b6ada106a5ae99dbd677414f86c9417d6f8d886e453974e952e52e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cda12ade2ec2710b7dca5e054f0e71d75819267a9850f73b253c183b256cf29"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1de4e8df69f8ea88743a72dc79ebdff0df14ccb12667fe14ae5c33266501ddc5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24bcc8189b69961073a2a81a26475bc0ac4b4627119c2067a001ba82a978dc0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a0307a0e95589e470722eaa1f6edefde899ff9d045423b92eaede73ef396b02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82b5ddea71eca4c4192ce13fe4730517b6bf0cf3eb712e8c3614fa29803386b4"},"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":"2451f8993665b410bab8883c485f0af9fb07983383fa98f61db766ecb9a9c4ac"},"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":"9a98e5a4a62281544135a23a1e7804a23483e60fba0e70c4bcc36eb932af352c"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db2ae30ed5ebeee45a9ec9679a34c57dd9a8f6b7350833d26087fc3a87e3e607"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15ad7729bd81329dc5c8e14f98f998dad041148d6c0a61e5f5359297c4df49ce"},"properties":{"dependency":{"package":"zip","version":"8.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa016c64a3bda14e14acfe4bb941db3d403c7705bdc8f3e8148ba45349121bd4"},"properties":{"dependency":{"package":"next","version":"16.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dd0d23e346e62b3fcb9ad53793d2e217df564909ba03f416b9bc0a6cf8742d0"},"properties":{"dependency":{"package":"next","version":"16.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77dd8e1198bb5eab4d8e9352b1b9c8fd29d5fef6a5ce6f3dc30624a10fb19cf0"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c1f02f0386048f37717eee4b24591617d3847c047f8f7038480c324cbcd3db8"},"properties":{"dependency":{"package":"next","version":"16.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54519615fdf235da69c509caddaaeb5b36b93f9dc6c2f13869af6af105957b67"},"properties":{"dependency":{"package":"dompurify","version":"3.4.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1f2a327c600909d1945ba1dff617366a897c6a745c1a33939064adbfa8c4807"},"properties":{"dependency":{"package":"next","version":"16.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5533c2d149eea07ed065c5fde61196816d01a4a3eb50ba7bc43ead963babea5"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a199c91be3fd5d8ea4c7873e26d7c6054397f601c437d186a1fc088ab7eb9a5"},"properties":{"dependency":{"package":"@modelcontextprotocol/sdk","version":"1.27.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75d5a42ef245a34c999f521e75c502deb0404fd90584b46f2f08317308eb96df"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bd1502c87d5d0d65a68fdf804a608fb0e1036493883f27897a6a598058ce300"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d5cb4dcb713db5d8997b67065215fc203ab4f6a9df876750d47364fb4691513"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f41f3902d409364900ff41463cd5028462ca303a05450c9f0611d50a465b7a11"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09777fdbee30363c7db322f307627c454f26e5f5cfa8a9edf08b99738d304d3a"},"properties":{"dependency":{"package":"hono","version":"4.12.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b676a4a02f7cdb7fe74ab17bfe0b0143b270c81d2049e76b128a1fa794e30c94"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac46c50bb08a3a218e92f1d6073b8c0f928f4937b08b5ce7d1f2339c0a5a17df"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c6050ac1834b8e5ac643441afa062d2f841db9fedac74239241b3ee2d0fad26"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02ca29726f39151d1acc6c02a82ce18be1d0014deeafef73ff9ed2b014c75c9f"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f5b4980e10ad16ef405f0da0722b047ad177df918a5f70e9921a6a86ab3265e"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcdaf366a4eca586db3e8f9138b217ad82e7d39a1010f49bc5a9b7d81d87e896"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cfaeff4e96163ab29950247e129254c6be3c76d484a375482fe4d017b61774a"},"properties":{"dependency":{"package":"postcss","version":"8.4.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49f3e679ebc56b77c21084e071405d0008e3bb72f7b576da3de80d6072c4dbfa"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5dc5b814554d2690a53c189707610067b1f5c47b6a47ad61a697b6b90a0cf99"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aefa3abfaabdd89a201df00d6ca31910f20cb4229d7f55effbeaf325d148a160"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cffa3869031342779749d552ef39570c69cf4f819261e2a731a1e00ff3131520"},"properties":{"dependency":{"package":"undici","version":"7.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d235ee58edecc89c9388a76e23ca342597a22a9117da97cb5282ab9171d6cc0e"},"properties":{"dependency":{"package":"zod","version":"3.24.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2aeb33ab9bc5f20d97d17042a39eab2b0999644e5c26050fb11c8d2d1934f385"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96458b1ba3169f0dc2b2a1e2382574c10ce50d64fa5b7d5e8c4bc071c56eb85e"},"properties":{"dependency":{"package":"nanoid","version":"5.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38c7c1edb47c40666234acbbe74033d49350994b6bbe7a0744d80059a0f1bfb0"},"properties":{"dependency":{"package":"nanoid","version":"3.3.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a99dc06891cb7f16ac27c379c8f70790d53cc92d0037978c9de4ac7be112d98"},"properties":{"dependency":{"package":"postcss","version":"8.4.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e76269685e325e06d81df799d079b12c49189b6d93dd0f6e4d457594ef172ee1"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a83b22a9b2536f52354bf76c3f8eca5cf800f4c6697765013f2e8d2a6f5f452d"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42cbc5e95d10db12bdb245f2355e3a9d75a314f70e807e9858dd04101fad159d"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce064608f9ec8c5111a630ec697d94512a9bb271b4ece5e99020cc78becf0431"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b255d0e3bdea277cf42f508f87808ab35f830bb77899101e5c83ee4d2e7d005"},"properties":{"dependency":{"package":"undici","version":"8.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"140d3ee39e317fa721385cb64f3fe17b2dd928b156509ae79ca166db8eab0230"},"properties":{"dependency":{"package":"zod","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45444f39caac40b7924bd9bce59a11531895de43c3b2844c6b0efe1cebeac381"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6369c49294a116dc3113d4593de258dc05875a69494f5f0cd0ad6c370479c0a"},"properties":{"dependency":{"package":"@modelcontextprotocol/sdk","version":"1.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"652fa79f5d34ad5daf79e5b05f4eca55547d20eb994e5254a4739fc490d1cb5d"},"properties":{"dependency":{"package":"@modelcontextprotocol/server","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"523ba84dc3249fe07f4fe67869df9a5033d9faea9f74a6a5ce818cbb8c8aa502"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce9bbfea95fe015374ae86e03b9373fd15c82feee84c4ee070b765207d8d9476"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f88fc00ec7861a56df42bb26114ca872e3309402838f7cfa4c001103d41b71a1"},"properties":{"dependency":{"package":"dompurify","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06593c39ce911a216ed914a471d9cdd931bac450d9675076e44dd756bcb35a60"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f57da558c86ee085c3f56fde29b3c1a05e20d5c7b23fb5c5954cccfbdcd9d78"},"properties":{"dependency":{"package":"fast-xml-builder","version":"1.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3df0d1d450878a54d77d4bfdde6e3c0daeb7ae1abdc6433b96bc665241291e5b"},"properties":{"dependency":{"package":"hono","version":"4.12.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d66865a895be83070d47ca5389552eea8c6cee10a32818c70a3443fc659d917"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab525766b16c1274069602274c206ac1fc03f92f0c43ce0d2be8e9947242fedb"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d2abac8808acf4a055d76e12f344f72e83b405d169d9b903f2263ca9ed15ad4"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a14ea48d0884c57b3b8de5e1ecaef3cfa17da6b30b57c3a8be999de1330b2be"},"properties":{"dependency":{"package":"lodash-es","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ea65af982fbfa7ee58dbe3fa40bd975ecb648d209c563eae9269b519d2be2a6"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bac668e18f3c5d2f8513c749add59e46084dfacf0fe936f8986eaab1438c1db"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98f5b7f1cc7ab72c7ef988be1ab835626c9ba93796c264fb44a05726fc7d8dd6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94c6ff14ea54b382a61d2f966f77a9032450e908372d7ab5d8acd1b161983573"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34357f5c904b28bfee46660f4a5d254aaccb733826212bdcb3fafc482ee43a99"},"properties":{"dependency":{"package":"sharp","version":"0.35.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9e6ed2f1c3b9d06c1ae728ca0754a134c8b09e532a74b14e5e76708e01e4c58"},"properties":{"dependency":{"package":"smol-toml","version":"1.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cf1c79eea478aac7305b5f2e39899282ace0d5f26c39c569c71ad1647d013b0"},"properties":{"dependency":{"package":"undici","version":"7.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab2bdea44b8997e7d867c5bf42d07c5bebd37c5744fc0ba7e3032e716f86f153"},"properties":{"dependency":{"package":"undici","version":"7.29.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d448e4606a7dcf1cc3492955818639f5c1cb62c7c36612a5a242f2c3cdb27389"},"properties":{"dependency":{"package":"undici","version":"8.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75a306879854408c53718304223f662d5a2654adf2622f8ec1b9a25170f8c6d7"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/@agent-browser/eve/extension/extension.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46d4ca87568197886062e6e21240a954e58817e34bbef51a1762467a880ec4aa"},"properties":{"dependency":{"package":"zod","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/@agent-browser/eve/extension/extension.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c68317aa5c1f3c1c8398f77001f4a6de3d56e5d5b4eb4d522b9380433b6d18b"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/@agent-browser/eve/extension/extension.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f6766de947caf9e6d36318878344ddf3bf57d1a6f2babb4d90cfc478705cc57"},"properties":{"dependency":{"package":"zod","version":"4.6.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/@agent-browser/eve/extension/extension.ts","line":2}}}},{"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":"6413214abdf1a2b8a403ff45607c94aa350167c0c425256aace15f838a2b61d8"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e69c3c94e2f9d8e2c206079b28f6bf58ab13b9507ff08073a365d6d900179c4"},"properties":{"dependency":{"package":"core2","version":"0.4.0","advisory":"RUSTSEC-2026-0105","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c55bc385271bedf2aebb93900d5a62d0a89d893decb9291130611311196ed56"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83b8c302e5ffc6a82d30facacb608d1dec7fe8009004cef45691ff6ec03a8e95"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d811678bd842c216618ea7ddebf2e1c43716068725da3e0cfbc6bb0bc4e7ae5"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcc1872ec9428f2485ef3326ba408ca89ae7720833d7c29589b458a7feb0dcc6"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.17","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0340","RUSTSEC-2026-0343","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"838ef915043a4e020197b0abdc975a0f7b39a13fb4e0a99e41a46374cbb21295"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e52dbe439a57dfadcbc55a6e658c34807773406dd738ed307a07c2b383dff938"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcc5280ce5ac5fa9653ecbc5ef7fcd9aad523fa2416662c0430ff56bd2169bc5"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49ba336b55456e83898cb458bfda332898ae2224a4495f8cc4aef76f8cb440df"},"properties":{"dependency":{"package":"rustix","version":"1.1.3","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77c4854a957c2737971434344cc5c9528f415d5ef57bc9858efd56a834396a82"},"properties":{"dependency":{"package":"rustls","version":"0.23.37","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04ac850bafdadde57f3db25c5a111c756131f363f1e164d98d6f7857b88c252f"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c733bf465cfd43a3ddc9b8a8ff188359b20bea9ddb7bfbd8d13951e56b55ea1"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a0e30346443eb27d25410fbe7aad57f00430329b7eab8219e0f7c6549acc8e5"},"properties":{"dependency":{"package":"tokio","version":"1.49.0","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff6c6ed50025438be930cf27228e2c442be2cfecb7eddc0934db3322d6a8bbe9"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.5","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb45edd2243d3e341af1849c1fd1bf3a759e0608aa19bb1669c54c0d483ef4ce"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"deb5e3ed9663d8480d7a4ecd791447fe1f87017b41c65d9c126c4a6d99054748"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65bb96f2cae7af8064cc11646577971cac8c09c1acab9a67000b19227b30c86c"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a9e352e19b79bf2830cf80e251685619cecbd255e2cbbed0bd102b634dad1f3"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09375ac2ce0aae756fa51b470008bcfd3e4cb901ab7fe7383a722cbf95062a4f"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9e289ac4c59d1fe8ff0b6cd628964ceca212fb4ce59f1061123d4dae0141480"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.38","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7efa22e3171c38d77412043060eee9fe9a483a06cc2d8163b8a224dcc25b31c"},"properties":{"dependency":{"package":"mermaid","version":"11.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54c81a0c986c9ad13365395b408894c309cebcea10ac5d63bd5a8d989c37a53d"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16bc49aac72eafef4ac9a880a9755121d0367a6bdf3e48689c49c4d9d8c09a58"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bef95ccbe8f40ae78671212808e9ad34d1ad6846fa25bfaa5843147f9bf5c030"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.5.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f9969cc1dcef0e64fdd2efb47b4f5e837c1cd854c95ddd0d8beef9c7c6a680f"},"properties":{"dependency":{"package":"mermaid","version":"11.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fa903053a3f312606416859cb67a9d184205be1a801337492ae8f642ebf9203"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcaff5d1e287866fb15ab08f33c0744f85cfc07f596d7af736c916f57cc95099"},"properties":{"dependency":{"package":"uuid","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"867f146ea13ce766eed9f26ab93afd11a019787a72ee4c3a131d63b7ce29d758"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa11ad5d544212c1833eaa21315588b431c79ee8b8f6d4d28505ba9a89b2fe83"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d704fe98d40178a040ae05360dad15bc1ae61860101fd4a1ec80f441a07ee00"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f63d27088c6c3ea06a48440ca27d445b92db24038a3d51967a22857edc8d30c"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83fe4b3e1556cfa979c097520f20e5ffe2238d78a227272b60d24e73e0e22596"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"4.0.22","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f392b1419f96aa208ac2115d3c34c2f00540ad0c5381e81423f8727e54319f35"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7198a068b97a1af1f65e3196cdf11565ec276006632a836614e182488e4d847"},"properties":{"dependency":{"package":"katex","version":"0.16.42","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84ff0cacd6c3d49245df100983120e660a98a076cd3baeec5f52c810b2c98863"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bb71ccb7f798c01e8eb371a5c1cd1b094bcf55f67d50280846a43bbbc6ef376"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b513782c1e4fb27a3ded4b1ce991d81af435ba7aad5a0b8f03c4bd5b1781d21"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e34513a2dc7f3e5df8a6dd362fba58e50ac67d1a884e80ee7d8fdd73ed141801"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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: 1 of 129 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; 129 of the 206 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: cli/src/color.rs. 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":"cli/src/color.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61295fbb435b3102314d5d93ba32dfc514857a4129e8d1e9e88edd352fd8a90"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: docs-navigation.ts \u2194 page-titles.ts: \u0060docs/src/lib/docs-navigation.ts\u0060 and \u0060docs/src/lib/page-titles.ts\u0060 change together 80% of the time (8 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 8 shared commits counted here, the most recent 3 are \u00602f1649ce\u0060 Add a Modern Web Guidance guide to the agent-browser docs (#2546); \u00601b1a683e\u0060 feat(engine): add experimental Obscura support (#1876); \u0060acbc22bd\u0060 docs: add Remote Agent Browser provider guide (#1648) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/lib/docs-navigation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"173361cc7f357de63a5dcbc1c482f0ff305e26027f58453311cec73a97342bf9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: output.rs \u2192 commands.rs, element.rs, recording.rs, docs-navigation.ts: \u0060cli/src/output.rs\u0060 changes together with 4 other files \u2014 \u0060cli/src/commands.rs\u0060, \u0060cli/src/native/element.rs\u0060, \u0060cli/src/native/recording.rs\u0060, \u0060docs/src/lib/docs-navigation.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abedda93a0a84a45495ecaa358459a2b1884c79c64e77296f0e44a6e95fa6cb4"}},{"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca41aa48d8e591b179376fae0c131e864cb0d243e389001341ef3bf41ddc1427"}},{"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":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2734dc8958163fd6cb40f4bb1b474784b14949dd77f898cee9ebba02cd0e75"}},{"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":"packages/dashboard/src/components/console-panel.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c116afdbb4db8c721f0b18111dbe7fcd0a1ac2214212a9a3ff042eb62a0c95"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5755d9ccb4b5bbdaba66bf28f53d96774301ded167b6d2e1453848af7d0743"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"db65f28ba9f3ca10e6492659000e71dd231be94ced736f5a247e3fb2b2a24d0d"}},{"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":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2339d20c96d2b3b0e1a93f3ef7fec5203b0aec30effad90077f0fc3da8a4da88"}},{"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":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ed3b862263bf7869ab825a9ac3af36e83fd80b663bfd8a2bb9a8bb0e30dcf3"}},{"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":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc797ca150f7bfde510711b0d4ecf71122fac062c998dcb3da88751ea55ac23"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26c260602e3f4ad2407eafc62bf3f523c6fc7b219a663b736070951bdef1bc6"}},{"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":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99871c0646cd6406dd209ae91553f0efda98b4322b30d63449794ebcd0ac63"}},{"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":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"01920f4a855f2699709a66bc3b9ea7599eb183e84a2491161af07f518af8b542"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53ee3774b22257e8115ae362b01fff01ffb28501aeb447eb92ae5d7994899bd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b32a958a939e702d5a9aa6974778156a27339588646815aeb6054c2e4ff400"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/app/layout.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee29c7ab66520042c57b8ca1792137969dacf98c32f6bc7dbe906b3a77d5a8a4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/app/layout.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c673bcfa610df0dd01389c61bb477d50a1aa2af9e1ce7e9e0b0cf5491576be25"}},{"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":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a54f46aac2212364e2f03c22a3aeb63807937fbebbd98398bd68dfbb895135c"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Ccanvas\u003E isn\u0027t keyboard-operable: This \u003Ccanvas\u003E carries tabIndex={0}, so it is in the tab order and a keyboard user will land on it \u2014 but its only behaviour is bound to mousedown, mouseup, mousemove and wheel, pointer gestures a keyboard cannot produce, and there is no key handler. The tab stop leads nowhere. Bind the same behaviour to a key handler, or provide an equivalent control elsewhere. Give it a role as well, so assistive tech can announce what it is."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3f560918eea7f8cbc73a8d2fe0ada593d6822f525e5fccf3da1caed02973fd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ripple\u0060 moves (\u0060animation: ripple .4s linear forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording-cursor.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076e1585b8edd7fc32ef96870c8e06cfd567467d47c1be8d2a7149b5865fb2e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/search.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc997c8b4ed01008aa9af356de813ef9f09568e508f9603a410158e77a3e4e86"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/search.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"100a063407e71db78454fc4aacff21214cc544c0f4ca63e6f27015f85305bb3a"}},{"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":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"965adc7a180b37f63a029a538d2ccac13e8b706b391d93c38c63540e07597e65"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a6e21bd687c8adb473cf9ea8e5f102b8efa1d855adaea342c92fc791e48bd6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ccanvas\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"2166a627c357c6c2fdcf2ce381828b3e49ced35bb961261e01b9a27cf6c933c8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.shimmer-text\u0060 moves (\u0060animation: shimmer 2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/app/globals.css"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8833cf29977f8d3512d2b1de6ee8fff756a69d9039f3e8fbf1672ac5abc649ba"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 256 Python, JavaScript/TypeScript, Rust production file(s) this check read across 8 module(s). Each was searched for its ecosystem\u0027s logging libraries (Python: logging, structlog, loguru; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Rust: the log and tracing crates (info!/warn!/error!, #[instrument]), slog, env_logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (168 matched lines \u00D7 2 locations): packages/dashboard/src/components/ui/context-menu.tsx:29 \u00B7 packages/dashboard/src/components/ui/dropdown-menu.tsx:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 607 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/context-menu.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"986043c3168a35d23f346f503bdef5b4d74734a6fc6c850e352d5cd4ed295d4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (118 matched lines \u00D7 2 locations): packages/dashboard/src/components/network-panel.tsx:189 \u00B7 packages/dashboard/src/components/storage-panel.tsx:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 553 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fc2df48c1c42054d192e427307ac7e7a53c55a76a7d3827a933c38be4d2f7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): evals/lib/claude.ts:6 \u00B7 evals/lib/codex.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 723 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/claude.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"703ed82938c605e45deaa947bc6769d9287611d16ebe77823314f90b5a6e6b40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): packages/dashboard/src/components/storage-panel.tsx:190 \u00B7 packages/dashboard/src/components/storage-panel.tsx:261 \u2014 the two spans are one implementation copied and then locally edited \u2014 194 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b5c37781c65aa51da5e3ebc6fe0e4b26c57d0e0430c3461dba7f8c060035ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/dashboard/src/components/viewport.tsx:427 \u00B7 packages/dashboard/src/components/viewport.tsx:485 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"24103330d143634fb7fc6f3c8e2eed4465c03b4764b43f87385ebe7c67dbdf68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): packages/dashboard/src/components/ui/context-menu.tsx:209 \u00B7 packages/dashboard/src/components/ui/dialog.tsx:121 \u00B7 packages/dashboard/src/components/ui/dropdown-menu.tsx:172 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/context-menu.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1423aacffaf79b6d803781df4297e2cf413052c0d4404dd6477713265d6948dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): packages/dashboard/src/components/session-tree.tsx:265 \u00B7 packages/dashboard/src/components/session-tree.tsx:291 \u00B7 packages/dashboard/src/components/session-tree.tsx:540 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa54083a0a8f88d3f8750104bba8ff6d6e72446051f97ea3495622acbfcf3fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/dashboard/src/components/network-panel.tsx:318 \u00B7 packages/dashboard/src/components/viewport.tsx:688 \u00B7 packages/dashboard/src/components/viewport.tsx:718 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a4d6509e3f0c6581efed254f95e9c20279a3a906abcd58078233b92e91a335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): packages/dashboard/src/components/ui/context-menu.tsx:210 \u00B7 packages/dashboard/src/components/ui/dialog.tsx:121 \u00B7 packages/dashboard/src/components/ui/dropdown-menu.tsx:173 \u00B7 packages/dashboard/src/components/ui/tabs.tsx:69 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/context-menu.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b244bc7eab9d20189b11ef1a43a0b02624536d5739ca0f89c403a941cc0379f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): evals/lib/codex.ts:160 \u00B7 evals/lib/codex.ts:189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/codex.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d3770437622d29b2b7d3332efd258f635475790faed32ce24c0e4569a1fc52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/check-version-sync.js:13 \u00B7 scripts/check-version-sync.js:32 \u2014 both copies are in the same file, so extract the block into one function there 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-version-sync.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d132b57c0966c2444171cc0e01bca27bdcf130a2ee9fe98d3cea8da13372635c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/dashboard/src/components/activity-feed.tsx:19 \u00B7 packages/dashboard/src/components/console-panel.tsx:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/activity-feed.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b1e2d31e4483b177e346a09eccd793737ef002b0a780bfa356601dc9d552ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/dashboard/src/components/extensions-panel.tsx:38 \u00B7 packages/dashboard/src/components/storage-panel.tsx:284 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/extensions-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e5249f4b479624e4561e63046968ae4561e038c329df1824d577007603757"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/dashboard/src/components/network-panel.tsx:366 \u00B7 packages/dashboard/src/components/network-panel.tsx:378 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"794d13be048f178e0f761ef30805edcb487ecb65b946ed22fc350a6a813998f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/dashboard/src/lib/exec.ts:8 \u00B7 packages/dashboard/src/lib/exec.ts:30 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/exec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8dc05012e9e6351d029b90ad4ecbab6ace0c81a2b29a99c9521f1487361a6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/sync-version.js:56 \u00B7 scripts/sync-version.js:68 \u2014 both copies are in the same file, so extract the block into one function there 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/sync-version.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f602067ebb90e91c68a058e0a163576bb41c195b9aa50f0a8f2669ef34a569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/dashboard/src/components/activity-feed.tsx:53 \u00B7 packages/dashboard/src/components/activity-feed.tsx:95 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/activity-feed.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1693982715e206adb48537b65ee02a1fd1ad2121d7527910ec08ac8550f6ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/dashboard/src/components/ui/collapsible.tsx:3 \u00B7 packages/dashboard/src/components/ui/dialog.tsx:8 \u00B7 packages/dashboard/src/components/ui/dropdown-menu.tsx:7 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/collapsible.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"45011657f68f001495cba04707da5f7f411a0a6f1cd835a65e479ca03d33d7bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/dashboard/src/components/chat-panel.tsx:697 \u00B7 packages/dashboard/src/components/console-panel.tsx:272 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b04f4b293aaf51aab3c54e9c948b7d7d3493fd0a8771be9277b55b4722e1f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/dashboard/src/components/activity-feed.tsx:178 \u00B7 packages/dashboard/src/components/console-panel.tsx:95 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/activity-feed.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e473acb31996f2ca5027aa6f0b5cb318c319976e81292c0089f49489e3d43d8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/dashboard/src/components/json-syntax.tsx:31 \u00B7 packages/dashboard/src/components/json-syntax.tsx: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":"packages/dashboard/src/components/json-syntax.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f2a6396211ba2ab3fcc99dbdce99159a8ffb7a577934ecb88e77acbd892630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/dashboard/src/store/sessions.ts:125 \u00B7 packages/dashboard/src/store/sessions.ts:135 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e136754cefe1d5d7a2f7ee7e4b810f8f9c9bc517e27bc7889b8e19d7c24baccc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/dashboard/src/store/sessions.ts:154 \u00B7 packages/dashboard/src/store/sessions.ts:169 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fcde31142900d5e81f1404e79b400397c654f95fa8c9159154b399e5344d9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/dashboard/src/components/session-tree.tsx:402 \u00B7 packages/dashboard/src/components/session-tree.tsx:428 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1dc2981a7723814ae64855fde97dfb5e05230df9f49a1bb7cc6f8cfc9d37ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/dashboard/src/store/sessions.ts:133 \u00B7 packages/dashboard/src/store/sessions.ts:163 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd834f6e4205363968fe8018950ae925f0a4e15b3a684108b568c825435bcbfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Viewport (cyclomatic 29, cognitive 27): Viewport has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4688fce4f316bddde68dc6c9b1caf6ec8fe530dada077079c5e7f95f5b7b3de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 45): (anonymous) has cyclomatic complexity 19 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d867830b00f1cfff5632c7e5e122463b066e5bcbe05914c047daad5f877f01a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 34): (anonymous) has cyclomatic complexity 17 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10b1361b18acd2f8247a17d19516e1b68a4a71615ed6292aceae2d5d9bb0221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatPanel (cyclomatic 17, cognitive 14): ChatPanel has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13f5a4ceafa2c9e119e2283e1ac476da5cb368de4069f16667790cfde0fa75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCallBlock (cyclomatic 14, cognitive 12): ToolCallBlock has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d418a56451ff5448d2ed82744f666b033ac933fbb1db81c85edb24638ac3240"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 16): main 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":"evals/run.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b0ad33c1ee889035b0a03701af3761278b3d63e7082a91d5cf5553dd289c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 20): main 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":"scripts/postinstall.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3aab3dd97c5491f7ecea0ec9ea23629c34995e2b7ba505593be297381818405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f89b0f872a959016fb4d8709e3b87d3781117d3fb9cd4eaa59225e6c941a6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionNode (cyclomatic 11, cognitive 12): SessionNode has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee9818a951ef6fc617063fcbfae55241b56bb2c690e1de05965a6c6be1e94bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function globalBinCandidates (cyclomatic 11, cognitive 12): globalBinCandidates 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/postinstall.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5efff0190f5909464713df2e8254ed29acc0f33572d207b3c80e905b3b3dc17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NetworkPanel (cyclomatic 11, cognitive 10): NetworkPanel has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de77d23a8950c9849d51cda16d467ffd889baf6148501dd6e8ff840cdf35ef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMcpTool (cyclomatic 11, cognitive 9): runMcpTool has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/lib/browser.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e196393470e5ef48941aab84c6f412241ae2546b8407fb2020a98b6c7732d23"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/dashboard/src/components/chat-panel.tsx: 731 lines of code: packages/dashboard/src/components/chat-panel.tsx has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e753e1dd94d3ff1e9f398ff1da759b184b79f2510ff4f6cc0313a63c4675b8ba"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/dashboard/src/components/viewport.tsx: 706 lines of code: packages/dashboard/src/components/viewport.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":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fec621abc54977e8f4bb2f6f1511445d0c37dc24fcc3d91c73fedea3b629279"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/dashboard/src/components/session-tree.tsx: 550 lines of code: packages/dashboard/src/components/session-tree.tsx has 550 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9769675ace2749bbe9d6996382b6582725c718a22087e3941e9b3f949a8f23"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/@agent-browser/eve/test/extension.test.mjs:67 imports \u0027../extension/tools\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/test/extension.test.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"14782893e29172b3cf182c32c1bd45919bd73f2f4a4a6b19d2a6d4e4099e2a74"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"212d13367368455765c181e75e3651259f45533d40b42b573fc83309bdf43f9b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/viewport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd082c8570dec8bbf5a2788f85b465e710d455086fa5b095da7f2c6239c7e3a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9131929cea065c1450565ab9875066f5fa20ca5cf36139b4943ed67ec65386"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad58359bbb7382e772de8f2049c0b64f39d872fa7130122cdd91e23c6bc4351"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f70909ca980ced84868910d3f5cd6c3e8cf17e8dd053c34b1580014aa73f65"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/console-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78dcb15f4334ec23ff574099c96fc5a191ff2933a899a71bc75db2a3c9b94d4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad39b7d1418c2e1edc092f2a854dba2f0887802345b358bc45d15717750bd743"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df5739c2d2d97d56a2ad23be6dfdb3ccc56daee7fc78efa339d83e775b170b1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/context-footprint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae7662667eab0561b6d5c4920d5503a1043e3bfda4f746b33c277015ef71f5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/context-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4c58de9264f0cc82b91a3e83cf15a025809b9645ea1ac36c29d3eba6954c6b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/activity-feed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c362d2a00be549c84a442368320e32f5b7044fc8d7418b874b72eceb6ee8e67d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/stream.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d86d89efd6e2b469fa5c55d03fb2226b91d7ede0bf33eaf049bf8929052378"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/codex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d624cd41c48a476013e2002c3e3fce8620eced83c819f8a66222c558d9fa2c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/lib/browser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d2df24be6d0eb65099f1e1c864cea51d3d90ac767e2e32f22c0468d98a192"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb5d7fcac0c4009e3d577156417235a960529323e506ce9b3a33de8eefe1ad1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/app/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0297d49a30756ca36f1bacf15fa96eeaf381d4278ce579db45f171b83971841"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/shiki-theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7350c06d2336253145d05894abb75d82bb65bf2b0d45b511f1238ebc12ab74"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/run.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7490ca5ff62598c4bd21d03938354d48c7ba2f1b5f9b7724c3a8ce02b4dceae"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/reporter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda1c633cb24a2a7fd6e59818ce73593124e640feaf5e4057fda1bb193e096cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/claude.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d57225aa5cdffaea46d7e41ba93f273fdab7227f8aa85f5d6abbcc84844e9b8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/judge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de5bff2a77ef13f2c642e109668618712a6d95ab7ada5c44425e2e53fcf56b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71da0feeb2a510e890270682d58f6e85a0828ca263eab3ea5324dfc737d8079"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/cases/skill-selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64f002ec0e12ee74fab86997ce09d35b8da54e83c08d287b0477f0ba9589a61"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/cases/command-usage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbaccecf8fdf7abf0d29dbe633878aed4ab516cbd607342d1e6a4d6f0b11c84"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40673323fd52530339bdc21dfd68dfde962506e7ead52e51a6081ff803e3d174"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/lib/catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc196fd5cef3854f98c95369267f0cc6f253d6131dcc4ec2f2a36b73d2da527"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/extensions-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3922e001b8216c1b1a93ba21b51e07b4143efd19cce5bbf094b13a24b07b01"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/cases/reference-routing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14fcaba70d0be1aa778a8f715dc313cd595a26ec95e69972ade4cb3ed323740"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/command.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccd868fb7e9e6b875194f545ff3ad962180aedb9258e63facb9163e87bc88d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/model-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee4940e8fdfa0a666b1d7db4fdfe047af6264b64e5027fff4e3e4c2869c513"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/tabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acad145424afa282c6bb191a8d4851ff81b349373f0424dd65a2f71d7b32952"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/agent-browser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04300aa9a19bb8108766d2211e006fb43c71100d1135534b07adc49ddaedc9e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/dashboard-routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae41019bbbcbffe68fd50e636ebfc7fb58dd9c9a784647133e1954fee24d7fe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/json-syntax.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941f0f7ba4873e469862658ce1a21c7651fb5923c9f95af44ef8ca227c935e58"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab648a5f2604859244e8d7908aae3fa55eda93f03e86cfadd2d592f5248c14"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/cases/skill-loading.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f450d2adb748fc67004d8c5c7abad686f4b8457cbdbf6e2f330de1f287250f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/recording-cursor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86a42fdc80de050a26a6e1e407b1a83187275a7b927cd29e8713954d0b75a30"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d410c11e1a1c559be4c9a29e331fe2ce4f7e77a70d7570cc4f71bb95f2f36be"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afda31cc292eb029fc7fddd936fc68b1b8c282109306d50ea4c7a2171262588"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/cases/context-footprint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140b379c8da36b4bdbe6aa4205d9481f39b30efd93290756f95e5c0713c3fbe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/lib/screenshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"742cf707629dfabed9bb2e4bf5bd47a344f87583632931ff00fb211a381a8e42"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/resizable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e3135579fdbb2dbaaa695acf368350efa0371ba0d289b3585b53478bce639c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9ce94dfd903a51ea1b2a835785321df5681526ca628a11ab77d7e2ea13fea9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/exec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"021badc2144f7596b5a1b03e396eef337b0f435e51e6b2ca910031a047e9bcf1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f495fba0c28358291b3d6866c9c81aa136dd2d32e63bff4fe1d12adcbb808fc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1b2c699471df7254fa2950244c54e229c0290862f999e7e05b44cdd21ac8fa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/collapsible.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd53432ff681b67d7da3fa20e5b5d69680a8017a159f282c15b2c11c9ca5dac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/app/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45d00055e1e5782d3711945991a89f9cced2d3f458e71dd3d5dc8edc7627ef4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/popover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc07bef0b2bca538325be3fe6509b235e2dcbe0fefb29c5825423157dbf072"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/ui/separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb534b3aeaf12c4aa21f71b6281ff929626a3d3e4a3db80f09b2d1b0cecef6d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/theme-toggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3070fcfc51b4402621ab61a0817b7c9f5bc0e279a1ba8801a5654825dd081f4a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/screenshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09290c83c5b8047f84112fc445490239f200b04881c12ca56930fe88c45da429"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/hooks/use-media-query.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb6ca6060da98400994fea1562240e81c7eeaed6c0bc75196b442c2ce8d08e4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/lib/providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f6680d94e1f9207e045b3f71726299ac2dd22807555e2011780b5850315d57"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/theme-provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4917ae42ec633152e800d208bec9eed538684a0b7389e437e5c1937f26fd1d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cf20caa4c1a94a07ddf7218835001e2ffd0173971860714b6bf364166a57f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4c95d37ee38f15173a80f6db38f93992e5f9e8a3242c568740d4dc2c804d6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/close.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e4b27d3a3836d1b84d3f46c5dcfe7b15b60d686abf7e4065491681b53e37e1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871e9a9ff3bbf1cfbc8ed2dd7a4549ac78f5a3af25ce786bc633bb3f605ee76a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/dblclick.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d51d47ed4cd9e1f0df92ca18a80a6395980b0f0f8d231c09775dd333772742"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/drag.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5806ae94a2cd632aaddda733ce5fd9c5f27af646f9f8254c38fd91cb319f2fcd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/errors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7ac2b0bcc11ce389d75c04b26c9619a9bfa67020362f5738040b13ca7ee49"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/find.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e040d5251ca26caa6412a7ee823ac58c7fe70dbd76edd35e9b0187e3af0cb084"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_attr.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfaa45968b2f8e77118bdd2d2b63fe124e513318775368c874352ff50b751b1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_box.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98903aaa9e8e418e7baede646c4563f86cd62a17d6378e52c84d2d95bc879230"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_count.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"918bd3e3e605c49237c0839a5cbd086b92b0dd3f6b8dcb650fd1b222991fdbbf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd89f89fd5fb61be429f6a25cf9a1f04db6c11ea53017eaa993e32fd556a217"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_styles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aac011180008c688454868f2806ea8bf1e25a03ef830c0443a2a6764e48870e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_value.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b95dec776494ff93eaa3ac47021591eb32c2d8aa6c9bc8be0298e8d7dc2c734"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/hover.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"163028681f52c563ef7cd7092ba060b0adc0714629e0e75e7d8d82bc970ceb4b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/network_requests.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae69698b0096433021bfca3f4e2a4c6e9cc6a5c0ad6943cd3a1272024234ba87"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/upload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d678bcfe36bb9688f2aa667b66a42ac7d79a2e84881bda6179cc0b13e3503d68"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/back.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e8d9460796f3d5924c88f0910ba1fc1c9d351783bbadb52f441ef48f2f8963"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/check.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62abf5dde116772146b61992763bf7dadcd74feaf1ea669889a6eb4661c1118"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/click.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db205663f8c0be773f123139c4587be772a54b5d210aabeb53e179ddb60c1b41"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/eval.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a27137cb3c3b28902f9262c075dc6a8171097cbae0758f635a8819795347584"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/fill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e168b111488bf253f28b7221e10e3c3881ca5f3a42596e7a36e8852515f0033d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/forward.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba46ecf79a1c4ddb0b79bd230f0c545336c2eb1036689734a14e109622918c86"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_text.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1d9e491e16e0c4186d6372dfab5391d54e1b5ab54678dc57858b160b9e28b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_title.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a8ffd14e153d2074a64c8569ba93171e97e00cdc1bdf07364ab4ad016a19be"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/get_url.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2854557961fa357c8934d53db677f5bb807aa63fcc2032580611a968d482278"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/open.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"487de754f79b92851768ed9a9935dbd93a86cc3cac4b187f47820af03c5d7d30"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/press.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d2670cd152a053c21c749f46ac4084f63d3a294d84f3781494fd54a206846d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/read.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b18158e495ddd704693e46f4bea455f74a80cea2e99a7738bf0b193339407"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/reload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08690741f4ad8a99dc6e6c32ee4de556ea3f0d5e7fb028f5a43010b773fadbd0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/scroll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7faad7a8f580a2fac302494cb5e47afa60207621cbe47b2cf6045c60a3a3036"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/select.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ee786a32afcb31a9e547884c737429c7ae211be76526a96fa02f2133c2e8b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/snapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1804f2dbdd5c689f8cfae45c4428be3d66283f7f9f0606ed9a8f1bf419f63ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/tab_close.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51abc3b20983623ee7ae61d4529a98d8d183d1e7474bb1b4913ecfac6b54d38"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/tab_list.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef76865c8b9fa1f73201f2a323c1425c61748bf8038281f5132d84d5346f62f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/tab_new.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c0d859845dd22fea980e3d15fe744708384481491fead53206fc66e4626c6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/tab_switch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5aae3721ca7062ce993689c875138487e0a5469850f01a13b6c9b25c652ba3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/type.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e307bc4c8d0886fb1c986dc04d87d00a9ebef86fb1b0a4bd4c370101acd9e2d8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/uncheck.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7960856e328d45f10aaf85605c98d72ca649921b8d86faf89f7e89a2604c55bb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/wait_for_load.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348b06d4dd4a205b589965bd7647f462428de424812a0c58c0a68b9724441484"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/wait_for_selector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b8ee66f531b5fc238ed64105b98272a785f8ba52b7389fbf90f7cb2f87c1d2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/wait_for_text.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7414c5544744897658e5b4c96a77793426f82a879b95cd4243a0f9957a2314a0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/tools/wait_ms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"105ec7391a557a6f59a6ff7b0d6be25852eb6824df46600100469e50ae654361"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but packages/@agent-browser/eve/test/extension.test.mjs cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/test/extension.test.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"584d0f434266c08804303fc36922df351032291fe50c0d69a6259d488fddcf72"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SELECTOR_HINT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@agent-browser/eve/extension/lib/browser.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e0fefcb2b09ddafdfae9fa4d9ee0de67317bbf72619df291f2055f7e80c971"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027clearEventsAtom\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/stream.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e8ef02760bdfe646cb3e9aaa7ed1c710e2033e29bdfd2c88c4a6ab15b6864a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SUPPORTED_ENGINES\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/session-tree.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7134e2509c6adb9241e9f1e29cfc5be7328727d6919ada83710c912713f97ea7"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): packages/dashboard/src/store/sessions.ts \u2192 packages/dashboard/src/store/stream.ts \u2192 packages/dashboard/src/store/tabs.ts \u2192 packages/dashboard/src/store/sessions.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/sessions.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f715440521a059cb79101e8735c0dcaa164842f46ba26e77b4b1e5db2a82d6"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e04a5991953416814cfdc2a07fced0ff408cd72ea16d11b77014ff03d4913f"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: examples/sandbox/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/sandbox/package.json"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d82f9dfc2de6a571bc785ec763cb7cf4abf09e2acfe38d89e8a0e195ef29f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0022Enter\u0022 \u0026\u0026 !e.nativeEvent.isComposing \u0026\u0026 e.keyCode !== 229\u0060 appears character-identically in 3 files \u2014 packages/dashboard/src/components/network-panel.tsx, packages/dashboard/src/components/session-tree.tsx, packages/dashboard/src/components/viewport.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"830bf0e4d84a260de00b2c511a7d5d7ad5a459d206b43ab668c35933f5396c8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0022Enter\u0022 \u0026\u0026 !e.shiftKey \u0026\u0026 !e.nativeEvent.isComposing \u0026\u0026 e.keyCode !== 229\u0060 appears character-identically in 2 files \u2014 packages/dashboard/src/components/chat-panel.tsx, packages/dashboard/src/components/console-panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe76485c9ddd20cf763f163b402b3dd8eb551071b121cfd2cb53c8183f495aa7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.nativeEvent.isComposing || e.keyCode === 229\u0060 appears character-identically in 2 files \u2014 docs/src/components/docs-chat.tsx, docs/src/components/search.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/docs-chat.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c861747b459357e8fe997314cf574510e28a51cb12b2d3c72c1db5a7176fa033"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.type === \u0022page_error\u0022 || (e.type === \u0022console\u0022 \u0026\u0026 e.level === \u0022error\u0022)\u0060 appears character-identically in 2 files \u2014 packages/dashboard/src/components/console-panel.tsx, packages/dashboard/src/store/stream.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/console-panel.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abcbdb241ab75b6a415297df3c092425176401df2f110b0e08665ff1724ceb2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.VERCEL_ENV \u0026\u0026 process.env.VERCEL_ENV !== \u0022production\u0022\u0060 appears character-identically in 2 files \u2014 docs/next.config.mjs, docs/src/lib/site.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/next.config.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c37c0a55695185251357dd802b1dfe2c9939232707c2bc06d2900b362ca414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionName \u0026\u0026 sessionName !== lastSessionRef.current\u0060 appears character-identically in 2 files \u2014 packages/dashboard/src/components/network-panel.tsx, packages/dashboard/src/components/storage-panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc5b0a129c5207361ec5c9646fb430d0b4b124d7227294e78501efa2271ab1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022streaming\u0022 || status === \u0022submitted\u0022\u0060 appears character-identically in 2 files \u2014 docs/src/components/docs-chat.tsx, packages/dashboard/src/components/chat-panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/components/docs-chat.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cfb050e26aba46b1aea0a3fe16e8da3f7830c1accdd4bc1de268b9068f4ebd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(url.scheme() == \u0022http\u0022 \u0026\u0026 url.port() == Some(80)) || (url.scheme() == \u0022https\u0022 \u0026\u0026 url.port() == Some(443))\u0060 appears character-identically in 2 files \u2014 cli/src/native/stream/dashboard.rs, cli/src/native/stream/http.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3e5a8071fa22268f67c45f17e719c415a80a643ca87cd5c7a87272832d1fbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.contains(\u0022Failed to connect to CDP\u0022) || err.contains(\u0022Timeout connecting to CDP\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/native/cdp/lightpanda.rs, cli/src/native/cdp/obscura.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/cdp/lightpanda.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d5f8ae7beb0988998a4b03a064b4b2bdf89157876a8a5f93efbf2656a327d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method == \u0022GET\u0022 \u0026\u0026 path == \u0022/api/models\u0022\u0060 appears character-identically in 2 files \u2014 cli/src/native/stream/dashboard.rs, cli/src/native/stream/http.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b2a2315a6bd0a06fd77559446040662bec85b2b135520af4291844143d36e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mime.is_empty() || mime.contains(\u0022html\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/native/flow/mod.rs, cli/src/native/flow/replay.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"a455904984096800e6150298c0637970feb3d268beddb86b3957c85baab16798"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mime.is_empty() || mime.contains(\u0022json\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/native/flow/mod.rs, cli/src/native/flow/replay.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/mod.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3c04202e9b02c7352065542250e5873af470231f4f6df5c39d278143bf7c1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.trim().eq_ignore_ascii_case(\u0022upgrade\u0022) \u0026\u0026 value.trim().eq_ignore_ascii_case(\u0022websocket\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/native/stream/dashboard.rs, cli/src/native/stream/websocket.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/dashboard.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d212cc15744354f886a831538ee21bcb72331108abc41e51ec1987ee7368a1aa"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/5 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: execCommand: \u0060execCommand\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/exec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd759b9abdc79be6cbf853d06f1d2207f83c822fab52e3022c6b1b3e69dc79e6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: killSession: \u0060killSession\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/lib/exec.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11bf6b2554197a4568e745418d212232931754becb91b6977b317e24dea67b2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getStarCount: \u0060getStarCount\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":"docs/src/lib/github.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f1568eea22374d64bc01b9255e2f72bae535cd8ac831e8765524a10273adcf"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.6 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 7 assertion(s) across the 12343 source line(s) of the 144 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: docs/src/app/og/route.tsx (1), docs/src/lib/page-titles.ts (1), packages/dashboard/src/components/chat-panel.tsx (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/chat-panel.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d04e9f753a8761ced454cf4d3b3339e3a47ebab0ff26c3cdc02c7f77cb99b3"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-3 animate-spin\u0022/\u003E\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64b8e7d907b76d6204fc15a1e7258e9b96d7893afcd79c6e1b4b56645e152d5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mx-auto size-4 animate-spin text-muted-foreground\u0022/\u003E\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"143eacf54b9be58e843303ca7f7485715f206aa836a2b9e3dbe4ff60b03fc8fb"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center gap-2 py-2\u0022\u003E\u0060 under \u0060detailLoading\u0060, but \u0060detailLoading\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":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a3f761c744fc87703d094e2ca36a2d84955dca82e615fc28e5beae5e3d395"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-3 animate-spin\u0022/\u003E\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74bf6384df4aa43272f05bf6bdb73388d6dffb3a0dc4b96db83b99e1eb0f3bf"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center py-8\u0022\u003E\u0060 under \u0060loading \u0026\u0026 cookies . length === 0\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d1934682cf59ece2d2d6b2a6eb55705f2d7a1288b2ae9334c2b0e07f70c6d7"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center py-8\u0022\u003E\u0060 under \u0060loading \u0026\u0026 entries . length === 0\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/storage-panel.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa99685d0851db245aa789f63f4acebf4546f671c016cf6b5e42a9d380bb5dd1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060gaps_of_loading\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/flow/recorder.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7f7881006cdcc4b9e67067e66507bcf78fefc958b824e6781428714bcdf696"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060serialize_json_value\u0060 turns every \u0060Err\u0060 into \u0060r#\u0022{\u0022success\u0022:false,\u0022error\u0022:\u0022Failed to serialize JSON response\u0022}\u0022#.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab6b397443f14ccbaa1a0cd32a83655612f18c5118beb3682d14a673852af6f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060har_wall_time_to_rfc3339\u0060 turns every \u0060Err\u0060 into \u0060\u00221970-01-01T00:00:00Z\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/actions.rs"},"region":{"startLine":13444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b17cb1f57277af26e7e48563e72d91ceb77a04e796d87d71b1b67f9d4758f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060discover_sessions\u0060 turns every \u0060Err\u0060 into \u0060\u0022[]\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/discovery.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58a9c8b7b1b5634fa5aaf741d47cd3111c1bbff01ab3baa9144e9624f059b8b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_extensions_metadata\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/native/stream/discovery.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d8d6d4860635a2485d2a29858c422f4615f5cca4bcc00cd7bc9e5704df104d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060orphan_sessions\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/session_settings/store.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d7a93d220c24371f825a637203a79a8bcd766ec509b9862e37a0cc8db66069"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getStarCount\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/lib/github.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"21baf78777831dcf1f24900847983d6a8737b6557bda3b27ccee8081eedb354b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060urlHost\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/components/network-panel.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1256f7a8103ebd2a1a29c1e023634f34b5294f77ab06bfc5e59cb1622114cff"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadPersistedEvents\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/activity.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3a114b252bb3c02a64e7a156858b0fd00aed81685f7533ea858183147e0166"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadMessages\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/dashboard/src/store/chat.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c096f1b0ce79848fd3fecf44d1a6d8579c964d2f1a0fbb08bb704f9a64e0fc5c"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060trimmed.starts_with(\u0022https://\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060trimmed.starts_with(\u0022https://\u0022)\u0060 also satisfies \u0060trimmed.contains(\u0022://\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/read.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59443c5095bf50375ff7718ed113700f36604c58e341335b80179ad4e0d2ff4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":168,"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."]}]}