{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX7","name":"Slice cohesion","shortDescription":{"text":"Slice cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/AX7"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::service_javascript_fs_sync_rpc (cyclomatic 155): agentos_native_sidecar::filesystem::service_javascript_fs_sync_rpc has cyclomatic complexity 155 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f2ad399851eb8dfd1d03cfaecce96adc2a996f3aea96cf1efd3e1fe87247f"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc (cyclomatic 154): agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc has cyclomatic complexity 154 (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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"2760e562d7092ef5c00fb2c49117f140c232ea61a61a9dcaa35c95323ed74ee4"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc (cyclomatic 145): agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc has cyclomatic complexity 145 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf7277b5bb4e6462431a86a6584281e85902bed10c2a625677fca25e8ff15ad"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::poll_descendant_javascript_child_process (cyclomatic 141): NativeSidecar::poll_descendant_javascript_child_process has cyclomatic complexity 141 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f678789e31019591219245ae9c70cb88a919508d32e6add5ea56f38523f561e3"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.createBrowserProcess (cyclomatic 109): worker.createBrowserProcess has cyclomatic complexity 109 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 65 belong to 26 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca90113c29811626fd8ff660e809ae4cbbb5ea0086e7de6dc1b49481927b2084"}},{"ruleId":"D1","level":"warning","message":{"text":"net-tcp-event-floor.bench.deriveGuestBridgeTrace (cyclomatic 103): net-tcp-event-floor.bench.deriveGuestBridgeTrace has cyclomatic complexity 103 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a68a6024278910b51ee202c2b5a995547197cdc4e8bf0ff496b1fa94706b77"}},{"ruleId":"D1","level":"warning","message":{"text":"net_poll (cyclomatic 99): net_poll has cyclomatic complexity 99 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5344}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c717097717a3742489c730c9a8b536819d57218d68b6e5cb1d1b8e6b92bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::session::session_thread (cyclomatic 98): agentos_v8_runtime::session::session_thread has cyclomatic complexity 98 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"93391eea6c46a9b5ebbffc66748e6609c13fd70709dc900f5cabea7f8795db25"}},{"ruleId":"D1","level":"warning","message":{"text":"poll_oneoff (cyclomatic 86): poll_oneoff has cyclomatic complexity 86 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 25 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":12064}}}],"partialFingerprints":{"codehealthFindingId/v1":"945701f4148a50e5ea9b42ff4762f9b1ec95de2260866f3192c585a5605f1807"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.openShell (cyclomatic 85): NativeSidecarKernelProxy.openShell has cyclomatic complexity 85 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 56 belong to 17 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99f64dc505bb3d7ada72768f7987b2d33415701595549b98e95c5bef2ac9486"}},{"ruleId":"D1","level":"warning","message":{"text":"builtin-modules.loadBuiltinModule (cyclomatic 84): builtin-modules.loadBuiltinModule has cyclomatic complexity 84 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d408b6a2a6171ca79345e29897e91bb2f9462eaa33255299e73ddecd9bb2a580"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::wasm::handle_internal_wasm_sync_rpc_request (cyclomatic 82): agentos_execution::wasm::handle_internal_wasm_sync_rpc_request has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a084357b00d5d6b6f067b84781002b724a4b098b306b37f3828f91e5b415eb6"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::pump_detached_child_process_events_nowait (cyclomatic 82): NativeSidecar::pump_detached_child_process_events_nowait has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d059334b77157d8eb9b41126beb4e52ee740a2f8f7ea0ebf3ca68911ab47924"}},{"ruleId":"D1","level":"warning","message":{"text":"_pollOneoff (cyclomatic 81): _pollOneoff has cyclomatic complexity 81 (threshold 15). Of this number, 77 points are the body\u0027s own statements and 4 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"889a9cc96aae026661b81d549c6b93d251de7932f2f3985344d28a65ca9ec239"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::stdio::run_protocol_engine (cyclomatic 79): agentos_native_sidecar::stdio::run_protocol_engine has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f187e6f3081037af8f87840d9f11e5006fd80a90080ea76b5cf1c8a0c06d41"}},{"ruleId":"D1","level":"warning","message":{"text":"request-payloads.toGeneratedRequestPayload (cyclomatic 77): request-payloads.toGeneratedRequestPayload has cyclomatic complexity 77 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/request-payloads.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6810475c6abe6a74dfd7b4b8e09105d0759594a18b1122cefd2f336a6798a3"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.openShell (cyclomatic 74): NativeSidecarKernelProxy.openShell has cyclomatic complexity 74 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 45 belong to 15 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"984a44cfe75d964417988b60e0537a7c87a3bce0dc96eeef468ecb5e5820e6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"installPythonWorkspaceFs (cyclomatic 74): installPythonWorkspaceFs has cyclomatic complexity 74 (threshold 15). Most of this is not in the body itself: 14 of the 74 points are its own statements and the rest belongs to 48 function items inside it that branch (propagateSetattrToHost, createFsError, makeStat, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f93fe028c9da6a7eb1f07600181e92b6193f6a5df09725eb7bc5ea8483545a9"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::handle_javascript_sync_rpc_request (cyclomatic 70): NativeSidecar::handle_javascript_sync_rpc_request has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99d6f30cc79f1b7122a9ae793e99117318946bf1bc9f011d833faa8d6ab6b36"}},{"ruleId":"D1","level":"warning","message":{"text":"_NetSocket._pumpBridgeReads (cyclomatic 69): _NetSocket._pumpBridgeReads has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0477239d2e9b97b677d84d9d4c8e93903a2860dd2e35fb4faed092ed1a037b6"}},{"ruleId":"D1","level":"warning","message":{"text":"response-payloads.fromGeneratedResponsePayload (cyclomatic 66): response-payloads.fromGeneratedResponsePayload has cyclomatic complexity 66 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/response-payloads.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ee5fbb068e15f1ea6b7ca9eda8308cd2965e09e12413af8a62646e3636f9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_baseline::run_once (cyclomatic 64): agentos_native_baseline::run_once has cyclomatic complexity 64 (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":"crates/native-baseline/src/main.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e8459cce5d802e00baf81ea0a158cb0d93d761a14af7b5b20f977f6652f98"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.spawn (cyclomatic 63): child-process.spawn has cyclomatic complexity 63 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 20 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dade5918bedc2b081ea7256718726938529fd2c7a3e550f257a408bb6ad644"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnedLanguageSidecar::execute_language_operation_owned (cyclomatic 62): OwnedLanguageSidecar::execute_language_operation_owned has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d582ac6556bfb22664663d39723df855a3d6f37156ec996bb6d6c0d360b819"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::prepare_request_wire (cyclomatic 61): NativeSidecar::prepare_request_wire has cyclomatic complexity 61 (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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"3137762057d8dfc51434a7a40528ab81699a2d0df528a217482714556301d6a7"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::spawn_http2_server_session (cyclomatic 60): agentos_native_sidecar::execution::network::http2::spawn_http2_server_session 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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"878d44d4775b7854ace1938dc1fdde37583fc4b2c6efe4feac19d00fffb5a990"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_read (cyclomatic 59): fd_read has cyclomatic complexity 59 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 14 belong to 22 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10639}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa723d8d1cb436d2b4620387e8bd821476c4289a24bb85d4a2d9de876f417d"}},{"ruleId":"D1","level":"warning","message":{"text":"_fdWrite (cyclomatic 58): _fdWrite has cyclomatic complexity 58 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 7 belong to 25 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29004d4d020b07daa7d19be2d9b333465e04ee236f5695fe87d6ce2930193b6"}},{"ruleId":"D1","level":"warning","message":{"text":"_fdRead (cyclomatic 58): _fdRead has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acf080e2d880b8e81c470370a4e6341a3e1b85eb096b6d1df4b402d6a835eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"readdir.bench.main (cyclomatic 57): readdir.bench.main has cyclomatic complexity 57 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 22 belong to 5 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/readdir.bench.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e9518cf9d58fcb35d9365959648b2156af309b4871b1046f939b1002228d20"}},{"ruleId":"D1","level":"warning","message":{"text":"net_recv (cyclomatic 56): net_recv has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8787bfd48ac379aafc3b75b9daedbc852276a3d5cbb46f2b61086d293bb4edf"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::kill_process_in_vm (cyclomatic 52): NativeSidecar::kill_process_in_vm has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e75b375a5f5cd683f08153ac9789857ba726e1de43485c8e222d7308821414"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.decodeSpawnActions (cyclomatic 52): wasm-runner.decodeSpawnActions has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"44454b8fe4511190f4992bffe0adbb31ccec4687ff5145472767db660af97409"}},{"ruleId":"D1","level":"warning","message":{"text":"http2.http2Dispatch (cyclomatic 52): http2.http2Dispatch has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b874923d42678291b6e205749800589378455cc746c036a27a2a912a86adac"}},{"ruleId":"D1","level":"warning","message":{"text":"proc_spawn_v2 (cyclomatic 52): proc_spawn_v2 has cyclomatic complexity 52 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"43466bb8cbaf114b14cf88f6ee070a40723baccaca2ff344fa207fe68c49e96a"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::udp::run_native_udp_owner (cyclomatic 50): agentos_native_sidecar::execution::network::udp::run_native_udp_owner has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbe45fa86968b74e03f8ccd14d85c8e3f20f8f1c958b5ba4fd0b16d978e3e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_recvmsg_rights (cyclomatic 49): fd_recvmsg_rights has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8466}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd300fb87c4078fb5e73f1c904244aae73426dc2ff4a238c1fae7b3bdf9abfe5"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::resolve_javascript_child_process_execution_with_mode (cyclomatic 47): NativeSidecar::resolve_javascript_child_process_execution_with_mode has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3973}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37152dca8c12c479ee817b2527e225180ed9a7bc1bffae13fa6fb6f1b484510"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::dispatch (cyclomatic 47): NativeSidecar::dispatch has cyclomatic complexity 47 (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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d08980ba714448580408f32a99afd4b1a08a8714c429be274267c1e489debc1"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::python::python_javascript_sync_rpc_action (cyclomatic 46): agentos_execution::python::python_javascript_sync_rpc_action has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e7b32c6b2f312304eceb478d73be8a84a138fec136e4c2d7c4f71c196d9fde"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::apply_posix_spawn_file_actions (cyclomatic 46): agentos_native_sidecar::execution::child_process::apply_posix_spawn_file_actions has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab737987d6f545480c8e18c582c4bb8ce5a48642dff43e78c105ecd4be9b169"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_tar::main (cyclomatic 46): agentos_tar::main has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7485152809aac86721441358a83e72ebc22a8b095b9302092e35d14571a84a3"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.spawnSync (cyclomatic 46): child-process.spawnSync has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36a9960a1ef8eb49fd3334633ad1112546745482e733e6be27af05bc6d5de0d"}},{"ruleId":"D1","level":"warning","message":{"text":"path_open (cyclomatic 45): path_open has cyclomatic complexity 45 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 4 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10082}}}],"partialFingerprints":{"codehealthFindingId/v1":"801d09eb956bb63492f16389c128f825e832f4fd6ee311f5536e5d5ed4e3a532"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.decodeAdvancedIpcMessage (cyclomatic 44): child-process.decodeAdvancedIpcMessage has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 14 of the 44 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 198, decode). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cd37bc2fd232a13df4e7b6b024ae8cdc03fa9a60b38b84f4c9ea7de84118f8"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::javascript::spawn_v8_event_bridge (cyclomatic 43): agentos_execution::javascript::spawn_v8_event_bridge has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315c2debc5de46f86dfbbaa6457493531ad6ae9d4e13d9f764ba5a5a4358fe7"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::session::run_event_loop_with_readiness (cyclomatic 43): agentos_v8_runtime::session::run_event_loop_with_readiness has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3463}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9425a01282a796342ee492f11c3af84bb84ca8c2b4e5b440e0e2063173091c"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnedLanguageSidecar::handle_execution_lifecycle_owned (cyclomatic 42): OwnedLanguageSidecar::handle_execution_lifecycle_owned has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f64d7b4769494217545222eb8ffbd1e7be4cf0551e9ec3bc5f112ec42a0ea"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::build_owned_descendant_javascript_child_process_spawn (cyclomatic 42): NativeSidecar::build_owned_descendant_javascript_child_process_spawn has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c073aa7bcad6c1a42d18c266c457697457da10ae3628fd75991a0bf1acdde7"}},{"ruleId":"D1","level":"warning","message":{"text":"console.installBuiltinUtilFormatWithOptions (cyclomatic 42): console.installBuiltinUtilFormatWithOptions has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 11 of the 42 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 501, a function literal at line 453, a function literal at line 423, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"670805b4f9bcb135989bef1f3cb733baa12bd6df891b8d4e79dcf07f5936fd53"}},{"ruleId":"D1","level":"warning","message":{"text":"net.wakeSocketBridgeReads (cyclomatic 42): net.wakeSocketBridgeReads has cyclomatic complexity 42 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdbeb2ffec52be3a56cdae568634cd1abe62318b550293db2f872bb4d28f5d9"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::pump_process_events_nowait (cyclomatic 41): NativeSidecar::pump_process_events_nowait 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03757d0d738cf236097c35ba6fc2e76c86feb3992ee3c3c698fc637f3864bad"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_file_cmd::identify (cyclomatic 41): agentos_file_cmd::identify has cyclomatic complexity 41 (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":"software/file/native/crates/file-cmd/src/lib.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3389eed5190a10b6f20e951963dfa91861065f49ed2ee965f67de10d01c497"}},{"ruleId":"D1","level":"warning","message":{"text":"Performer::csi_dispatch (cyclomatic 40): Performer::csi_dispatch has cyclomatic complexity 40 (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":"crates/native-sidecar/src/execution/terminal_model.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc16d533eb5d9f91e5bfde376f3fe854cab32d599b9d027bd76adad55a8b94ed"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::has_probable_esm_syntax (cyclomatic 40): agentos_v8_runtime::execution::has_probable_esm_syntax has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b81e6eb012547e4f0086c90f7b08877dd7bc5c6b41fa74cb0b5a5689f97c75c"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::service_child_kernel_wait_rpc_in_vm (cyclomatic 39): NativeSidecar::service_child_kernel_wait_rpc_in_vm has cyclomatic complexity 39 (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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8247}}}],"partialFingerprints":{"codehealthFindingId/v1":"03439b4df14ce5f4caf31a10ba044137e8af86669c5c8cb36ca3a6b8e53586a3"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::service_javascript_http2_sync_rpc (cyclomatic 39): agentos_native_sidecar::execution::network::http2::service_javascript_http2_sync_rpc has cyclomatic complexity 39 (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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdf67917d27ab5c5581f6fbf0c4ca2ab8e8a7bbbe1cb696f9f792674ee4e0b0"}},{"ruleId":"D1","level":"warning","message":{"text":"net.normalizeListenArgs (cyclomatic 39): net.normalizeListenArgs has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"14430bbe807ba197e266374220f9caf5a221df9477c655aab67e5665cda0e7d0"}},{"ruleId":"D1","level":"warning","message":{"text":"_pathOpen (cyclomatic 39): _pathOpen has cyclomatic complexity 39 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 3 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fa027a1aa8621cc0c97d92a87dc3fbc5aad5eb19d8f7eb2e3e907d71df4a09"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::spawn_http2_client_session (cyclomatic 38): agentos_native_sidecar::execution::network::http2::spawn_http2_client_session has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"94034cd3d934b94427a13e2415983ad8672782f0b5b9f3d3790d565ba3d567ce"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::collect_object_literal_keys (cyclomatic 38): agentos_v8_runtime::execution::collect_object_literal_keys has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c1cad76de66ddec80f33f22f9b924ab4f5cb8696a3d3cc8218a31fc5fcf620"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.routeChildProcessEvent (cyclomatic 38): child-process.routeChildProcessEvent has cyclomatic complexity 38 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a962fe905af8cf1054bced2a33848188f873faf9013f961efbca0a8b688be48"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_kernel::pty::process_input (cyclomatic 37): agentos_kernel::pty::process_input 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":"crates/kernel/src/pty.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dff2a26ef3df1d11e970b525b930e43bd71d57f1be9ff232d970ba63df825f3"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_diff::diff_files (cyclomatic 37): agentos_diff::diff_files 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":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed0a13be71c09d7c3785af12029302af10a5dfd0e382b306a97ffb77f978bb5"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.readHostNetSocketToGuestIovs (cyclomatic 37): wasm-runner.readHostNetSocketToGuestIovs has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67bcc78c6dfc782d770b060513113f1bac4275c39eeb719c523cbaad8c65494"}},{"ruleId":"D1","level":"warning","message":{"text":"proc_waitpid_v3 (cyclomatic 37): proc_waitpid_v3 has cyclomatic complexity 37 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 3 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7469}}}],"partialFingerprints":{"codehealthFindingId/v1":"84820f2cc42b2026e8bc78aaf8c1a2f8edcce9dd72e6a27524b7dbb88b23a22c"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_dup2 (cyclomatic 36): fd_dup2 has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7886}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dee730e61d92ea86cb952597f4019478bf0a8b71db97207f8a9052d4eea0d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_write (cyclomatic 36): fd_write has cyclomatic complexity 36 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 1 belongs to 17 function literals inside it that branch. To reduce it, separate the cases: extract each independent 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: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11754}}}],"partialFingerprints":{"codehealthFindingId/v1":"184fa7fcd09cad4368b65c7ecf0416d5757c04b95d70d3ca9d89b66c6ea69d56"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::spawn_javascript_child_process (cyclomatic 35): NativeSidecar::spawn_javascript_child_process has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dc8d0cc383f374135ab6c520b7188ea9781e18cd25d38c926b8dbf5855bcf1"}},{"ruleId":"D1","level":"warning","message":{"text":"net.netSocketDispatch (cyclomatic 35): net.netSocketDispatch has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6a38c7ad12a897d2b6cd2d4b7ebaef36cfa381004a12a446603069f0954239"}},{"ruleId":"D1","level":"warning","message":{"text":"process.setupGlobals (cyclomatic 35): process.setupGlobals has cyclomatic complexity 35 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc08bff51176542dc9942d16c1511bb71b07ac35b92db61f7046c9b186a7f9f"}},{"ruleId":"D1","level":"warning","message":{"text":"registerKernelDelegateFd (cyclomatic 35): registerKernelDelegateFd has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60710071bdbcb4ae76e6847cf0f8e3c77d5063fd811b827bae8543639fc524c"}},{"ruleId":"D1","level":"warning","message":{"text":"routeChunkToFd (cyclomatic 35): routeChunkToFd has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee24bb19d7fd86119841c84c5021cc782da6dd624f3dd9a80d61ab34370a6769"}},{"ruleId":"D1","level":"warning","message":{"text":"PtyManager::read_with_timeout (cyclomatic 34): PtyManager::read_with_timeout 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":"crates/kernel/src/pty.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f750cee6e94e9575d26e2e314bb643ea559b0ec0db814da265c6336118ae6a00"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::find_code_pattern (cyclomatic 34): agentos_v8_runtime::execution::find_code_pattern 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"b316ae3d50a31d285b232839bf9ab29b3d398c93d7b52685ee869bce83fe2048"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_yq::parse_args (cyclomatic 34): agentos_yq::parse_args 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":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47dca55db0eb2f6c17a7ea99faacaa85cf43013f242270fa6ce48f653cda9cc"}},{"ruleId":"D1","level":"warning","message":{"text":"http.waitForRawHttpResponse (cyclomatic 34): http.waitForRawHttpResponse has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 2267, 2229, 2294, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2198}}}],"partialFingerprints":{"codehealthFindingId/v1":"612bdca050b98c94a8a79a2767737c86f7116aca1e73e23a27bcf6287411830f"}},{"ruleId":"D1","level":"warning","message":{"text":"http.parseLoopbackRequestBuffer (cyclomatic 34): http.parseLoopbackRequestBuffer has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20a49469dc715ea0d4e99f444a32e80d2c7a3a0a3f4a86e0632b91877f33141"}},{"ruleId":"D1","level":"warning","message":{"text":"net_connect (cyclomatic 34): net_connect has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5675}}}],"partialFingerprints":{"codehealthFindingId/v1":"7852f5065207d051238a7c0638bf55f77b74e59a6de3d61708b92c0b6d351db7"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc_response (cyclomatic 33): agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc_response 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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa65a87a439395e3e5959b6b1fbdb2feeadd1dcad53682f9bec09c4874a16fc"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::poll_client_http2_streams (cyclomatic 33): agentos_native_sidecar::execution::network::http2::poll_client_http2_streams 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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b969cdd7bcd1e5a2fc7d8d19056515111a0cb3c38bac3f0044773be35753fdc1"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::poll_server_http2_streams (cyclomatic 33): agentos_native_sidecar::execution::network::http2::poll_server_http2_streams 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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bcf0a41790e1e2312e2a4d06e2aec3c484d91a1d60389d10bede1f1097c914"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_shims::xargs::xargs (cyclomatic 33): agentos_shims::xargs::xargs 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":"toolchain/crates/libs/shims/src/xargs.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bc0ff09c16cb67b49e765e2d6dda2fbe51b551a8f9ea34044f4e4e50e234b3"}},{"ruleId":"D1","level":"warning","message":{"text":"process.readProcessConfig (cyclomatic 33): process.readProcessConfig has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"556588bf88ccc5f794e8ba1296ad084e5149ebfae122c71144bc1c132ab35547"}},{"ruleId":"D1","level":"warning","message":{"text":"host-functions-zod.validateSchema (cyclomatic 33): host-functions-zod.validateSchema has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/host-functions-zod.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"819cd660b044cc5e86504a90ee5afdf0382cc83481253def698aa4d007eae34a"}},{"ruleId":"D1","level":"warning","message":{"text":"net_dns_query_rr_v1 (cyclomatic 33): net_dns_query_rr_v1 has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5830}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a400cc1e8a9c37cbce46d28676d0b56e7adc91057cbc06299bacea074e5cd24"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs::exec_argv_process (cyclomatic 32): AgentOs::exec_argv_process 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":"crates/client/src/process.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8dfb6ee345ee1615bd78ff5fab2c33713d8ca2d3e1a1dc719e00b421a5afc2"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::tls::run_native_tls_transport (cyclomatic 32): agentos_native_sidecar::execution::network::tls::run_native_tls_transport 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":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4e602c005942bef861a3b805320440d0c1c37780e062c3265f16a9f7baf410"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::language_execution::lower_operation (cyclomatic 32): agentos_native_sidecar::language_execution::lower_operation has cyclomatic complexity 32 (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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5198810d88e06c8565d665a79bed5c9ce755ba666c24aecd7d2e0c8450f2f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"console.createStdioWriteStream (cyclomatic 32): console.createStdioWriteStream has cyclomatic complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79b9d4e7f7bbfb29eda931f34c213fd0258e7f698da9789f33d734c746873a"}},{"ruleId":"D1","level":"warning","message":{"text":"net.wakePeerBridgeReads (cyclomatic 32): net.wakePeerBridgeReads has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc93c9ccd8b738448903945f1b422e0d18365a6c741f3f0428d7a9628ad4a67"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-driver.handleSyncBridgeOperation (cyclomatic 32): runtime-driver.handleSyncBridgeOperation has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f16351eeea73692e1616d50419df2efe2c5b6c58bd33a95b78ba3b5a14728f5"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.createFilesystemView (cyclomatic 32): NativeSidecarKernelProxy.createFilesystemView has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 2031, 2078, 1936, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee7a8d07f91d53c7cddd03cd235bf9c8545cff6495279e96354e2d82e5f4a30"}},{"ruleId":"D1","level":"warning","message":{"text":"index.compilerRuntimeMain (cyclomatic 32): index.compilerRuntimeMain has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 9 function items inside it that branch (createSourceProgram, a function literal at line 918, toDiagnosticCategory, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/typescript/src/index.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"814919e979026f5c5b951fb31fe936446f81f8f2f92196e42522fb3d442f8668"}},{"ruleId":"D1","level":"warning","message":{"text":"net_bind (cyclomatic 32): net_bind has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5932}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b30243b037f1f3dd0ce4e0d9f64b681c660add788d4e676afdb3c843a46c0"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::handle_descendant_process_kill_rpc (cyclomatic 31): NativeSidecar::handle_descendant_process_kill_rpc 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":10003}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f43d32f3834e53708658adc45f3e59678b4c19e9bd3762d4542564bfe231c21"}},{"ruleId":"D1","level":"warning","message":{"text":"cmd_cmp::parse_args (cyclomatic 31): cmd_cmp::parse_args has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/cmd-cmp/src/main.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"af302a4104586f5ba4796de068df6a404e1d5bff8af03176e8110eb392151c66"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_file_cmd::main (cyclomatic 31): agentos_file_cmd::main 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":"software/file/native/crates/file-cmd/src/lib.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68999a06d12b5a5b00de3217ff368a464c9732a516cd4e73e4a0152f8de917"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnedPythonSocketService::python_socket_op (cyclomatic 30): OwnedPythonSocketService::python_socket_op has cyclomatic complexity 30 (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":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf17754df97130620b904750d30bcfa938a2d6953d8ca68dd1dcc6c6880e0089"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::process::find_socket_state_entry (cyclomatic 30): agentos_native_sidecar::execution::process::find_socket_state_entry 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":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0616f673fc232ac98b089b6d0da0237aa700689346d261723f9d3021ba1f9a1"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_jq::parse_args (cyclomatic 30): agentos_jq::parse_args 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":"software/jq/native/crates/jq/src/lib.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf2f62b2b4f6cb85587abc3741a6185c0a620a114f0d86ac3d22397500f8cae"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_gzip::main (cyclomatic 30): agentos_gzip::main 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":"software/gzip/native/crates/gzip/src/lib.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd501514b912573c2abeaac5d7221c34b0a16adf99440f3d70de00e83901706"}},{"ruleId":"D1","level":"warning","message":{"text":"NetServer._pumpAccepts (cyclomatic 30): NetServer._pumpAccepts has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"3395ff570b4c04e98db417873f6331259fc8579f0024f190754e9429c6b0be82"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.createFilesystemView (cyclomatic 30): NativeSidecarKernelProxy.createFilesystemView has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 2615, 2662, 2520, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc67376d0b9f91e9be95e49cd8595ad97f6036b074d18547d2a47c1e1c5026b"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.exec (cyclomatic 30): NativeSidecarKernelProxy.exec has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cc9ddd13890ec1e5f61bf62ff78837e27db4c4d4ec976e384c1e8640731172"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::pump_process_events (cyclomatic 29): NativeSidecar::pump_process_events 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"690ed1dc86a50f143384d9a00a3ac267757a932356fcd860490765cdd320be06"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.encodeAdvancedIpcMessage::encode (cyclomatic 29): child-process.encodeAdvancedIpcMessage::encode has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c5c944e222f38cdf6c61aecbbb0899865ce2699be1722fd49bb6ff34a46a5"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs._handleSidecarEvent (cyclomatic 29): AgentOs._handleSidecarEvent has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5722}}}],"partialFingerprints":{"codehealthFindingId/v1":"0713f113553130e737996e622ae41fdbaab3f17918998a6576a167ade39b034e"}},{"ruleId":"D1","level":"warning","message":{"text":"process-spawn.bench.main (cyclomatic 29): process-spawn.bench.main has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/process-spawn.bench.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9e22ae7c767d92382e8de4f60fb690cb651984cc48092a29a18ccabf8fc59c"}},{"ruleId":"D1","level":"warning","message":{"text":"releaseFdHandle (cyclomatic 29): releaseFdHandle has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60bbb7f9b4d859bf1f28cd3ede2414ccf0a4be39a3ba0f652715ab77a753cbd"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::pump_child_process_events_nowait (cyclomatic 28): NativeSidecar::pump_child_process_events_nowait 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa968379f432227a84c00f45f8f63f4170ad7f3d6128e586e05800efc241e2"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::drain_queued_descendant_javascript_child_process_events (cyclomatic 28): NativeSidecar::drain_queued_descendant_javascript_child_process_events 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3817}}}],"partialFingerprints":{"codehealthFindingId/v1":"158c223870aeca602fb98ee0112761ab64f8f24fde57c8602bd64d66dbc056e5"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::exec_javascript_process_image_owned (cyclomatic 28): NativeSidecar::exec_javascript_process_image_owned has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5332}}}],"partialFingerprints":{"codehealthFindingId/v1":"334ae3bc0a0bed10477cc9b45e4e6893c97dc2783c785ff8787482014889d534"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::sync_host_directory_tree_to_kernel_inner (cyclomatic 28): agentos_native_sidecar::execution::launch::sync_host_directory_tree_to_kernel_inner 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6db91901e86b0cbdc04f85a254eccd003984906d5fad56210a7d0d2085d662"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request (cyclomatic 28): agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request has cyclomatic complexity 28 (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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de4b194099d8da3a321b194f96e9bf2da9204566b8ddc9915712e6c7059615b"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::mapped_runtime_host_path (cyclomatic 28): agentos_native_sidecar::filesystem::mapped_runtime_host_path 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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"123c8c574ca6c4ba0331d4c37d2855799364e6edd96fb231743bfae4db0d9a11"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::stdio::run_async (cyclomatic 28): agentos_native_sidecar::stdio::run_async 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":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e217b287c5bc5c58c0f72b5beb5302a009c11d09bf57cf2d6560336ef281efd"}},{"ruleId":"D1","level":"warning","message":{"text":"WriteStream.end (cyclomatic 28): WriteStream.end has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 1789). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"398ce1e66ba8f6e86e9e713a98779013ea60ddbc9837efd818eb2e63f052aa37"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_sendmsg_rights (cyclomatic 28): fd_sendmsg_rights has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad4f1b9784e44e7b880d45c24eb2c158a7f5aabf6686f0bc861813cb81fa065"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::stdio::route_protocol_frame (cyclomatic 27): agentos_native_sidecar::stdio::route_protocol_frame has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c03a8625163e5b462c80ab552f7c9ffe03e402342a44e3305710e0eeae8c52c"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar_core::limits::validate_vm_limits (cyclomatic 27): agentos_native_sidecar_core::limits::validate_vm_limits has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"66387ddbf6fd8c44d2145acb83a881975e8919744960d92232aaf35b02d6596b"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_du::main (cyclomatic 27): agentos_du::main has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/du/src/lib.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"049ed905f6badcf8a6e0ac69ebcfe85b9b8d6647b125bc6f0a76d0e9a2c7bea4"}},{"ruleId":"D1","level":"warning","message":{"text":"http.parseChunkedBody (cyclomatic 27): http.parseChunkedBody has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"27088c9a4968cb420c48e093cb1dcc308e11718e555c27b829a9056acdf7f003"}},{"ruleId":"D1","level":"warning","message":{"text":"http.serializeLoopbackResponse (cyclomatic 27): http.serializeLoopbackResponse has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cc7d73fe38351aad158c82f3c922be631fe2adf1aff55b0653150239a16e8b"}},{"ruleId":"D1","level":"warning","message":{"text":"http.dispatchLoopbackServerRequest (cyclomatic 27): http.dispatchLoopbackServerRequest has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4005}}}],"partialFingerprints":{"codehealthFindingId/v1":"3517509b4b3aae0e05ae613e73a8d43abdab7faa8b44c85473d307937f415cc8"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalBridgeState::handle_internal_bridge_call (cyclomatic 26): LocalBridgeState::handle_internal_bridge_call has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: agentos_execution::javascript::builtin_named_exports (cyclomatic 41) 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":"crates/execution/src/javascript.rs"},"region":{"startLine":4375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eb3eb758d8edd25f454bb06a45d9df510f7ddfb41446cc15abd68b05dc14ed"}},{"ruleId":"D1","level":"warning","message":{"text":"JavascriptExecutionEngine::create_execution_with_module_reader_and_runtime (cyclomatic 26): JavascriptExecutionEngine::create_execution_with_module_reader_and_runtime has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: agentos_execution::javascript::builtin_named_exports (cyclomatic 41) 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":"crates/execution/src/javascript.rs"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"80053fb8e5063ff135cdefcfb13ff91fff50ebb992a6a08cc8316021b340210a"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::route_child_process_bridge_event (cyclomatic 26): NativeSidecar::route_child_process_bridge_event has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9743ce3ada8b858ca731177e0bfa180248e51c36971f5cc9893305881855f1"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::poll_owned_descendant_javascript_child_process (cyclomatic 26): NativeSidecar::poll_owned_descendant_javascript_child_process has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7355}}}],"partialFingerprints":{"codehealthFindingId/v1":"68630d148ec2fa719ba0275ff2c7b9d0037d9b149112805e0cdccaecbcefe4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"VmLimitsConfig::validate (cyclomatic 26): VmLimitsConfig::validate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vm-config/src/lib.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"b142bfd58e89e28f0867e838096dd1eb9d263e415f113f45e99f340798c506a9"}},{"ruleId":"D1","level":"warning","message":{"text":"http2.validateHttp2Settings (cyclomatic 26): http2.validateHttp2Settings has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7795d8360c87bff4ac2682c72db4f319baa9702a347941c1545ebf1bd8556a"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerResponseBridge.end (cyclomatic 26): ServerResponseBridge.end has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e98f3d31fcc22434496672eb6a4bfd920af2bee267ad309b9c702599ddfb71"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.initRuntime (cyclomatic 26): worker.initRuntime has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 2320, randomBytes, loadFileSync, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/runtime-browser/src/worker.ts"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dcf31a235defb06b52ecec2dc3296bd9570e7f43184579421c6a81be2444f6"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_client::cron::looks_like_one_shot (cyclomatic 25): agentos_client::cron::looks_like_one_shot has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/cron.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb066747b5b607d6f07abf6f13596e370201821149d580157f3bf9a3f4507861"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::dispose_vm_internal (cyclomatic 25): NativeSidecar::dispose_vm_internal 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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff465271dd3695c6d6c4c843281b036940975df9b99917f68005d9cb85a4f17"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.wasiImport.fd_fdstat_get (cyclomatic 25): wasm-runner.wasiImport.fd_fdstat_get has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a9655c4f4b466c2ea6c4696468c6accc5117a79ce328051879e5bd3f390187"}},{"ruleId":"D1","level":"warning","message":{"text":"fs._globCollect (cyclomatic 25): fs._globCollect has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (walk, addResult). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"256cabacf6d28608728b921af3d4b7336080372d04f130902453a081f7190474"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.spawn (cyclomatic 25): NativeSidecarKernelProxy.spawn has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb3bab28620f54f63231f2c0bcf756143541e6260ceba1e3f998ccc94aadc24"}},{"ruleId":"D1","level":"warning","message":{"text":"pumpChildInputPipe (cyclomatic 25): pumpChildInputPipe has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b46d17d4520db5e92c7d0a6aafff9aebcc211b8dca97723d02d2254a8dfafc4"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::handle_execution_event (cyclomatic 24): NativeSidecar::handle_execution_event has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0fec776b9fa7f914cdd092d4c07fed26d30d41fdd3ec0938422a7b36d7dc83"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::service_deferrable_kernel_wait_rpc (cyclomatic 24): NativeSidecar::service_deferrable_kernel_wait_rpc has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"098ade55e1b258fa0aa42aec56a618b2fb22f5202d247694c11a7b4205c04bc7"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::dns::dns_resolution_to_node_value (cyclomatic 24): agentos_native_sidecar::execution::network::dns::dns_resolution_to_node_value has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/dns.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"195bb5f0b866346a13618c9e25a7dabc4bb300e9c60224c5c15ebde229a17650"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::process::terminate_child_process_tree (cyclomatic 24): agentos_native_sidecar::execution::process::terminate_child_process_tree 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":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcace790f7ad7da80e2ec6ba9700a6798cbb6940558d17b68d59f50bd965bb57"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::extension_services::prepare_extension_service_command (cyclomatic 24): agentos_native_sidecar::extension_services::prepare_extension_service_command has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8300d1b66ff118a8614d779991f0cd764a3ceb44bb2146dae196ce3a357f9a"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::plugins::host_dir::confine::resolve_impl (cyclomatic 24): agentos_native_sidecar::plugins::host_dir::confine::resolve_impl 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":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9aa5a3177d3ba30e6977f5860b804080997a1455f207b30705047b31a35c2d"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar_core::limits::vm_limits_from_config (cyclomatic 24): agentos_native_sidecar_core::limits::vm_limits_from_config 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":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1c8018a19bfca5e730bc99d46fb6439656105dd918e39571a4cc0b1ea7586b"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayFileSystem::read_dir_limited (cyclomatic 24): OverlayFileSystem::read_dir_limited 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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"433a616f8c017447f2f7e9c3311ed004df04bdc7d370040d7568aae04bf6610d"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_yq::xml_to_json (cyclomatic 24): agentos_yq::xml_to_json 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":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c46b3f64d0006f6c906a1599bdf3d1926987e6d80e6ce1d6da4e005f124d12"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.childProcessDispatch (cyclomatic 24): child-process.childProcessDispatch has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent 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: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"be201c563c8d597c4f8abb80a20f080bc76153a6be96ed423e3fd301d5694c70"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs.create::createVmAdmin (cyclomatic 24): AgentOs.create::createVmAdmin has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AgentOs.create) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: agent-os.handleJsBridgeCall (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"596aeb19cb18dbf32e022ac69d34652f44d7115f60820854e77be4f11895a981"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_record_lock (cyclomatic 24): fd_record_lock has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66c9035712a58e5981f3d8851dfd1180b3ca9015e725eb5e4f3de6a6f82637"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs::create_vm (cyclomatic 23): AgentOs::create_vm 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":"crates/client/src/agent_os.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"42947f3a3c07f019ce42b6ab629ece4ebba6e7d34feda834f649d2b2b407b317"}},{"ruleId":"D1","level":"warning","message":{"text":"JavascriptBenchmarkReport::render_markdown_with_comparison (cyclomatic 23): JavascriptBenchmarkReport::render_markdown_with_comparison 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":"crates/execution/src/benchmark.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a915a364257f02eff8aa7d226eda0401ef9e89a1f76a03e221cbc2cabfc5ff58"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelVm::fd_socket_recvmsg (cyclomatic 23): KernelVm::fd_socket_recvmsg 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":3908}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5690958b5b7642353eb5d4b1eb74a21581555e77af6a52e50690b06f403a95"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_kernel::kernel::resolve_unix_socket_components (cyclomatic 23): agentos_kernel::kernel::resolve_unix_socket_components 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":8933}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9bb36012fb79bd145356a31caf13bbb3deacaafabc63f9598e6b68879dab29"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryMetadataStore::set_attr (cyclomatic 23): InMemoryMetadataStore::set_attr 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":"crates/vfs/src/engine/mem/metadata_store.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd212df9bb1f828b819feeb5d66388e14882e657a5bc2ac9bf96f9842493a8"}},{"ruleId":"D1","level":"warning","message":{"text":"RawBodyReader::read_chunk (cyclomatic 23): RawBodyReader::read_chunk 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":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91ffec50091c613cf3edb2de4de593fb1dbf0efb4e40a569c30dc955b2689a6"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.maybeCreateSyntheticCommandResult (cyclomatic 23): wasm-runner.maybeCreateSyntheticCommandResult 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: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4017}}}],"partialFingerprints":{"codehealthFindingId/v1":"be761fbbb4581c755bad87abe57188140ac62657453a29c3bbc0d10d09ec70b3"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.execSync (cyclomatic 23): child-process.execSync has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5818355ec74ddc68b656aea8d267890a753e8bc916901e450836c184b6f9d740"}},{"ruleId":"D1","level":"warning","message":{"text":"http.dispatchServerRequest (cyclomatic 23): http.dispatchServerRequest has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3828}}}],"partialFingerprints":{"codehealthFindingId/v1":"020de13899b2bb9830535bcd71f0214e6aa1e370c43022fc31a2ba6341ef3167"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.resolveExportsValue (cyclomatic 23): runtime.resolveExportsValue has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c72361775844bc9e07f43f2d4c415bed176d6853b4a0ae4005acb2121b3515"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol-client.resolveProtocolFrameTransport (cyclomatic 23): protocol-client.resolveProtocolFrameTransport has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/protocol-client.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d590b76f67b4a6278851e46cb420c6469b7481e837c7e1e7e505432f8496fe"}},{"ruleId":"D1","level":"warning","message":{"text":"PipeManager::read_with_timeout (cyclomatic 22): PipeManager::read_with_timeout 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06a93cbd3e607b4b490f3f3e56097f1fb35192acb8886f0a23b45b73357afe9"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::prepare_owned_javascript_process_event_service (cyclomatic 22): NativeSidecar::prepare_owned_javascript_process_event_service has cyclomatic complexity 22 (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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7012}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffc0bc0801eee2c8b884090264689eedea1acbe954b0db4dd000de59b29d9be"}},{"ruleId":"D1","level":"warning","message":{"text":"ActiveTcpSocket::poll (cyclomatic 22): ActiveTcpSocket::poll 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbe86e8ac3275d8a67dc059a41025679f2ae7a7e27891e2c16947afda2fa7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::tcp::spawn_tcp_socket_reader (cyclomatic 22): agentos_native_sidecar::execution::network::tcp::spawn_tcp_socket_reader 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36f584455f60d8ca5e66f6ce6f3205b0dba44e9aefcb688ec5b3b61580cfba"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::execute_script_with_options (cyclomatic 22): agentos_v8_runtime::execution::execute_script_with_options 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffffda7acb4d545eb441ba0edc6b7cb58d21e2829e0a59346fa1b315b64b57f"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.buildPreopens (cyclomatic 22): wasm-runner.buildPreopens has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c006bb2e96498a4c87d3a250bdcee9eda925c474964e3b968a10a4dd7f673d9b"}},{"ruleId":"D1","level":"warning","message":{"text":"_NetSocket._flushBridgeWrites (cyclomatic 22): _NetSocket._flushBridgeWrites has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0ef7db5c97845f7d103d5be5e2342e7d71e125fc9e40b7e70f0232e8fe77d3"}},{"ruleId":"D1","level":"warning","message":{"text":"IncomingMessage.constructor (cyclomatic 22): IncomingMessage.constructor has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a176c44fdd848d64d6082aeafd342c035a207a714a24dc748b7a16eaa3b6d78e"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerResponseBridge.writeHead (cyclomatic 22): ServerResponseBridge.writeHead has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"646a5d94e637de9ae8ce1c3d50eeacb1caf17dc1691bf2260b33e46b6e9f4ed6"}},{"ruleId":"D1","level":"warning","message":{"text":"dgram.normalizeDgramSendArgs (cyclomatic 22): dgram.normalizeDgramSendArgs has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e02980237c5f5dc3624ff11673dd8a1b693cca524f0fa2c4de16a5f1ae0368"}},{"ruleId":"D1","level":"warning","message":{"text":"rpc-client.parseSimpleExecCommand (cyclomatic 22): rpc-client.parseSimpleExecCommand has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: NativeSidecarKernelProxy.waitForTrackedProcess (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e76a257cdfe08a689e05a129e14f41e7a6f98f21508057d4a3668da07cab808"}},{"ruleId":"D1","level":"warning","message":{"text":"kernel-proxy.parseSimpleExecCommand (cyclomatic 22): kernel-proxy.parseSimpleExecCommand has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"418af747789df1a70f7b91a094c4ea6fdd68fd0e3c3c97e7c16ffd7b32a0114f"}},{"ruleId":"D1","level":"warning","message":{"text":"_fdClose (cyclomatic 22): _fdClose has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"405399477a764ca844911878511c31711522da6b4dce4f289879c95fe773d943"}},{"ruleId":"D1","level":"warning","message":{"text":"collectInactivePipeHandles (cyclomatic 22): collectInactivePipeHandles has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d9cfe9d904b24f017faaecfdedf6953f66d382e0311df181b2daf0ed633f19"}},{"ruleId":"D1","level":"warning","message":{"text":"net_accept (cyclomatic 22): net_accept has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6074}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7e3a3242a1a23134274f447068ac937b4060cbdca2427ea01825a80c23e769"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_renumber (cyclomatic 22): fd_renumber has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11989}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0255d8e5080e88fa6145940de8c8912e9f7718a2de52e00f18b26ad909b332"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelVm::fd_open (cyclomatic 21): KernelVm::fd_open 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1acbbedbf475cbff3f3b533b31348f30628e82995fa125d57ef56ec56fafca"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::expire_public_execution_deadlines (cyclomatic 21): NativeSidecar::expire_public_execution_deadlines 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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d86bd11ec565e2474e43cc57a4d76ae2add97cc4d396b6213bc84cff81bc8d2"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::complete_public_execution (cyclomatic 21): NativeSidecar::complete_public_execution 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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25b1a2a786dc1ec719a3739a523555a0a9bf9b67d3ea3533888a1b3e72a23bd"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::vm::configure_vm_owned (cyclomatic 21): agentos_native_sidecar::vm::configure_vm_owned has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2854d2e8ae44634317d4940031fc03634c0a033bce1d236d93b79d0414939e91"}},{"ruleId":"D1","level":"warning","message":{"text":"fs.normalizeFsTimeSpec (cyclomatic 21): fs.normalizeFsTimeSpec has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a316172736420455e3bcf2761e14ca2caa75a9eb75d188feefc576cd69e5ae"}},{"ruleId":"D1","level":"warning","message":{"text":"child-process.fork (cyclomatic 21): child-process.fork 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. This is NOT this file\u0027s highest cyclomatic complexity: ChildProcess.constructor (cyclomatic 68) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6711f54591953097c44550a0f109e41b56e188a9acea7a508b659d1067ddaf5"}},{"ruleId":"D1","level":"warning","message":{"text":"DgramSocket._pumpMessages (cyclomatic 21): DgramSocket._pumpMessages has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4896ec3135f340b44f32f21f368a4816ed81f94cc97f54bc7164dcd5858e7db"}},{"ruleId":"D1","level":"warning","message":{"text":"undici.createAgentOsUndiciDispatcher (cyclomatic 21): undici.createAgentOsUndiciDispatcher 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/undici.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964187759db25d5540b74fc45065c690546571f7cac84c711235bfc6530fefa"}},{"ruleId":"D1","level":"warning","message":{"text":"event-buffer.sidecarSelectorMatchesEvent (cyclomatic 21): event-buffer.sidecarSelectorMatchesEvent has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/event-buffer.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b3e80d8f95d0533e8eb05b992e34b95433647987679c5fe01cf0c99644c0d"}},{"ruleId":"D1","level":"warning","message":{"text":"_pumpPipeProducers (cyclomatic 21): _pumpPipeProducers 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":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef708b604c8dd4706c095508cc4ff1a2001ffa1f0a269cdfda8218baad2690ec"}},{"ruleId":"D1","level":"warning","message":{"text":"installPythonGuestPreloadHardening::restrictedFetch (cyclomatic 21): installPythonGuestPreloadHardening::restrictedFetch 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":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c896ce110994ab2b8aa7f153fcf87988b5c9975af870cae9017035d06b9e483"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs::read_process_output (cyclomatic 20): AgentOs::read_process_output 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":"crates/client/src/process.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1556c8279eb436257d3baf9af98d1eaeb9b3fdacfc8e3c9e80e9567d412d4d"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnedLanguageSidecar::expire_public_execution_deadlines (cyclomatic 20): OwnedLanguageSidecar::expire_public_execution_deadlines 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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f39b649ea133f11ce4e0e6fdda1beefadaef51a09d4c3885b66079282ba5dc"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::read_kernel_http_fetch_stream (cyclomatic 20): agentos_native_sidecar::execution::javascript::http::read_kernel_http_fetch_stream 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"276f2f4f7bea41a195ec54b342e832b4efbc1982371a01ab7b05e7c6feef4348"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::stdio::finalize_protocol_drain (cyclomatic 20): agentos_native_sidecar::stdio::finalize_protocol_drain has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab13d88ae86a29ba079df93ce1d3d416acbd1f50c4df2fff595e777dc2686cb"}},{"ruleId":"D1","level":"warning","message":{"text":"BridgeCallContext::sync_call_response_with_max_response_bytes (cyclomatic 20): BridgeCallContext::sync_call_response_with_max_response_bytes 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":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4430d95bc859b3e28dd27401e32ba613e14e53dc71cce65fa269bd3eb65370"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::execute_module (cyclomatic 20): agentos_v8_runtime::execution::execute_module 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d533e7455da8d6d4048bf698496a6eace47189e4647d2f9e4a311b43fd6d3ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::prefetch_module_imports (cyclomatic 20): agentos_v8_runtime::execution::prefetch_module_imports 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc85103b9c1f43a2191f78e31c84d04d76d27af8a081e31522702d0a4894be82"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::execution::extract_runtime_cjs_export_names_inner (cyclomatic 20): agentos_v8_runtime::execution::extract_runtime_cjs_export_names_inner has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91109a366f6f84c2a87d3262f9dd0545a26b51b8df23cda9feca7a11fd20706"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.parseInitialHostNetFds (cyclomatic 20): wasm-runner.parseInitialHostNetFds has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3731}}}],"partialFingerprints":{"codehealthFindingId/v1":"1270a66e53bbdba9e496b76bdd9c41e730feba4d2f000118ec24446d3562e422"}},{"ruleId":"D1","level":"warning","message":{"text":"prelude.cloneStructuredValue (cyclomatic 20): prelude.cloneStructuredValue has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54acf30376ced72d5e9ed50338904347c166fdc270c7e0756a00014cae336f9"}},{"ruleId":"D1","level":"warning","message":{"text":"fs.bridgeErrorCode (cyclomatic 20): fs.bridgeErrorCode has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e0341a51c9d7f86ae99a5801c1739077fad6864d071f14472b0e0d6bc7ff9e"}},{"ruleId":"D1","level":"warning","message":{"text":"IncomingMessage.on (cyclomatic 20): IncomingMessage.on has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a734c630d3f14b0d432a6ea4bba5cb03f2bfe028dbfa6f6509b663e0c883904"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs._executionOperation (cyclomatic 20): AgentOs._executionOperation has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: agent-os.handleJsBridgeCall (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5b2b199e255e5e1521226ef7fae97e1105262421cbc4acaf407c0d354bdfe5"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-os.parseHostFunctionArgv (cyclomatic 20): agent-os.parseHostFunctionArgv has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: agent-os.handleJsBridgeCall (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd8021b59aee261cd2b5ebf9362db61333bff85431bfa6f6079fc17df1468d3"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.onmessage (cyclomatic 20): worker.onmessage has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bdde566e15834475a8d8d32b5be31dbcb907b2d59357efb89514c49104b690"}},{"ruleId":"D1","level":"warning","message":{"text":"StdioSidecarProtocolClient.dispose (cyclomatic 20): StdioSidecarProtocolClient.dispose has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"18376f79fd1f2f98a0bd0ac548e9d6ca0d1612781ecdeb4558965a10d83b6da3"}},{"ruleId":"D1","level":"warning","message":{"text":"openBlockingGuestFifoForPathOpen (cyclomatic 20): openBlockingGuestFifoForPathOpen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"0571e4459d648085277c9437622346ccc6cc1f86048548f541a9b6d10638c912"}},{"ruleId":"D1","level":"warning","message":{"text":"proc_waitpid (cyclomatic 20): proc_waitpid has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7255}}}],"partialFingerprints":{"codehealthFindingId/v1":"55be44491eeb6a598ad6bc76d1f01ee251b2915f61545008cc05428847b988cc"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_filestat_set_size (cyclomatic 20): fd_filestat_set_size has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11581}}}],"partialFingerprints":{"codehealthFindingId/v1":"842694e9279b23fc76c1bb6903514d0c9d81df2f3ce8f46b0216826bf5643432"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelVm::validate_fd_open_flags (cyclomatic 19): KernelVm::validate_fd_open_flags has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: KernelVm::resolve_proc_node (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":6479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99897d57e6454e0409d6a0c46a2a0f4b3a3ead427c4193deeb90ec9d35893b0"}},{"ruleId":"D1","level":"warning","message":{"text":"PosixAcl::validate (cyclomatic 19): PosixAcl::validate 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: KernelVm::resolve_proc_node (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":9449}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e0bb810be5d17f1cd97eda7ed739b933663a964c147dcb37c13adf0534a4f2"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::poll_event (cyclomatic 19): NativeSidecar::poll_event has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4eec9f841a677e05cf0ffd8012db99f37fa486090263ce3d460a107f1d1d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::prepare_transferred_host_net_resource (cyclomatic 19): agentos_native_sidecar::execution::child_process::prepare_transferred_host_net_resource 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94dff4d272034942be04456eb41cd8c9f6e51a5bd9e993db924251f7a48b707"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::unix::spawn_unix_socket_reader (cyclomatic 19): agentos_native_sidecar::execution::network::unix::spawn_unix_socket_reader 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":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e1fb227269fb0fca96b758736dffdf54c7a61cc55f33aaabcad0dc55fb22bd"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::ipc_binary::encode_body (cyclomatic 19): agentos_v8_runtime::ipc_binary::encode_body 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":"crates/v8-runtime/src/ipc_binary.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e122b71c1dfdfd1e4e464b8b9642ddd77a7ca39553711ea3d7e81275688494a2"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::ipc_binary::decode_body (cyclomatic 19): agentos_v8_runtime::ipc_binary::decode_body 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":"crates/v8-runtime/src/ipc_binary.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"590dca4544f4e59f3751a800ff799f6e90482c93c90bb16861d2baa2e59aced5"}},{"ruleId":"D1","level":"warning","message":{"text":"VmUserConfig::validate (cyclomatic 19): VmUserConfig::validate has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vm-config/src/lib.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec91f365245d580a0582f4831962c0c0b75c8e57b138f5285535b5087e3384a"}},{"ruleId":"D1","level":"warning","message":{"text":"cmd_id::parse_options (cyclomatic 19): cmd_id::parse_options 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":"software/coreutils/native/crates/cmd-id/src/main.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ba0a764197e8379cd3783ad5919af3b9a385e4452d01ece35b67e210b0e0ff"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_awk::run_awk (cyclomatic 19): agentos_awk::run_awk 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":"software/gawk/native/crates/awk/src/lib.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1156189ace06abfcc970f6e51783a70b35bfa25f6c0231ac5d845f64eb5171b3"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_strings_cmd::main (cyclomatic 19): agentos_strings_cmd::main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/strings-cmd/src/lib.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"02be00d61e7050b170eb9a7a90562b7b0d6c8a71207e3927de3874e2763605b6"}},{"ruleId":"D1","level":"warning","message":{"text":"WASI._filetypeForStats (cyclomatic 19): WASI._filetypeForStats 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":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7fafb6227c45e5a76de294df7089079ae7e2cc15e28284ffe5c63f6ea14765"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequest._dispatchUndiciRequest (cyclomatic 19): ClientRequest._dispatchUndiciRequest has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced70f1a601c07e9a9fb7f9303447965d7706b77d106474bccaae826f0db0180"}},{"ruleId":"D1","level":"warning","message":{"text":"process.readLiveProcessResourceUsage (cyclomatic 19): process.readLiveProcessResourceUsage has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330da97f730b2830676fab6973b0fa2186a951609055d2399dec238963588fd"}},{"ruleId":"D1","level":"warning","message":{"text":"footprint.details (cyclomatic 19): footprint.details has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/render/footprint.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9391840bbd305c3f32c01a86ee3ea374cc00c32846559fab3a2aae277aaeeff"}},{"ruleId":"D1","level":"warning","message":{"text":"proc_waitpid_v2 (cyclomatic 19): proc_waitpid_v2 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: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7339}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c21a75486964f041216977b5cf8149bf48d2939df71c27d8bcbe512c918b6c"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_dup_min (cyclomatic 19): fd_dup_min 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: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8022}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8f725f972e3efb80d715ee3fcd9211280daaf991c8a65b65afcb449e90872"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_readdir (cyclomatic 19): fd_readdir 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: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10908}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b16816da77d7bfa22af8a82b476ca85acd7dc224a57bc06ac9eee8e77004dba"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_close (cyclomatic 19): fd_close has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec814417fb4f3b1ea7439ed9e36d37baf9b8334682452c7f33949bc8698d8f3"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs::open_shell (cyclomatic 18): AgentOs::open_shell 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":"crates/client/src/shell.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a8e0f9be298db9337e0ef14a161512773311de537ff0a4443272eb9f93162e"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::v8_ipc::decode_frame (cyclomatic 18): agentos_execution::v8_ipc::decode_frame 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb883f59127e902cdd41a337b4a1f90f9dfbed92bf51044d7b64f06ce7565ad9"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::v8_ipc::encode_body (cyclomatic 18): agentos_execution::v8_ipc::encode_body 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a64dccef156989d0a06deaa8987a78d2a37cd6df48054199d3dd24a59c302"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelVm::fd_read_with_timeout_result (cyclomatic 18): KernelVm::fd_read_with_timeout_result has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: KernelVm::resolve_proc_node (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5053}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a93c98e916e3f00f41c50fd967eadac55924ec40bec20daf62c58123bf1e922"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutedExtensionServices::poll_process_event (cyclomatic 18): RoutedExtensionServices::poll_process_event 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":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee83fadbcc02ed2809f82c738b2eb948d10af785254f4728cfdaba09cb3ba93"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::handle_public_execution_event_nowait (cyclomatic 18): NativeSidecar::handle_public_execution_event_nowait 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b13e5dd454b0c089f4758a0bca8f1764c53f5c6302e340c48fda035567678f"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::decode_stream_body (cyclomatic 18): agentos_native_sidecar::execution::javascript::http::decode_stream_body 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8fcde0db9250895bc9c3b6b45df2bc2c0b92e0341189760d49cefc12c744fb"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::start_kernel_http_fetch_stream (cyclomatic 18): agentos_native_sidecar::execution::javascript::http::start_kernel_http_fetch_stream 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db16a37ddf0010eb65e78aa35127270cd79f9c31ce9f2adc59802f8f02838c6"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::execute_owned (cyclomatic 18): agentos_native_sidecar::execution::launch::execute_owned 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"12edfa68eb4f16651521913b44ed1fd79da1a8ecca44e42d799a0ed0017ba49d"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeConfig::validate (cyclomatic 18): RuntimeConfig::validate 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":"crates/runtime/src/lib.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cc3ff332dc48fb20a7a18c93021136d6facc55aefb6d8879374572b6d146ce"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayFileSystem::read_dir_with_types_inner (cyclomatic 18): OverlayFileSystem::read_dir_with_types_inner 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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1854fa2d3539414f46e4a7511fec05d306f1b3fb0b2faa94637992b5c64301"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_diff::main (cyclomatic 18): agentos_diff::main 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":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076d1fcd79303da3833aee04289f6c75fd108458d2df0b382af9732ac88b130"}},{"ruleId":"D1","level":"warning","message":{"text":"Url::parse (cyclomatic 18): Url::parse 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":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d6426f9a1cf021a476b4ef1a007c19d76193434408c20aea564c46dc172bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_column::main (cyclomatic 18): agentos_column::main 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":"software/coreutils/native/crates/column/src/lib.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a4b921b5b9da9e059aaf0eabd7fc0dcb95b05a7ed12e0ac2ca359747b2a2d4"}},{"ruleId":"D1","level":"warning","message":{"text":"build.build (cyclomatic 18): build.build has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/build.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf44825fc3e847eb46ad1eda806fbd28a17045ba48a493f94eccaa45d94df7a4"}},{"ruleId":"D1","level":"warning","message":{"text":"misc-stubs.getNodeReadableAsyncIterable (cyclomatic 18): misc-stubs.getNodeReadableAsyncIterable has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab739f1258afa5083f89b4f596d62c9452915a56d104f1fc098ade59c6ae16"}},{"ruleId":"D1","level":"warning","message":{"text":"builtin-modules.fileURLToPath2 (cyclomatic 18): builtin-modules.fileURLToPath2 has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4d56e9de15c80faa3665b876744cde6403ee4e8f59cc578eb8c9e3ce72bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"net.normalizeConnectArgs (cyclomatic 18): net.normalizeConnectArgs has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7568d1a1bc1fc79d6d268ee5ce4fc2eecbb30a3fe0b482320b9b8593542e89"}},{"ruleId":"D1","level":"warning","message":{"text":"net.buildSerializedTlsOptions (cyclomatic 18): net.buildSerializedTlsOptions has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5e4418287aa0d55e542e1bc2b917ccd21d7287676bde78d6ccef82ed8dd25e"}},{"ruleId":"D1","level":"warning","message":{"text":"http2.pollRetainedHttp2Handle::tick (cyclomatic 18): http2.pollRetainedHttp2Handle::tick has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3aa9a21b31920da6c42d10cb4937cc183158debf227aa8c3d1a61b6b2d5ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequest._dispatchRawSocketRequest (cyclomatic 18): ClientRequest._dispatchRawSocketRequest has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c3b56ad5283e8e2702ac6bea189d635b02ba01b950782a2c625aad67ed4e0"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.applyTimingMitigation (cyclomatic 18): worker.applyTimingMitigation has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06e14e65a6499cd0a59a304814bbe5a900ef4f5c11328dad31ea57a18f2b002"}},{"ruleId":"D1","level":"warning","message":{"text":"footprint.compareRoot (cyclomatic 18): footprint.compareRoot 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":"scripts/pipboy/src/compare/footprint.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f4669a54de097cf1c33681f1247f775a1411d94315c5789942e4fc1d3a8674"}},{"ruleId":"D1","level":"warning","message":{"text":"version.bumpPackageJsons (cyclomatic 18): version.bumpPackageJsons 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":"scripts/publish/src/lib/version.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"824c15c177bcc73816d4673faa3a35acb4da7457aeae9f5f2266eafac35d7d77"}},{"ruleId":"D1","level":"warning","message":{"text":"_fdReaddir (cyclomatic 18): _fdReaddir has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc73c6d2c861292e62050b12ca5b7d84cc08b6c586cadd15c508d7534a7b701"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs::connect_terminal (cyclomatic 17): AgentOs::connect_terminal 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":"crates/client/src/shell.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e6d9deb3fce5e16a16f0123f7bf56972e22c946d9d6c473d4fb4c3c8dd51ed"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalBridgeState::handle_polyfill_dispatch (cyclomatic 17): LocalBridgeState::handle_polyfill_dispatch has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: agentos_execution::javascript::builtin_named_exports (cyclomatic 41) 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":"crates/execution/src/javascript.rs"},"region":{"startLine":4491}}}],"partialFingerprints":{"codehealthFindingId/v1":"0405cf228889e233eda047eb0bef83961a1ec44eb088c36d115dc356acea8663"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::wasm::translate_wasm_guest_path (cyclomatic 17): agentos_execution::wasm::translate_wasm_guest_path has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: WasmExecutionError::fmt (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d6ef0bc242382e35651bf8139467ef8add8c875ea2402b29c847561fdc6a47"}},{"ruleId":"D1","level":"warning","message":{"text":"PipeManager::open_named_pipe (cyclomatic 17): PipeManager::open_named_pipe has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c56958cd2395534e0406b76b4e55f568edcd70a574ec981601627daa8eac82"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_baseline::main (cyclomatic 17): agentos_native_baseline::main has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: agentos_native_baseline::parse_op (cyclomatic 41) 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":"crates/native-baseline/src/main.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c8229a0aeaaef8837484a25e06c28223c05f3a59a9b7ca4fa0f10825482543"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::recover_descendant_runtime_child_process_event (cyclomatic 17): NativeSidecar::recover_descendant_runtime_child_process_event has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9792}}}],"partialFingerprints":{"codehealthFindingId/v1":"6242c48ef383c3055895ca58462cc7bf537519353a1638b410234ef29766c8bf"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::reject_error (cyclomatic 17): NativeSidecar::reject_error has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":5150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91cb931132572cba38e770aee6edfe46e6a46ce078746d057f2f411e52d945e"}},{"ruleId":"D1","level":"warning","message":{"text":"ActiveTcpListener::poll (cyclomatic 17): ActiveTcpListener::poll 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25b5347fe0a37fb19fe4734c2fddc71a9ef1ae2e44132aaef65df7ac7e950b3"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedDisposeVm::execute (cyclomatic 17): PreparedDisposeVm::execute 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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"e002d50e808c198aa4c6317eafadafd6b112f19810200671e0fc404462f95fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::read_owned_kernel_http_fetch_stream (cyclomatic 17): agentos_native_sidecar::execution::javascript::http::read_owned_kernel_http_fetch_stream 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"865a22dac4f3e67f9330fb8d5fb0c275522fe7d9c5e7082868f29f9f76f34087"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::process::collect_javascript_socket_port_state (cyclomatic 17): agentos_native_sidecar::execution::process::collect_javascript_socket_port_state has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75a9441126d1bcce76e72d842b202fd19f4a59355e908cf147730218b2b90c9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkedFs::write_chunked_range (cyclomatic 17): ChunkedFs::write_chunked_range 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07c6045723eb86f3592ff12c9f1bc2433853378818ea0b317e35b2f15bfa3b7"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayFileSystem::read_dir (cyclomatic 17): OverlayFileSystem::read_dir 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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64340493b03151432cb680abf30b078656a46e19cbcf09089c6fcf2549180f4"}},{"ruleId":"D1","level":"warning","message":{"text":"cmd_findmnt::parse_args (cyclomatic 17): cmd_findmnt::parse_args has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/cmd-findmnt/src/main.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"836eea671e596e59549cdcdeca0144431bd9d74db5c51b0cb0985c1873fecfed"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_yq::write_xml_element (cyclomatic 17): agentos_yq::write_xml_element has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2369e9fe8bea831f9b7cbe421b2b212eb3e48708f05a30770a999044269ad0c"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.parseInitialKernelFdMappings (cyclomatic 17): wasm-runner.parseInitialKernelFdMappings has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"365818ef4b27ee6de7e0d681dc8d098818390cc3d4e6d2210cf521016f779509"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.pollHostNetSocket (cyclomatic 17): wasm-runner.pollHostNetSocket has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4799}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe1eb2155298df307d6e12a8cf70a8bf724dc135fd3ac54f97f8e25d6175498"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.hostNetSockoptKind (cyclomatic 17): wasm-runner.hostNetSockoptKind has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5039}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a59b52263d0ba72243c90298abd89618aaaaaac36ccc387e8701cc8c5b75b9"}},{"ruleId":"D1","level":"warning","message":{"text":"prelude.installBase64UrlBufferEncoding (cyclomatic 17): prelude.installBase64UrlBufferEncoding has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b041190d284937aa8bd3d8bf4498c44d50b8f7858bf2d3f46877b1002d83bf"}},{"ruleId":"D1","level":"warning","message":{"text":"crypto.createBuiltinHash.digest (cyclomatic 17): crypto.createBuiltinHash.digest has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7850385a597bfd625202352af3c85f3a73cc8501be04f726868d340dce0966"}},{"ruleId":"D1","level":"warning","message":{"text":"fs.normalizeStreamStartEnd (cyclomatic 17): fs.normalizeStreamStartEnd has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"047d1da9fb287becfe08caec6a964b17e5e442f8eca4e715dd8678cc4cf8b596"}},{"ruleId":"D1","level":"warning","message":{"text":"stdin.stdinDispatch (cyclomatic 17): stdin.stdinDispatch has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c564a0743806e807a985362c7df06def774bd37a159b698c602d8ceb181a514f"}},{"ruleId":"D1","level":"warning","message":{"text":"module-loader.requireFrom (cyclomatic 17): module-loader.requireFrom has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/module-loader.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0935a573945032188af211f3b55a85806c70489557c559a2ec3689cef2d8bede"}},{"ruleId":"D1","level":"warning","message":{"text":"net-tcp-event-floor.bench.runEcho (cyclomatic 17): net-tcp-event-floor.bench.runEcho has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 634, 669, 620, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fee0e77a79412863c85f769d30db97c5795a64586075f8da0135d779940d56"}},{"ruleId":"D1","level":"warning","message":{"text":"net-tcp-event-floor.bench.classifySummary (cyclomatic 17): net-tcp-event-floor.bench.classifySummary has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"4413d24d215f65c3f8d66ddf0cddd515a1bee72cde0b1201f060ec68e393cccb"}},{"ruleId":"D1","level":"warning","message":{"text":"wasi-ls-scaling.bench.runCase (cyclomatic 17): wasi-ls-scaling.bench.runCase has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/wasi-ls-scaling.bench.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b37b0c47d444be3abd460cc76bf2f9d941f2e720d8ccb3c45b4170e883423a4"}},{"ruleId":"D1","level":"warning","message":{"text":"processChildEvent (cyclomatic 17): processChildEvent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c07b6a287e1816cd271527cfcaf34d0cc64a670ee693fd48175c838f16a9bc"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_flock (cyclomatic 17): fd_flock has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8145}}}],"partialFingerprints":{"codehealthFindingId/v1":"92039dc5843104e5f10e268d8061b70a37a03aafa5f111ba23e45a77807f0819"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_client::agent_os::validate_host_function_input_at_path (cyclomatic 16): agentos_client::agent_os::validate_host_function_input_at_path 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":"crates/client/src/agent_os.rs"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a95428634911737b598a4e04f686644d114aa4f85a7a35b380cded681acd7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::javascript::sanitize_javascript_code (cyclomatic 16): agentos_execution::javascript::sanitize_javascript_code has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: agentos_execution::javascript::builtin_named_exports (cyclomatic 41) 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":"crates/execution/src/javascript.rs"},"region":{"startLine":3397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c211ff8fa00a55ca2e632cf38af9926995e45febc265ae23430bded2135d56"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::wasm::prewarm_wasm_path (cyclomatic 16): agentos_execution::wasm::prewarm_wasm_path has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (agentos_execution::wasm::prewarm_wasm_path_async) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: WasmExecutionError::fmt (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3634}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d62f5c3b1d2f49f6c2730a4d417d3514437e41eb347f52e816961d76e337047"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_execution::wasm::prewarm_wasm_path_async (cyclomatic 16): agentos_execution::wasm::prewarm_wasm_path_async has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (agentos_execution::wasm::prewarm_wasm_path) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: WasmExecutionError::fmt (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"27753a8b6fba5338dd3a68b5ca5925734168e2e8c4789f1ba864f6c03cf2803a"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelVm::fd_socketpair (cyclomatic 16): KernelVm::fd_socketpair has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: KernelVm::resolve_proc_node (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":3552}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4c6be53cd51eb621df6526827b4d98ac7254ceed04e19d5dd3c0d54aca50c9"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelVm::fd_write_with_mode (cyclomatic 16): KernelVm::fd_write_with_mode has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: KernelVm::resolve_proc_node (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9988adb2451c2433790672a7c5f5e015688a63454b35ffb3756250939273df"}},{"ruleId":"D1","level":"warning","message":{"text":"PipeManager::close (cyclomatic 16): PipeManager::close 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"db65cb912b8b8fa1c4a37785a31f426bffc905694f87e0fac0d84c47cd1697f3"}},{"ruleId":"D1","level":"warning","message":{"text":"SocketTable::poll (cyclomatic 16): SocketTable::poll 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":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"678c7ece664034bf4fd62b564b3a8105af4db0955ba4eb11b878434102815c21"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecar::record_public_execution_output (cyclomatic 16): NativeSidecar::record_public_execution_output 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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b0ec4d42979cf305a6de576f8182dfe362b26534f8bd98a15081ef47a71ca6"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::parse_stream_response_head (cyclomatic 16): agentos_native_sidecar::execution::javascript::http::parse_stream_response_head 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"118781df539d425b370f855741ba860a8adc2344e50a6f485d8e20fd475a7800"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::collect_shadow_sync_snapshot_inner (cyclomatic 16): agentos_native_sidecar::execution::launch::collect_shadow_sync_snapshot_inner has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"e852439b19a7e8a89c58d5caf17bd274cc0fe5f56079b77728b519d7d3234d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_native_sidecar_core::vm_fetch::parse_kernel_http_fetch_response (cyclomatic 16): agentos_native_sidecar_core::vm_fetch::parse_kernel_http_fetch_response 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":"crates/native-sidecar-core/src/vm_fetch.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f071a1b4ecbdc302ee69541b5f2e86dd1a295ee4401ff377f5156f93c57fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos_v8_runtime::session::dispatch_ready_batch_callbacks (cyclomatic 16): agentos_v8_runtime::session::dispatch_ready_batch_callbacks 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":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3797}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea3b95d5f19f5e7a847dfa7c01cd665372314ae8d5d506ff3431457dae77486"}},{"ruleId":"D1","level":"warning","message":{"text":"MountTable::realpath (cyclomatic 16): MountTable::realpath 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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2975e569e9abc1f12718d28d47849ebc1829986be670f251f1eb9944e5e6cff"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteMetadataStore::persist_commit_write (cyclomatic 16): SqliteMetadataStore::persist_commit_write 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":"crates/vfs-store/src/local/sqlite_metadata_store.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c475f0c980036d224a0b09ea107852735a904f47ea164bfabdd50939a2c986"}},{"ruleId":"D1","level":"warning","message":{"text":"python-runner.installPythonGuestPreloadHardening (cyclomatic 16): python-runner.installPythonGuestPreloadHardening has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (restrictedFetch). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49f74caa2bfb977721857d1b4d393f38c8d69cf83ec7dd0929a23b2eb424bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"WASI._resolveDescriptorDirectStatPath (cyclomatic 16): WASI._resolveDescriptorDirectStatPath has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f487fc2fff9d21ff00ff313df4ba16b73a8e3cb43d53fff78af4cc794eadd2"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.receiveHostNetDatagramEvent (cyclomatic 16): wasm-runner.receiveHostNetDatagramEvent has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf47caa4810bd9ffb5d1c695daab9718b3aa703a9e6c540b92d7b8ede630770"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm-runner.wasiImport.fd_pwrite (cyclomatic 16): wasm-runner.wasiImport.fd_pwrite has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: wasm-runner.mapHostProcessError (cyclomatic 46) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11086}}}],"partialFingerprints":{"codehealthFindingId/v1":"711dd6a4a6b8486b740efe5bd96ab1756a5b1b2577dd481d62c9e9d0627f2e03"}},{"ruleId":"D1","level":"warning","message":{"text":"aospkg.parseTarMembers (cyclomatic 16): aospkg.parseTarMembers has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/aospkg.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf52ac07bf3c1808ded6bd19f4b1daa4b9e90cabeb72a777a06c66905129631d"}},{"ruleId":"D1","level":"warning","message":{"text":"header.detectExecutableKind (cyclomatic 16): header.detectExecutableKind has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/header.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bf80777c361bff0915a0120ce47ec84b23b00c89f7b7ae34429e1a0d24d400"}},{"ruleId":"D1","level":"warning","message":{"text":"builtin-modules.bufferIsUtf8 (cyclomatic 16): builtin-modules.bufferIsUtf8 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b7b33321e52a4bb15130d84ede5b7b60def141f0bf5bf5aaeae2fe9a1eb80b"}},{"ruleId":"D1","level":"warning","message":{"text":"crypto.normalizeDirectCryptoKeyInput (cyclomatic 16): crypto.normalizeDirectCryptoKeyInput has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e231bfcee1cf608da136e531388bb6f5cd854eab5e6b8225a15b09a95de029"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadStream._readNextChunk (cyclomatic 16): ReadStream._readNextChunk has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a56747df1bba2c6a6bec9867ef593db4f2fee5453e36baf373e482594c36335"}},{"ruleId":"D1","level":"warning","message":{"text":"fs.normalizeWriteSyncArgs (cyclomatic 16): fs.normalizeWriteSyncArgs has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fa5ea9fae4097ff22cd833ad07f8c39ed685593315c009c7e143e71909a935"}},{"ruleId":"D1","level":"warning","message":{"text":"http.attachHttpServerSocket::processRequests (cyclomatic 16): http.attachHttpServerSocket::processRequests has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4259}}}],"partialFingerprints":{"codehealthFindingId/v1":"243d509cad4626d84104c1b3a3dc011d0d60d75ef9863d48c51452fe114166fb"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOs.create (cyclomatic 16): AgentOs.create has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AgentOs.create::createVmAdmin) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: agent-os.handleJsBridgeCall (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4cc642ee87accf99541e48670bd62a6b9d7418dd4359418f35741deb3099e3"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserRuntimeDriver.handleWorkerMessage (cyclomatic 16): BrowserRuntimeDriver.handleWorkerMessage has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c8cac1231e62961a4764ed70676b7acdc9c3ab41e92485f14120d3c641cad0"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.execScript (cyclomatic 16): worker.execScript has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 3518). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f06049cfecc97bee770db7cc9ac0afe484ce1bda4d6ee1e4bf2515dab355ae8"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSidecarKernelProxy.spawn (cyclomatic 16): NativeSidecarKernelProxy.spawn has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ada03bcb04ffd276d572ecd9901fd5fbd2d557308038c17b3bcf1e64a089d81"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve.resolveSide (cyclomatic 16): resolve.resolveSide has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/footprint/resolve.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"677057f7ef926c0d34b698ac46e0e8f50233bb97645fcc812b9e645b6cbcadb5"}},{"ruleId":"D1","level":"warning","message":{"text":"_flushPipeConsumers (cyclomatic 16): _flushPipeConsumers 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":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a4b4245c7a72d8cb90b9d3008db22bac4f0eb74efc0496213db3ee44046bb"}},{"ruleId":"D1","level":"warning","message":{"text":"net_close (cyclomatic 16): net_close has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43bd90a7faf094340d5fd7809334d86b8b5b9b2aaf251cf79534bd37bd103c9"}},{"ruleId":"D1","level":"warning","message":{"text":"fd_pread (cyclomatic 16): fd_pread has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent 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: mapHostProcessError (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10992}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaae71576384b3bf8324dfb54877497362b4f0bfc20c965bb78c739250cf3fb"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::poll_descendant_javascript_child_process (cognitive 394): NativeSidecar::poll_descendant_javascript_child_process has cognitive complexity 394 (threshold 15). Drivers by points: if/else 111 (346 pts), match/switch 9 (29 pts), boolean chains 12, loops 3 (7 pts) (nesting depth added 259). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8752}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d862ff7687224e98659d5b0eecb4b235c9d447d9480407088cb8fbfe782ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::session::session_thread (cognitive 365): agentos_v8_runtime::session::session_thread has cognitive complexity 365 (threshold 15). Drivers by points: if/else 72 (288 pts), match/switch 11 (46 pts), boolean chains 17, loops 3 (14 pts) (nesting depth added 262). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb219c995d605b2e6750257b0932bc4fa8b88c9c4d71a443c4a103a98ca4665e"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc (cognitive 326): agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc has cognitive complexity 326 (threshold 15). Drivers by points: if/else 100 (243 pts), match/switch 23 (67 pts), loops 3 (10 pts), boolean chains 6 (nesting depth added 194). 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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22807b5d2d4654c225faf4528421a8c21769d23adec0defe4e4ccfd02bab037"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::pump_detached_child_process_events_nowait (cognitive 260): NativeSidecar::pump_detached_child_process_events_nowait has cognitive complexity 260 (threshold 15). Drivers by points: if/else 53 (227 pts), match/switch 5 (19 pts), boolean chains 8, loops 3 (6 pts) (nesting depth added 191). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5350b06287a5f3ffc27425b0a8dbff6e4dacfdf6d0dd25eb50d42c64ad2f05a7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::service_javascript_fs_sync_rpc (cognitive 247): agentos_native_sidecar::filesystem::service_javascript_fs_sync_rpc has cognitive complexity 247 (threshold 15). Drivers by points: if/else 80 (194 pts), match/switch 16 (36 pts), boolean chains 9, loops 3 (8 pts) (nesting depth added 139). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"13983ebbadeabeed008d7fad5acf0eadf105d7bf25e792b6f20de434aaf22861"}},{"ruleId":"D2","level":"warning","message":{"text":"net_poll (cognitive 227): net_poll has cognitive complexity 227 (threshold 15). Drivers by points: if/else 47 (155 pts), ternaries 12 (36 pts), boolean chains 24, loops 4 (8 pts), error handling 2 (4 pts) (nesting depth added 138). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5092be96b1f038d0280187b29be1b1c7231285954ede2561ee65d63c86af25"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::stdio::run_protocol_engine (cognitive 166): agentos_native_sidecar::stdio::run_protocol_engine has cognitive complexity 166 (threshold 15). Drivers by points: if/else 28 (78 pts), match/switch 18 (60 pts), loops 9 (26 pts), boolean chains 2 (nesting depth added 109). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"514d4ecc2d8dc01617ea3b59a66ddb34b0a2e1dbb6a4784d6d8da6ea6871f70f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::spawn_http2_server_session (cognitive 145): agentos_native_sidecar::execution::network::http2::spawn_http2_server_session has cognitive complexity 145 (threshold 15). Drivers by points: if/else 30 (88 pts), match/switch 20 (56 pts), loops 1 (nesting depth added 94). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a82fc5f8e7be2fbeeb8c31255a2d49141bc6c5372d5a03c925421e99877246"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::wasm::handle_internal_wasm_sync_rpc_request (cognitive 143): agentos_execution::wasm::handle_internal_wasm_sync_rpc_request has cognitive complexity 143 (threshold 15). Drivers by points: if/else 80 (135 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e19d00bf26deeb4dd7ff16b6bf8a00f89b00b401262025388770fbd106c82e"}},{"ruleId":"D2","level":"warning","message":{"text":"_pollOneoff (cognitive 139): _pollOneoff has cognitive complexity 139 (threshold 15). Drivers by points: if/else 26 (64 pts), ternaries 12 (32 pts), boolean chains 28, loops 6 (10 pts), error handling 2 (4 pts), other 1 (nesting depth added 64). Of this number, 134 points are the body\u0027s own statements and 5 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d2e1ba00219cbdba3a005d98e063e90182297048af72f43f032f87bf592d9"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc (cognitive 116): agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc has cognitive complexity 116 (threshold 15). Drivers by points: if/else 40 (70 pts), match/switch 14 (38 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c388a0dd2a90b32890721ac73f86451b1db83f680a256dbe350afd5258ea32"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetSocket._pumpBridgeReads (cognitive 115): _NetSocket._pumpBridgeReads has cognitive complexity 115 (threshold 15). Drivers by points: if/else 45 (89 pts), ternaries 5 (13 pts), boolean chains 12, loops 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"628fc8fd7ddc9bd69eab48f78f7a213de36bf43f238736c031193388f5b90f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::javascript::spawn_v8_event_bridge (cognitive 112): agentos_execution::javascript::spawn_v8_event_bridge has cognitive complexity 112 (threshold 15). Drivers by points: if/else 35 (100 pts), boolean chains 6, match/switch 2 (5 pts), loops 1 (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a998043be557f31a8973a6492a6a69bde2dbae48f54618a90be257cbe7fcb47"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::process::find_socket_state_entry (cognitive 112): agentos_native_sidecar::execution::process::find_socket_state_entry has cognitive complexity 112 (threshold 15). Drivers by points: if/else 21 (88 pts), loops 6 (19 pts), match/switch 2 (5 pts) (nesting depth added 83). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5fc90c88c5716bbac680c697ed30552c20e2a09aeea269ae2d08b2e57e5cde"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnedLanguageSidecar::execute_language_operation_owned (cognitive 110): OwnedLanguageSidecar::execute_language_operation_owned has cognitive complexity 110 (threshold 15). Drivers by points: if/else 50 (91 pts), boolean chains 8, loops 2 (6 pts), match/switch 4 (5 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebbb754c9b23f1d994585897691bd139d0ebba2520d4ded4a899015212229b2"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::pty::process_input (cognitive 109): agentos_kernel::pty::process_input has cognitive complexity 109 (threshold 15). Drivers by points: if/else 29 (94 pts), loops 3 (9 pts), boolean chains 6 (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":"crates/kernel/src/pty.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff33d8bd2f478565ae980d1ef9cdfc0fd037c1cbb6841b6f56b970ec2f1a295"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::session::run_event_loop_with_readiness (cognitive 108): agentos_v8_runtime::session::run_event_loop_with_readiness has cognitive complexity 108 (threshold 15). Drivers by points: if/else 27 (68 pts), match/switch 10 (34 pts), loops 3 (6 pts) (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3463}}}],"partialFingerprints":{"codehealthFindingId/v1":"579f62102fb6a7e0d2462bea27a25206179a2e397ac8b0328625ad34f2b22c68"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_read (cognitive 107): fd_read has cognitive complexity 107 (threshold 15). Drivers by points: if/else 24 (52 pts), error handling 6 (14 pts), loops 6 (13 pts), boolean chains 11, ternaries 5 (11 pts), other 6 (nesting depth added 49). Of this number, 78 points are the body\u0027s own statements and 29 belong to 22 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10639}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa290f211c0289dcc8939c1d15218597113d2b1692db25467e55ee5d007ad81"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::apply_posix_spawn_file_actions (cognitive 105): agentos_native_sidecar::execution::child_process::apply_posix_spawn_file_actions has cognitive complexity 105 (threshold 15). Drivers by points: if/else 31 (82 pts), loops 6 (14 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf830f54b0e04a23fe1f013ccd85099ac53213f658101c8b729c0c734efd083"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::udp::run_native_udp_owner (cognitive 105): agentos_native_sidecar::execution::network::udp::run_native_udp_owner has cognitive complexity 105 (threshold 15). Drivers by points: if/else 15 (62 pts), match/switch 10 (33 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 72). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"14363071ee48b4e117d0896e7bab0c8ebd5d810550d052f0e102151f194b062c"}},{"ruleId":"D2","level":"warning","message":{"text":"_fdRead (cognitive 103): _fdRead has cognitive complexity 103 (threshold 15). Drivers by points: if/else 22 (50 pts), ternaries 10 (24 pts), boolean chains 18, loops 2 (5 pts), error handling 2 (4 pts), other 2 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f6bc53ec8cc4f1a75c6e812cfee19edc0fbd65e31e19248077ee1381ff377"}},{"ruleId":"D2","level":"warning","message":{"text":"net-tcp-event-floor.bench.deriveGuestBridgeTrace (cognitive 102): net-tcp-event-floor.bench.deriveGuestBridgeTrace has cognitive complexity 102 (threshold 15). Drivers by points: ternaries 100, boolean chains 1, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0c5146d8e05b9e087a47fcfa9d0476c022e5ff7112358af9c840cf9d3e1193"}},{"ruleId":"D2","level":"warning","message":{"text":"poll_oneoff (cognitive 102): poll_oneoff has cognitive complexity 102 (threshold 15). Drivers by points: if/else 31 (57 pts), ternaries 19 (43 pts), boolean chains 24, loops 6 (8 pts), error handling 1, other 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":12064}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db7d3fdc47bc3c7e142bf81dec3c43033d92de5b04c9d2b567d852d53203595"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.openShell (cognitive 100): NativeSidecarKernelProxy.openShell has cognitive complexity 100 (threshold 15). Drivers by points: if/else 36 (58 pts), loops 12 (16 pts), boolean chains 13, ternaries 8 (13 pts) (nesting depth added 31). Of this number, 46 points are the body\u0027s own statements and 54 belong to 17 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457d0d87e2d9aa0093b19b111a0593aa8427ede422a47a9b3a71894eb55b090"}},{"ruleId":"D2","level":"warning","message":{"text":"PtyManager::read_with_timeout (cognitive 98): PtyManager::read_with_timeout has cognitive complexity 98 (threshold 15). Drivers by points: if/else 30 (91 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8495bffe49ea535ca7f5cfcda05fd34d917580441f1987c83220113bdf02408"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.decodeSpawnActions (cognitive 97): wasm-runner.decodeSpawnActions has cognitive complexity 97 (threshold 15). Drivers by points: if/else 32 (79 pts), loops 4 (8 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fcb25bcf6f1524aa5c60cba742453a338f1dc96f8aac1ae082854e0de261de"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::pump_process_events_nowait (cognitive 96): NativeSidecar::pump_process_events_nowait has cognitive complexity 96 (threshold 15). Drivers by points: if/else 25 (76 pts), match/switch 3 (11 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfceff44f139be2b68e7a400f1fa37d4c147f3f5aabe01864efcea96ba3f7a7"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_javascript_sync_rpc_request (cognitive 96): NativeSidecar::handle_javascript_sync_rpc_request has cognitive complexity 96 (threshold 15). Drivers by points: if/else 39 (71 pts), match/switch 10 (20 pts), boolean chains 5 (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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"590ef0b7638440e837016b9388ea2300e2b25f42a6743dda4aa15e1822c858bb"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::poll_server_http2_streams (cognitive 95): agentos_native_sidecar::execution::network::http2::poll_server_http2_streams has cognitive complexity 95 (threshold 15). Drivers by points: if/else 21 (67 pts), match/switch 5 (23 pts), boolean chains 4, loops 1 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d7b2d901e50642f406dec3a40531b92fba91c0af7f01cb38d44272a50117f9"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.createBrowserProcess (cognitive 94): worker.createBrowserProcess has cognitive complexity 94 (threshold 15). Drivers by points: if/else 52 (55 pts), boolean chains 17, ternaries 11 (12 pts), loops 10 (nesting depth added 4). Of this number, 38 points are the body\u0027s own statements and 56 belong to 26 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"08286b178728b9ddb256df50ac04fe5446df2acfb53099ad2b987ea9c7d4aecd"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::poll_client_http2_streams (cognitive 91): agentos_native_sidecar::execution::network::http2::poll_client_http2_streams has cognitive complexity 91 (threshold 15). Drivers by points: if/else 19 (55 pts), match/switch 7 (32 pts), boolean chains 3, loops 1 (nesting depth added 61). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b9b298dd79ff28f51c0673a3a22d60c483af7a7d1b59c2a7ed55069411974"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_diff::diff_files (cognitive 90): agentos_diff::diff_files has cognitive complexity 90 (threshold 15). Drivers by points: if/else 17 (42 pts), loops 10 (31 pts), match/switch 4 (15 pts), boolean chains 2 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f5b091a7ac58f6e76fabd6872016b2f71a51a2bc72011475547daee5d512c0"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::resolve_javascript_child_process_execution_with_mode (cognitive 86): NativeSidecar::resolve_javascript_child_process_execution_with_mode has cognitive complexity 86 (threshold 15). Drivers by points: if/else 44 (70 pts), boolean chains 16 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3973}}}],"partialFingerprints":{"codehealthFindingId/v1":"a034d055aec4eabe6b2cc0ec12e7ad9318eec39b0507b30027d87fdd75b57035"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_tar::main (cognitive 86): agentos_tar::main has cognitive complexity 86 (threshold 15). Drivers by points: if/else 29 (61 pts), match/switch 7 (18 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"338d5e253ffdb83978bbb5494037d240d0f76597b497e582a3fe5719be5e8f37"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::pump_process_events (cognitive 85): NativeSidecar::pump_process_events has cognitive complexity 85 (threshold 15). Drivers by points: if/else 20 (66 pts), match/switch 2 (9 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"44910374bb895e7de9441de81e572fc5d2df622623e5d38a78d733cd2c411e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.openShell (cognitive 84): NativeSidecarKernelProxy.openShell has cognitive complexity 84 (threshold 15). Drivers by points: if/else 30 (47 pts), loops 11 (15 pts), boolean chains 12, ternaries 5 (10 pts) (nesting depth added 26). Of this number, 46 points are the body\u0027s own statements and 38 belong to 15 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7017313ebde510ce707eaef660cb54f9855bea2864a002c722d11f4d51f8c42"}},{"ruleId":"D2","level":"warning","message":{"text":"net_recv (cognitive 84): net_recv has cognitive complexity 84 (threshold 15). Drivers by points: if/else 31 (57 pts), boolean chains 11, ternaries 6 (11 pts), error handling 2 (3 pts), loops 1, other 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6238}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c0e2d2a46786743d33ba4a0d8dba43aa1fbe648519607ebfc81729b9f101c7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::tls::run_native_tls_transport (cognitive 83): agentos_native_sidecar::execution::network::tls::run_native_tls_transport has cognitive complexity 83 (threshold 15). Drivers by points: if/else 16 (60 pts), match/switch 5 (16 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f99a12175ecaddabda510c64bd5a327baac28019cde0d75e9115ece09f410"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_file_cmd::main (cognitive 82): agentos_file_cmd::main has cognitive complexity 82 (threshold 15). Drivers by points: if/else 20 (59 pts), match/switch 5 (16 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/file/native/crates/file-cmd/src/lib.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"582da2bac1c94fd8135c3f5d53148c525f48811606b65d51bdce51ac16fc323e"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::drain_queued_descendant_javascript_child_process_events (cognitive 81): NativeSidecar::drain_queued_descendant_javascript_child_process_events has cognitive complexity 81 (threshold 15). Drivers by points: if/else 16 (51 pts), loops 5 (14 pts), match/switch 3 (14 pts), boolean chains 2 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3817}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fb6bf4aaaf38667de0417bafd8fe13a855e3b36890cf23b27935e044d15ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"_fdWrite (cognitive 80): _fdWrite has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (32 pts), ternaries 9 (20 pts), boolean chains 17, other 10, error handling 1 (nesting depth added 22). Of this number, 71 points are the body\u0027s own statements and 9 belong to 25 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7bdc79a4c001035d7b2d193a95bb2822b6b4009723c6a9af7e4925dfa19b74"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::stdio::route_protocol_frame (cognitive 79): agentos_native_sidecar::stdio::route_protocol_frame has cognitive complexity 79 (threshold 15). Drivers by points: match/switch 13 (40 pts), if/else 13 (39 pts) (nesting depth added 53). 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":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e8367b8c3a143b9b779bd1da32fa5c2a9f8b2901f308a2dfe6f7cdc43960fd"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::has_probable_esm_syntax (cognitive 78): agentos_v8_runtime::execution::has_probable_esm_syntax has cognitive complexity 78 (threshold 15). Drivers by points: if/else 22 (56 pts), loops 3 (10 pts), boolean chains 7, match/switch 2 (5 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d9560748a56fc18adb447a8f9a27243806f38fab385cea35a344f67a7938e7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::spawn_http2_client_session (cognitive 77): agentos_native_sidecar::execution::network::http2::spawn_http2_client_session has cognitive complexity 77 (threshold 15). Drivers by points: if/else 17 (47 pts), match/switch 12 (29 pts), loops 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab643500c943cb88c9db872645e868c4a8be56bb913da0ac970086bde09cb12e"}},{"ruleId":"D2","level":"warning","message":{"text":"installPythonWorkspaceFs (cognitive 77): installPythonWorkspaceFs has cognitive complexity 77 (threshold 15). Drivers by points: if/else 41 (47 pts), boolean chains 12, error handling 5 (7 pts), other 5, ternaries 4, loops 2 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 60 belong to 48 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c83a0b3f1664e8f468d5fee31f308945450f7267f28b2ae00840b7a78315ba"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_recvmsg_rights (cognitive 77): fd_recvmsg_rights has cognitive complexity 77 (threshold 15). Drivers by points: if/else 17 (41 pts), other 11, loops 5 (8 pts), boolean chains 7, ternaries 6 (7 pts), error handling 2 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4832f90f330df0d67c9af38f6ecb47a8b1eb42422f0f6f6ef660edaba2dbcb92"}},{"ruleId":"D2","level":"warning","message":{"text":"readdir.bench.main (cognitive 76): readdir.bench.main has cognitive complexity 76 (threshold 15). Drivers by points: loops 12 (30 pts), if/else 6 (26 pts), ternaries 11 (13 pts), boolean chains 7 (nesting depth added 40). Of this number, 60 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/readdir.bench.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"839374ad0c2eba1d7dde83c070d21becd4f1376c78c6a67c320658a7bec7cbd9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs._handleSidecarEvent (cognitive 75): AgentOs._handleSidecarEvent has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 5 (21 pts), error handling 4 (18 pts), loops 6 (18 pts), if/else 9 (15 pts), boolean chains 3 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5722}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fda864e69b9785fdc43d4d1ebfcb2cc45e8eaea3472340571bed5a1b189a52"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_waitpid_v3 (cognitive 72): proc_waitpid_v3 has cognitive complexity 72 (threshold 15). Drivers by points: if/else 22 (56 pts), boolean chains 8, ternaries 3 (4 pts), loops 2 (3 pts), error handling 1 (nesting depth added 36). Of this number, 69 points are the body\u0027s own statements and 3 belong to 6 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3087692fa02bbc298546221eba3b2fd9ddd03ee0129649f393f82d2dae7146b9"}},{"ruleId":"D2","level":"warning","message":{"text":"net.wakeSocketBridgeReads (cognitive 71): net.wakeSocketBridgeReads has cognitive complexity 71 (threshold 15). Drivers by points: if/else 28 (65 pts), boolean chains 5, ternaries 1 (nesting depth added 37). Of this number, 27 points are the body\u0027s own statements and 44 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce67195993c3dac055d059485dd449c4ca4e79962e6a7c94b921639a193d7f57"}},{"ruleId":"D2","level":"warning","message":{"text":"http2.http2Dispatch (cognitive 71): http2.http2Dispatch has cognitive complexity 71 (threshold 15). Drivers by points: if/else 45 (64 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"5961ad79c262b6d3e057e2d6c6a4b7b269755a7799431264f5b4c145e0bbcac9"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::python::python_javascript_sync_rpc_action (cognitive 68): agentos_execution::python::python_javascript_sync_rpc_action has cognitive complexity 68 (threshold 15). Drivers by points: if/else 27 (45 pts), match/switch 11 (22 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc332eb2192e96ceea4bf1ec893d453b8fb528adc55bfbcae9af06072b443d7f"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.routeChildProcessEvent (cognitive 68): child-process.routeChildProcessEvent has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (43 pts), ternaries 5 (11 pts), boolean chains 8, loops 2 (6 pts) (nesting depth added 32). Of this number, 45 points are the body\u0027s own statements and 23 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"de41363e2d91178dd4dc95b0925752938ff78a76bfc2a7e713f8e4edf92f0a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::build_owned_descendant_javascript_child_process_spawn (cognitive 67): NativeSidecar::build_owned_descendant_javascript_child_process_spawn has cognitive complexity 67 (threshold 15). Drivers by points: if/else 32 (47 pts), boolean chains 10, match/switch 6 (10 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bfac24b449ea0d423eb9ad66da9a2418570b8529c6f0048e5ada577ccb55f9"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_yq::parse_args (cognitive 66): agentos_yq::parse_args has cognitive complexity 66 (threshold 15). Drivers by points: if/else 22 (51 pts), boolean chains 7, loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"439ea13909b1a5e6892b22e123b6ea2e61df10694232a54149bd21e68eb40804"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::exec_argv_process (cognitive 64): AgentOs::exec_argv_process has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (34 pts), match/switch 10 (26 pts), boolean chains 3, loops 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fed157deb11039cb490437ea9c63f460b526353bda79859cad71d2f3078a10b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::collect_object_literal_keys (cognitive 64): agentos_v8_runtime::execution::collect_object_literal_keys has cognitive complexity 64 (threshold 15). Drivers by points: if/else 21 (53 pts), boolean chains 5, match/switch 2 (5 pts), loops 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"16587f3999608a36c5bc75e8d6a759f475c1f1e00588dc5507b541dc15a060c7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_shims::xargs::xargs (cognitive 63): agentos_shims::xargs::xargs has cognitive complexity 63 (threshold 15). Drivers by points: if/else 23 (40 pts), match/switch 5 (16 pts), loops 3 (4 pts), boolean chains 3 (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":"toolchain/crates/libs/shims/src/xargs.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"562aa17872656250c69215420d24b3e75f660e063c7265e7dab84706bcc4fb43"}},{"ruleId":"D2","level":"warning","message":{"text":"http.parseChunkedBody (cognitive 63): http.parseChunkedBody has cognitive complexity 63 (threshold 15). Drivers by points: if/else 16 (45 pts), ternaries 2 (7 pts), boolean chains 6, loops 2 (5 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":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"19740c01c478dd804f4736625244f2aed4f7892a376682677beeb3d82dd7b2b1"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnedLanguageSidecar::handle_execution_lifecycle_owned (cognitive 62): OwnedLanguageSidecar::handle_execution_lifecycle_owned has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (53 pts), match/switch 7 (9 pts) (nesting depth added 32). 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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bdcde540e9cb7eefc10cf60c9f275f9af168ef267e7e71fdd8605a1741b051"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::find_code_pattern (cognitive 62): agentos_v8_runtime::execution::find_code_pattern has cognitive complexity 62 (threshold 15). Drivers by points: if/else 26 (54 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"f425cd00b4b3ecb966a495971f3dad0752b350b5b00ed419340aede82390b829"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc_response (cognitive 60): agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc_response has cognitive complexity 60 (threshold 15). Drivers by points: if/else 25 (46 pts), match/switch 4 (9 pts), boolean chains 3, loops 1 (2 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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5bfc837f7e75b34fe6201a1730357d69ca6625e2a62abe64286b337060cda9"}},{"ruleId":"D2","level":"warning","message":{"text":"path_open (cognitive 60): path_open has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (34 pts), boolean chains 10, error handling 4 (8 pts), other 5, ternaries 2 (3 pts) (nesting depth added 17). Of this number, 56 points are the body\u0027s own statements and 4 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10082}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3dc5036328f2e92059227708b961ea4c154e14483ab163f488b28b0e583091"}},{"ruleId":"D2","level":"warning","message":{"text":"version.bumpPackageJsons (cognitive 58): version.bumpPackageJsons has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (43 pts), loops 4 (12 pts), boolean chains 3 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/version.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1137590234f232ed2389722705896508203f58909a9f9c75d521c900cc2ed9b5"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_baseline::run_once (cognitive 57): agentos_native_baseline::run_once has cognitive complexity 57 (threshold 15). Drivers by points: loops 18 (38 pts), if/else 8 (18 pts), match/switch 1 (nesting depth added 30). 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":"crates/native-baseline/src/main.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"980bad513cdb5036b22e287fd9004c947a95434c0f195818ed5846542d77272c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::stdio::run_async (cognitive 57): agentos_native_sidecar::stdio::run_async has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (37 pts), loops 6 (10 pts), match/switch 4 (10 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6867c2a4a08d0567ed0ee6ea0736403d4b9c45a2c0e76a1165dabf66d8f6cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::pump_child_process_events_nowait (cognitive 56): NativeSidecar::pump_child_process_events_nowait has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (41 pts), match/switch 3 (10 pts), loops 3 (4 pts), boolean chains 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffaba0040d7407f443841c17e3e1c1876ed978f246e090123b3e9fbaaac6c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::kill_process_in_vm (cognitive 56): NativeSidecar::kill_process_in_vm has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 13, match/switch 4 (10 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a283f5ac925ab216fab932dcf45003df6146d4b4084fd50e410fdfaa5a648"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::prefetch_module_imports (cognitive 55): agentos_v8_runtime::execution::prefetch_module_imports has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (31 pts), match/switch 4 (14 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c144accfafd316534301c0e77e81018c5816da3563b1001f2416c2891320ff"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::spawn_javascript_child_process (cognitive 54): NativeSidecar::spawn_javascript_child_process has cognitive complexity 54 (threshold 15). Drivers by points: if/else 27 (37 pts), boolean chains 10, match/switch 3 (7 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4452}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f24edccfa2fae452af8c990ea050e2e17146633468b7893ce15b3cfff2d482"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.readHostNetSocketToGuestIovs (cognitive 54): wasm-runner.readHostNetSocketToGuestIovs has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 8, ternaries 3 (5 pts), error handling 1, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3384}}}],"partialFingerprints":{"codehealthFindingId/v1":"94091d62f368462a5e7a3b8652e7e2d4860594f7260b434178d815546b94ee51"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin-modules.loadBuiltinModule (cognitive 54): builtin-modules.loadBuiltinModule has cognitive complexity 54 (threshold 15). Drivers by points: if/else 21 (42 pts), loops 3 (6 pts), boolean chains 5, match/switch 1 (nesting depth added 24). Of this number, 23 points are the body\u0027s own statements and 31 belong to 7 function items inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18ac9548630f29069e39e7ef2b490a57b90b6f55def7018876dd4b310f43a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"net.normalizeListenArgs (cognitive 54): net.normalizeListenArgs has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 13 (29 pts), if/else 9 (15 pts), boolean chains 10 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e894ee660bedc612bfd90624f97c6a1903444e17d892b02943e3b96896e51ff"}},{"ruleId":"D2","level":"warning","message":{"text":"net_connect (cognitive 54): net_connect has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 4, error handling 2 (4 pts), other 3, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5675}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4fe6ed87dda050067a2512a0b8c7ddcfc70027fe42a7038919d2b91e0b1e55"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_yq::xml_to_json (cognitive 53): agentos_yq::xml_to_json has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (43 pts), loops 3 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe2e099ba14090985be6cbc1ac71ed3ad6b0dd6a3bcc61339beb8e83a38ae4a"}},{"ruleId":"D2","level":"warning","message":{"text":"PipeManager::read_with_timeout (cognitive 52): PipeManager::read_with_timeout has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (50 pts), boolean chains 1, loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a7b871887640f6883f03272a3bcf1b185296c12c0c29a11cf5244d2aedcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteStream.end (cognitive 51): WriteStream.end has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 6, loops 2 (6 pts), ternaries 2 (5 pts), error handling 1 (nesting depth added 21). Most of this is not in the body itself: 10 of the 51 points are its own statements and the rest belongs to one function literal inside it that branches (line 1789). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"964e493580ff09f3807fe9c680e59fcf1ab82ce1130927d5a235717c2216b53c"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_write (cognitive 51): fd_write has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (24 pts), error handling 5 (11 pts), boolean chains 7, ternaries 4 (6 pts), other 3 (nesting depth added 16). Of this number, 49 points are the body\u0027s own statements and 2 belong to 17 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11754}}}],"partialFingerprints":{"codehealthFindingId/v1":"212288287eb35c8ce9eef932a6569729314e35e2ef1cd4176e80418fd3cde538"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::decode_stream_body (cognitive 50): agentos_native_sidecar::execution::javascript::http::decode_stream_body has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (47 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2ae14634d75da16276d9c28ed27f092df95284e905e28995ffce95548f2e28"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerResponseBridge.writeHead (cognitive 50): ServerResponseBridge.writeHead has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 2 (7 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 28). Of this number, 37 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee0d5eb2bdb685a82fc077d015a397f7888922fe7adbbe4c9cf9a4e3b43f717"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveTcpSocket::poll (cognitive 49): ActiveTcpSocket::poll has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (43 pts), match/switch 3 (6 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"8853d80e175e315c9af2493c2c60ddcf4bcf6567313e626db19830ed849b5fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_gzip::main (cognitive 49): agentos_gzip::main has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (35 pts), loops 3 (6 pts), match/switch 2 (5 pts), boolean chains 3 (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":"software/gzip/native/crates/gzip/src/lib.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec6dba01810a78159576572178989ac3647989a23c3449a9803001ed73a7237"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.spawn (cognitive 49): child-process.spawn has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 18, if/else 11 (18 pts), ternaries 4 (8 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 13). Of this number, 45 points are the body\u0027s own statements and 4 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c97066ecb8fc57552c6530a06f84253fe9f1b127659dac21f830c5f219ba68"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.spawnSync (cognitive 49): child-process.spawnSync has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 15 (22 pts), boolean chains 17, if/else 8 (9 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d58652b16d39b15f792076a9f41b4ff29b50ba1612cf97fe5aef297d4dcb25b"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_spawn_v2 (cognitive 49): proc_spawn_v2 has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 19 (20 pts), other 12, if/else 9 (11 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 3). Of this number, 48 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7a8bfd973311179554bdfc2927c8defc7dc48aa0c92c798f2227ec6e60eb41"}},{"ruleId":"D2","level":"warning","message":{"text":"net.netSocketDispatch (cognitive 48): net.netSocketDispatch has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (33 pts), ternaries 3 (6 pts), error handling 2 (5 pts), boolean chains 3, match/switch 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd5711ab79b1c056197668a0756404511dcd1e4616d9ae4f26bb8286a22feaa"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::service_child_kernel_wait_rpc_in_vm (cognitive 46): NativeSidecar::service_child_kernel_wait_rpc_in_vm has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (25 pts), match/switch 9 (16 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7333a0854067bb6ac2ca938a303e20bd4eff20347739ce3cdfea75e39840598b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::sync_host_directory_tree_to_kernel_inner (cognitive 46): agentos_native_sidecar::execution::launch::sync_host_directory_tree_to_kernel_inner has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (32 pts), match/switch 4 (10 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49430665d3467821feb8d8e9d2dbd060d71a1b6aeb0c0a2f8c4991ce1e8a098"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::read_dir_with_types_inner (cognitive 46): OverlayFileSystem::read_dir_with_types_inner has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 3 (9 pts), boolean chains 3 (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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c402e5361a2b11b31d6a2c66e71b5c06efbc0c8f8a4e4f50640cc519b0a705a2"}},{"ruleId":"D2","level":"warning","message":{"text":"NetServer._pumpAccepts (cognitive 46): NetServer._pumpAccepts has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 8, ternaries 3 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"37384d11228307b13c8cde8a34702fc61d298a4b42ef9ab04912d5fb1ed34b04"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_descendant_process_kill_rpc (cognitive 44): NativeSidecar::handle_descendant_process_kill_rpc has cognitive complexity 44 (threshold 15). Drivers by points: if/else 26 (42 pts), boolean chains 1, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":10003}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e5048d9baea8c6e942eee14eaaae912497d24f2439fc816c1d68ef6fe6231f"}},{"ruleId":"D2","level":"warning","message":{"text":"VmLimitsConfig::validate (cognitive 44): VmLimitsConfig::validate has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (38 pts), loops 3 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vm-config/src/lib.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fceb374d17705f112c2c0e605e90648a37e1281c7203f7e6e97483695206e5"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.decodeAdvancedIpcMessage (cognitive 44): child-process.decodeAdvancedIpcMessage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 5 (13 pts), boolean chains 8, ternaries 4 (8 pts), match/switch 2 (nesting depth added 15). Of this number, 22 points are the body\u0027s own statements and 22 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9f1f1217aeef490001d5d3892d10c7dbc60db5e6545d520a8c896615dd7b81"}},{"ruleId":"D2","level":"warning","message":{"text":"routeChunkToFd (cognitive 44): routeChunkToFd has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (27 pts), other 10, boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"23427bae44bdee06755af7e2053a0690c9319d0f4b6e15801b6972158d063066"}},{"ruleId":"D2","level":"warning","message":{"text":"net_bind (cognitive 44): net_bind has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 10, other 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5932}}}],"partialFingerprints":{"codehealthFindingId/v1":"db22020d4f052fb9b2bb6293ccf5bd28f21f14632f1240e9f9bcf66cf6e298d3"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::plugins::host_dir::confine::resolve_impl (cognitive 43): agentos_native_sidecar::plugins::host_dir::confine::resolve_impl has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (26 pts), match/switch 6 (13 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e978728a3b3aae8deac24324efe431068798266632e9358ce86e06512dc4c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd_cmp::compare (cognitive 43): cmd_cmp::compare has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/cmd-cmp/src/main.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"603bd49a0e7c1a0a6766aac03a44cebe206e313149aa40738a417cafd37e6536"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_dup2 (cognitive 43): fd_dup2 has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 9, ternaries 2 (5 pts), other 4, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7886}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fdca0258068e58d5f63d4689de7dee32a23ae6c7216bd74bc9314218686ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::process::terminate_child_process_tree (cognitive 42): agentos_native_sidecar::execution::process::terminate_child_process_tree has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 8 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f27e2ecdb669b3e81a2a38ccdb13b536b80ead6bb45dc6693499b253fa922cb"}},{"ruleId":"D2","level":"warning","message":{"text":"rpc-client.parseSimpleExecCommand (cognitive 42): rpc-client.parseSimpleExecCommand has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 3, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ef11a05722278bad0abc2d9bbc0d78783419a0783b53ed1f08295986f4f52"}},{"ruleId":"D2","level":"warning","message":{"text":"host-functions-zod.validateSchema (cognitive 42): host-functions-zod.validateSchema has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 3 (7 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/host-functions-zod.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b838cca2ede7425406f2030660b06778fe67a317c6376e2244826a0a276349f2"}},{"ruleId":"D2","level":"warning","message":{"text":"kernel-proxy.parseSimpleExecCommand (cognitive 42): kernel-proxy.parseSimpleExecCommand has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 3, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b61d2f0ebfa518f7194c2919fb48628be0a240ee6c67ff222bb8f3ec555e159"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::expire_public_execution_deadlines (cognitive 41): NativeSidecar::expire_public_execution_deadlines has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 5, boolean chains 3 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d10dc9c4c2edadf5eb968b36d698db1435f9c93e69695b0443123a2a3e9947e"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::prepare_request_wire (cognitive 41): NativeSidecar::prepare_request_wire has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (32 pts), match/switch 5 (8 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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"85345e622d801a53836d14523321f3fa18aa43e84506790e1ee2abbba238bdc9"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::read_dir (cognitive 41): OverlayFileSystem::read_dir has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f5635f46a907fb3f2724f37840da135fd6a0f62d85535ad55bec93d625d7af"}},{"ruleId":"D2","level":"warning","message":{"text":"http.waitForRawHttpResponse (cognitive 41): http.waitForRawHttpResponse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (28 pts), ternaries 4 (7 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 10). None of this is in the body itself: all 41 points belong to 7 function literals inside it that branch (lines 2294, 2229, 2267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd96b9d82049f1acd3868eec420d717ddeb45b02dc52051589ea95332d32b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"http.parseLoopbackRequestBuffer (cognitive 41): http.parseLoopbackRequestBuffer has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 7, ternaries 4 (6 pts), loops 2, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14907c64daadc228b1685a170e2befc759a02973b84cb9ebb5938b5ec4ac771"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.resolveExportsValue (cognitive 41): runtime.resolveExportsValue has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 3 (5 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 19). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a839cf6ff238c168b3a027744c7b673657260e4a4765d9b385c52397be7abb"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnedLanguageSidecar::expire_public_execution_deadlines (cognitive 40): OwnedLanguageSidecar::expire_public_execution_deadlines has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 3, loops 3 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbee9d40cd9970b9c50b8b858fcf6f6190a1e72c35811bb2c62b4b90983b496"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::route_child_process_bridge_event (cognitive 40): NativeSidecar::route_child_process_bridge_event has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (28 pts), match/switch 6 (11 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3c4c5c09d82991037dafffdeaa73dc4bf9a16e4ec5a9670c925dd4f150d144"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::poll_event (cognitive 40): NativeSidecar::poll_event has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 3 (5 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"93629d9b0d3dc3c52d205876f59ac53e699005ff20b248b7f2576a2d8b7e8704"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::tcp::spawn_tcp_socket_reader (cognitive 40): agentos_native_sidecar::execution::network::tcp::spawn_tcp_socket_reader has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 5 (8 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"960c3862267340a99c7a421e30e1e29ffab9108c50b3b5740e959901993b62dd"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::read_dir_limited (cognitive 40): OverlayFileSystem::read_dir_limited has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (7 pts), boolean chains 6, match/switch 2 (5 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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd2c749d1d5cb269da106c849c02bac27014f79c179014538eb3575c51cfdc8"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_jq::parse_args (cognitive 40): agentos_jq::parse_args has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (30 pts), loops 2 (4 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/jq/native/crates/jq/src/lib.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b59a64a02340b13ad7efe0f7aeba20dd73fcab1e230fc56cf665ac988379cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"JavascriptExecutionEngine::create_execution_with_module_reader_and_runtime (cognitive 39): JavascriptExecutionEngine::create_execution_with_module_reader_and_runtime has cognitive complexity 39 (threshold 15). Drivers by points: if/else 27 (32 pts), boolean chains 7 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/execution/src/javascript.rs"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1404aa2c72e6b114bd14918dc737fa9a0c593445eb45906c241fe9e51efe42d"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutedExtensionServices::poll_process_event (cognitive 39): RoutedExtensionServices::poll_process_event has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 5 (17 pts), boolean chains 2, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b37d658fe7092eb794b50229b99f87b47354deab0b2eb6c568d93c35a2409"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::poll_owned_descendant_javascript_child_process (cognitive 39): NativeSidecar::poll_owned_descendant_javascript_child_process has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 4 (8 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0695782b93ddf19fad7f7f50073b68fd9a91fefc3f85668337eec12e7a99f37"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request (cognitive 39): agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 7 (16 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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"498490f65549bf5432bc4de0bc274de70b7687f7941d9e11dc309aef01e44208"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::mapped_runtime_host_path (cognitive 39): agentos_native_sidecar::filesystem::mapped_runtime_host_path has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 11, 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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe21e1e52651ad8bcc48024e9dcb583329054f4f9577ca59e0d33b1d83e080b"}},{"ruleId":"D2","level":"warning","message":{"text":"RawBodyReader::read_chunk (cognitive 39): RawBodyReader::read_chunk has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (6 pts), match/switch 5 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2d3d6a2b228ea44ad2fdfad3739b8e8a8f8b57df54371467d4b2c174658c83"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerResponseBridge.end (cognitive 39): ServerResponseBridge.end has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 3 (10 pts), loops 2 (7 pts), boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3212}}}],"partialFingerprints":{"codehealthFindingId/v1":"213be877f65237e6320615e174ad5e7bf2d55977b181227ec3a4ecf3580bf28e"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_record_lock (cognitive 39): fd_record_lock has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 6, error handling 3 (6 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d09708dd223dca0dbc8de558df57c973949b62766c4a3b62a2a5ad832b4983"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::service_javascript_http2_sync_rpc (cognitive 38): agentos_native_sidecar::execution::network::http2::service_javascript_http2_sync_rpc has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (26 pts), match/switch 5 (10 pts), boolean chains 2 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d175db3590baa6af94b7c47798094d8915b9c4aff68ed2a09f6ef1ac00f48"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_strings_cmd::main (cognitive 38): agentos_strings_cmd::main has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 6 (15 pts), loops 2 (3 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":"software/coreutils/native/crates/strings-cmd/src/lib.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34b46ce1bea3b50d5fc29fbf2e07cab3dc37e41bbade03a275632a8fc38650f"}},{"ruleId":"D2","level":"warning","message":{"text":"_pathOpen (cognitive 38): _pathOpen has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11, boolean chains 10, other 10, ternaries 6, error handling 1. Of this number, 35 points are the body\u0027s own statements and 3 belong to 6 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c3f5251afc36d2ebb878c27b498c7bc29375bb145085bd4e31937d45d3172"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::exec_javascript_process_image_owned (cognitive 37): NativeSidecar::exec_javascript_process_image_owned has cognitive complexity 37 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 3, match/switch 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5332}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a7163897677d244673151abfe5fa14876a2f7c02aac20bc0d79f780d674be"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_du::walk_du (cognitive 37): agentos_du::walk_du has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/du/src/lib.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d75fb2244c0f9f444e943550f2090163aa31471e7c0e95d20da53c4695f30f"}},{"ruleId":"D2","level":"warning","message":{"text":"http.serializeLoopbackResponse (cognitive 37): http.serializeLoopbackResponse has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 6, loops 2 (5 pts), ternaries 4 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd4b776e02cb62a693771e8d8970f2ed998cc039b5d7ffae3f66f5797523dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"process-spawn.bench.main (cognitive 37): process-spawn.bench.main has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, ternaries 9 (10 pts), boolean chains 4 (nesting depth added 1). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/process-spawn.bench.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f194d1c2170d6b659d957c083271ea12231377e5aa6fa7206b03b025d76d9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::wasm::translate_wasm_guest_path (cognitive 36): agentos_execution::wasm::translate_wasm_guest_path has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (32 pts), loops 2 (4 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"461a3423903ce2508791b3ddafac1dac8a28333b2a6447871d24b01591bebef3"}},{"ruleId":"D2","level":"warning","message":{"text":"console.createStdioWriteStream (cognitive 36): console.createStdioWriteStream has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 8, loops 2 (4 pts), ternaries 1 (nesting depth added 4). Of this number, 30 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff23c5f5d1d1bf2834c00383d02bf15a1122c0daf34719d94b09794797a0174"}},{"ruleId":"D2","level":"warning","message":{"text":"http2.validateHttp2Settings (cognitive 36): http2.validateHttp2Settings has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f29fe6d46fd836f7a9edc017cfe2176dedfbe83a28af45a8df548343b2fb839"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-os.parseHostFunctionArgv (cognitive 36): agent-os.parseHostFunctionArgv has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 4 (9 pts), loops 3, boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f279c6bb4c0f10d1768f3681ee82ac4d169e59e9b5d03b0de8203f98fef8de"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.runEventPump (cognitive 36): NativeSidecarKernelProxy.runEventPump has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa38e806571868c4629b80d56926cea34cbdabbbb8e8fafb2e02ca64ad527b"}},{"ruleId":"D2","level":"warning","message":{"text":"maybeCreateSyntheticCommandResult (cognitive 36): maybeCreateSyntheticCommandResult has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 9, error handling 2 (5 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4017}}}],"partialFingerprints":{"codehealthFindingId/v1":"295ec86bdaf189d0b57206a410f9a476c00861132542ba628faa0cd9c7ec84ec"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_waitpid (cognitive 36): proc_waitpid has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bb9e6b3d4213db0c34f6f99c95acdf92a8c35c6351b76016ed77870e9f5490"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::kernel::resolve_unix_socket_components (cognitive 35): agentos_kernel::kernel::resolve_unix_socket_components has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":8933}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7f48de1b8315d6669a20320443ffd03b72b9f7802cc842f557a11d026d32c1"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnedPythonSocketService::python_socket_op (cognitive 35): OwnedPythonSocketService::python_socket_op has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 8 (13 pts), boolean chains 2 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f416b1dbb665beafd728e48cb7bbcd566a3345153300a0bc30df1a80e6550838"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::dispose_vm_internal (cognitive 35): NativeSidecar::dispose_vm_internal has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (29 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"280b5504d4ba450b2f58d503127ddf097847995a9a6a6352034c882731e7e980"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::resolve_merged_path (cognitive 35): OverlayFileSystem::resolve_merged_path has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 3, loops 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6811369c235fcbb6b875edc11b45a47374ba2b4b52e17756465302c56e9caa"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_awk::run_awk (cognitive 35): agentos_awk::run_awk has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/gawk/native/crates/awk/src/lib.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1349f1bd3ef70140c8d6f6b37ecce89b180520cd7bf96bd929d3eb2159f3b1b5"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.childProcessDispatch (cognitive 35): child-process.childProcessDispatch has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 10 (11 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00df1cd9c054b82b35a16ead599f53e341888ce0b2a845bd5c687ee9f29d519"}},{"ruleId":"D2","level":"warning","message":{"text":"net_dns_query_rr_v1 (cognitive 35): net_dns_query_rr_v1 has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, ternaries 6 (8 pts), loops 2, error handling 1, other 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ef7b2e4b781a0d6ac65ca3ca26ef221f01fb9d23ef6807eb5f4197eae22123"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::process::next_spawn_event (cognitive 34): agentos_client::process::next_spawn_event has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (29 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"be881a3db8b29355a3633065c98b9ea502803d1e7a557e7d687ca2fe64b3eaea"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd_cmp::parse_args (cognitive 34): cmd_cmp::parse_args has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 14, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/cmd-cmp/src/main.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"330b9dd15dc5d65426c04f1229ec9a990b74f49880a915782afc836bf2d61690"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.createFilesystemView (cognitive 34): NativeSidecarKernelProxy.createFilesystemView has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 13, boolean chains 2, error handling 1 (nesting depth added 3). None of this is in the body itself: all 34 points belong to 11 function literals inside it that branch (lines 2031, 2078, 1936, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"436144341036f45a163980fb7be9750e3942373da0dd27268d638937fa42debb"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_filestat_set_size (cognitive 34): fd_filestat_set_size has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 4 (10 pts), other 3, ternaries 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11581}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51d9e94d065336b145857e4fa68e2868066b8f4e9cc79bcfe663e44636a198b"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeCallContext::sync_call_response_with_max_response_bytes (cognitive 33): BridgeCallContext::sync_call_response_with_max_response_bytes has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (23 pts), match/switch 4 (9 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a51ae139f27e0cbe92223f6549f0c6d9275ad7c9be30cdaa77ad5806df6d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"python-runner.readProgramFromStdin (cognitive 33): python-runner.readProgramFromStdin has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (6 pts), ternaries 2 (6 pts), error handling 1 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a55d781e3a13e7e9709fd0a1be85384abbcb503dbcac3e5b5809e456f9fe87"}},{"ruleId":"D2","level":"warning","message":{"text":"aospkg.parseTarMembers (cognitive 33): aospkg.parseTarMembers has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/aospkg.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"fead69f4fdeb85e824c2eab5af9ef4f4a9819c7a97f0f9b7396fbe2fa0c1798b"}},{"ruleId":"D2","level":"warning","message":{"text":"net.wakePeerBridgeReads (cognitive 33): net.wakePeerBridgeReads has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 10, ternaries 4 (6 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3562bc0ecb349c6d1003e4b935c6e02c60e2b00f5e6e3e9c65b23c6f91478a25"}},{"ruleId":"D2","level":"warning","message":{"text":"releaseFdHandle (cognitive 33): releaseFdHandle has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 6, error handling 1 (3 pts), other 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"033918260ca77ab323d84befae42b78c746c1dff049c78ff3b4128f28b6ba836"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_waitpid_v2 (cognitive 33): proc_waitpid_v2 has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7339}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c3a85cf60c01c808f55d24a7806a723a5afc8277bfdbdb8897e8e39b59e2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::read_process_output (cognitive 32): AgentOs::read_process_output has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 6 (11 pts), loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9f082042b7744fcdca0fa6b73ed61d3c16141a4a6317e021d70c2770e7dd88"}},{"ruleId":"D2","level":"warning","message":{"text":"JavascriptBenchmarkReport::render_markdown_with_comparison (cognitive 32): JavascriptBenchmarkReport::render_markdown_with_comparison has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 9 (11 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/benchmark.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab219ac7a2af0c8d2b85b34fa42c3f819b5d8ee68cb82026ba9d507678d1a65"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::javascript::sanitize_javascript_code (cognitive 32): agentos_execution::javascript::sanitize_javascript_code has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (7 pts), match/switch 2 (5 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":"crates/execution/src/javascript.rs"},"region":{"startLine":3397}}}],"partialFingerprints":{"codehealthFindingId/v1":"891344e3fc353f5ecd9ec1441e87c3a14139bec5bfa461eb2cb67826196b993a"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::fd_open (cognitive 32): KernelVm::fd_open has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 3, match/switch 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e26da7d29bf0d6f8b16bb7fed1765dd22fffc6d3ab90a7c061f346ccee1cc"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::fd_read_with_timeout_result (cognitive 32): KernelVm::fd_read_with_timeout_result has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (25 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5053}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce76ab7351e690fa847c0e43415c89fbebe06a5a070feee1747879fd2012b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_baseline::main (cognitive 32): agentos_native_baseline::main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 5 (10 pts), match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-baseline/src/main.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d1e4b52356d57483493c512a0d486d977a9d7083fd222b5316aea11cd449ea"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::poll_event_nowait (cognitive 32): NativeSidecar::poll_event_nowait has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 3 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3328}}}],"partialFingerprints":{"codehealthFindingId/v1":"589bf57788ab815a7d2e84ed1e2200ce111bbb374527ee2517c6925dfd1bb011"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::unix::spawn_unix_socket_reader (cognitive 32): agentos_native_sidecar::execution::network::unix::spawn_unix_socket_reader has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 5 (8 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e3b36325af214f562d6ed3abe4ff18bbfaabe5278c8c8883955b6fff6a1fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::execute_script_with_options (cognitive 32): agentos_v8_runtime::execution::execute_script_with_options has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 6 (8 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9630551b0bfa5ad0581ec51834c93ce9df67c960ae8e26d70e5f76be872844e"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryFileSystem::resolve_path_with_options (cognitive 32): MemoryFileSystem::resolve_path_with_options has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed535ec356a3b5a852b9708f17d8721a27ffa007670c8bcbf003835f702b1a1"}},{"ruleId":"D2","level":"warning","message":{"text":"process.readProcessConfig (cognitive 32): process.readProcessConfig has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 27, ternaries 3, error handling 1, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6cc5fccbb984bf72b63c6dd427d8151f6880f621e4f7886add3a051213d80c"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.runEventPump (cognitive 32): NativeSidecarKernelProxy.runEventPump has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (7 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 19). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"114fc6430a18af0069edf91ae671466c0307ce4f0b8b18e9a97111661ee55bed"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.createFilesystemView (cognitive 32): NativeSidecarKernelProxy.createFilesystemView has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 12, boolean chains 2, error handling 1 (nesting depth added 3). None of this is in the body itself: all 32 points belong to 10 function literals inside it that branch (lines 2615, 2662, 2520, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fd842ffb9db8bdba53bae430226f6b61a1c60c30522150cbdd8041c94fdc34"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.initRuntime (cognitive 32): worker.initRuntime has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (17 pts), loops 4 (8 pts), boolean chains 3, error handling 1 (2 pts), ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 8 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 2320, randomBytes, loadFileSync, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/runtime-browser/src/worker.ts"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7470a401ac5a5fd84f9a9fd8552518bc66e3618c06a43c7cd40d134266ecf4"}},{"ruleId":"D2","level":"warning","message":{"text":"footprint.details (cognitive 32): footprint.details has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (19 pts), loops 4 (6 pts), if/else 4, boolean chains 3 (nesting depth added 14). Of this number, 29 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/render/footprint.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b45843c1401c010794f7e0c289b4e0a3149f51568eecbad6dae6c8213abe35"}},{"ruleId":"D2","level":"warning","message":{"text":"net_accept (cognitive 32): net_accept has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6074}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c401008e1de0db311b9d7f4bc56ac5a3b6815c8eb0564eb304fab1d73027b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_fdstat_get (cognitive 32): fd_fdstat_get has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 6 (10 pts), error handling 3 (7 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4655506bf45f749bd1984a1a6d8dd85c0f2664b1a5df9f4e96f3e5835b077a10"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::create_vm (cognitive 31): AgentOs::create_vm has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 5 (7 pts), loops 2 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc5a48331a5a1466fd9fd4238e6f4fb27233afed070b1b69e05e007492394e2"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::fd_socket_recvmsg (cognitive 31): KernelVm::fd_socket_recvmsg has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, loops 3, match/switch 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":3908}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e21a3e674fc4d563ca6647866548da16ae6ad22c9231776b8692b464ccf1f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Performer::csi_dispatch (cognitive 31): Performer::csi_dispatch has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (6 pts), match/switch 3 (6 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":"crates/native-sidecar/src/execution/terminal_model.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c8cc51d810fe2f9b90bebafcc525c6ded1cab6322717fc13171545ed46f4f6"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveTcpListener::poll (cognitive 31): ActiveTcpListener::poll has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 2 (4 pts), boolean chains 2, 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef78a4c7f0759b66762ac2b5eae808e5431b6f0273612836e74352ce25c6f117"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar_core::limits::validate_vm_limits (cognitive 31): agentos_native_sidecar_core::limits::validate_vm_limits has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (24 pts), loops 7 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d96be478b62bc93dd6318d616ff16212353a94297113d84b8fd0290840e4e59"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_wasi_http::read_chunked_body (cognitive 31): agentos_wasi_http::read_chunked_body has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40a279d8b40b4b2eacb529df2dd6bcb066f943f483f1f95a2c359944d454f69"}},{"ruleId":"D2","level":"warning","message":{"text":"process.setupGlobals (cognitive 31): process.setupGlobals has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 6, loops 1 (2 pts), ternaries 1 (nesting depth added 6). Of this number, 29 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac373bcdb40159ea596a5408217a994e37e0a46117d9c70819a222c62eae300"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-driver.handleSyncBridgeOperation (cognitive 31): runtime-driver.handleSyncBridgeOperation has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, ternaries 2 (4 pts), match/switch 1 (nesting depth added 11). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d45f19643737c632dee71379fb25bc65a763e4a82e1557a28f04fdb42022ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_pumpPipeProducers (cognitive 31): _pumpPipeProducers has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 8, ternaries 2 (4 pts), error handling 1 (2 pts), loops 1, other 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":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d801ded4128778c45958bb433f884ea759c79efec476651d88bde3bcfc211b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::cron::looks_like_one_shot (cognitive 30): agentos_client::cron::looks_like_one_shot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (21 pts), match/switch 4 (5 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/cron.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cc9b082f9ce73be9b9e109e05a659499a4d95e1eee1e4f3a23d104a7998161"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::language_execution::rewrite_static_imports (cognitive 30): agentos_native_sidecar::language_execution::rewrite_static_imports has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (8 pts), loops 3 (6 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cd9d5c964e70d0873cc9a642c3ef1b17e791f06fba0515e4bb8097ef54ab91"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::vm::configure_vm_owned (cognitive 30): agentos_native_sidecar::vm::configure_vm_owned has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 9 (11 pts), match/switch 3 (4 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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c2e5de4d53146d8857af9d3b93548769b94f9cc5d126d70057bac6ce2970e4"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::session::dispatch_ready_batch_callbacks (cognitive 30): agentos_v8_runtime::session::dispatch_ready_batch_callbacks has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 3 (6 pts), loops 3 (5 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3797}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3bf09c94abe8eaaf06b287875c3defac0c73f8e358266f0582167082f937f3"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::stream::dispatch_stream_event (cognitive 30): agentos_v8_runtime::stream::dispatch_stream_event has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 4 (19 pts), if/else 4 (10 pts), loops 1 (nesting depth added 21). 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":"crates/v8-runtime/src/stream.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e3e10c8a87f8adeb09b9426ec54538bd38edbdd16b599427612f05ccef7c30"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_yq::write_xml_element (cognitive 30): agentos_yq::write_xml_element has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (10 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9acb89f83ea93b8147d155b6f83eb67c50c6bbbc19a6ee1f8a2e294a1eb042"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_du::main (cognitive 30): agentos_du::main has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 6 (9 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 14). 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":"software/coreutils/native/crates/du/src/lib.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbc4a4e73ff3537c432ea0beab022ec2dcc435f29604b597fc4be7ee2b2ee41"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.encodeAdvancedIpcMessage::encode (cognitive 30): child-process.encodeAdvancedIpcMessage::encode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"93643e8cd8386c6f66371a224aaeb1be0e2bb7bf493618536b475c6347d0b045"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerResponseBridge._streamEndBody (cognitive 30): ServerResponseBridge._streamEndBody has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafb72edcfb80e0f3586a5cd9033879d5d5cc1beb0e128cedeba011396aa8a10"}},{"ruleId":"D2","level":"warning","message":{"text":"http.attachHttpServerSocket::processRequests (cognitive 30): http.attachHttpServerSocket::processRequests has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 4, error handling 1 (3 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4259}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafb6b98766d0d0f2fa0c66181d933ddef69bfb7584c8117f1c054a5f9493179"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs.create::createVmAdmin (cognitive 30): AgentOs.create::createVmAdmin has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 10 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AgentOs.create) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6692e47da2e19ab9b1d8d24ff4063a7d0db52bb04e60e8249ab6b05b644865"}},{"ruleId":"D2","level":"warning","message":{"text":"registerKernelDelegateFd (cognitive 30): registerKernelDelegateFd has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 13, error handling 1, other 1, ternaries 1 (nesting depth added 4). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d63c3d5d47f09f7658fbdce2e83affc36e6cea8394b322b98167b4acb1db77"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_sendmsg_rights (cognitive 30): fd_sendmsg_rights has cognitive complexity 30 (threshold 15). Drivers by points: other 10, if/else 6 (8 pts), ternaries 4 (7 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8384}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc82d9e8a3ec718b81e4dd72bed227db4730fc9138754825845afc2a560b29ec"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::dns::dns_resolution_to_node_value (cognitive 29): agentos_native_sidecar::execution::network::dns::dns_resolution_to_node_value has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 10 (19 pts), if/else 5 (10 pts) (nesting depth added 14). 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":"crates/native-sidecar/src/execution/network/dns.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f836be02dcdd7dbbb4e5250ae03f6ef4ffefe001f688ca15e742bc21ae4b0511"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryMetadataStore::set_attr (cognitive 29): InMemoryMetadataStore::set_attr has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (21 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/mem/metadata_store.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0000b914e0c0dc1350587971596ad187c69836e75dea5b1aff091118711d897e"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetSocket._processLoopbackHttpRequests (cognitive 29): _NetSocket._processLoopbackHttpRequests has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 3, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1161fa8ac57c001950c8cfba9860f1a0dc8072ebe24b97423869159c466310"}},{"ruleId":"D2","level":"warning","message":{"text":"wasi-ls-scaling.bench.runCase (cognitive 29): wasi-ls-scaling.bench.runCase has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 8 (13 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/wasi-ls-scaling.bench.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed743e582f1a1353d98bd35a4931427b36fc21ea8c2badb0edc6986ec5cced7"}},{"ruleId":"D2","level":"warning","message":{"text":"response-payloads.fromGeneratedResponsePayload (cognitive 29): response-payloads.fromGeneratedResponsePayload has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 14 (28 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/response-payloads.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9b5ed1eab5937276721e20c7992f7d63f96c7d229dfbc92a5e8f512f19d52c"}},{"ruleId":"D2","level":"warning","message":{"text":"openBlockingGuestFifoForPathOpen (cognitive 29): openBlockingGuestFifoForPathOpen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, error handling 2 (4 pts), loops 1, other 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadec2a2a261405ca3c65bc561873c8f494f0b75542a80eb97c5ef39d6b97f06"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleResolver::resolve_path (cognitive 28): ModuleResolver::resolve_path has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 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":"crates/execution/src/javascript.rs"},"region":{"startLine":5165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a14b730d6252dac92b3e53483901951dfaa361f3b1a2285a72ea0e6eaa5292e"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::record_public_execution_output (cognitive 28): NativeSidecar::record_public_execution_output has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0334ce10a848c72b7b870672e6d036a7a9b0d5b78f49dea1d371149b1bb804c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar_core::limits::vm_limits_from_config (cognitive 28): agentos_native_sidecar_core::limits::vm_limits_from_config has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23 (28 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc3ac150bb2295f3376da84eb3a78603cca5d5b8ddd107c4fb1ec303e69590"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_column::main (cognitive 28): agentos_column::main has cognitive complexity 28 (threshold 15). Drivers by points: loops 4 (9 pts), match/switch 4 (9 pts), if/else 6 (8 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/column/src/lib.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5157ba68dcf7d763fd8e48209bbb48a0e7c80d6c708d7190da3c53055795b543"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_strings_cmd::extract_strings (cognitive 28): agentos_strings_cmd::extract_strings has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/strings-cmd/src/lib.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b93756850e3f77f43bf57eb39469081003fa29829762ff7e3f21822e2aa0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"fs.normalizeFsTimeSpec (cognitive 28): fs.normalizeFsTimeSpec has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1c5f4625a2519178ef330b8f0c3af2f033b9253ea5ef0a0117bc36f14e9050"}},{"ruleId":"D2","level":"warning","message":{"text":"DgramSocket._pumpMessages (cognitive 28): DgramSocket._pumpMessages has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1, loops 1 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"93844ada52f6939e2260d855edaebb73a76c616eb2dae26ecd1bbfffd382d777"}},{"ruleId":"D2","level":"warning","message":{"text":"dgram.normalizeDgramSendArgs (cognitive 28): dgram.normalizeDgramSendArgs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 6 (9 pts), boolean chains 6 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c4c9b4ee841bae7d677031418e43d5d3ed9d44920912e23bec162301047049"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs._executionOperation (cognitive 28): AgentOs._executionOperation has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4eabb334695b2c58960c96e9b3be73529897b38d1fba80933528e17092f694"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_flock (cognitive 28): fd_flock has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5, error handling 2 (3 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b8ce32a1f226610ce2669e944b2ea2389b06b401cd28779bc4444f37d7c98"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::open_shell (cognitive 27): AgentOs::open_shell has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 5 (9 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":"crates/client/src/shell.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"559528b7604a4f7843d159e4bce9f1f67b950f8567c3f0f4a3b5e0277af5c387"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::start_kernel_http_fetch_stream (cognitive 27): agentos_native_sidecar::execution::javascript::http::start_kernel_http_fetch_stream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 pts), match/switch 1 (4 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ed4ae5fe99348d020bf568fa248c0d4df16a523aff0a80aa2d5c787e0587e7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::read_kernel_http_fetch_stream (cognitive 27): agentos_native_sidecar::execution::javascript::http::read_kernel_http_fetch_stream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (5 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec10d9efcb4211c1c721ba9617d9d6847c81c0f21bebe0f1ea7510fe992b68c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar_core::vm_fetch::decode_kernel_http_chunked_body (cognitive 27): agentos_native_sidecar_core::vm_fetch::decode_kernel_http_chunked_body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/vm_fetch.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1317e9e559bb91404fefc6e3063718c2e0aa382f3fca0549092220bffacecd80"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::memory_subtree_released_usage (cognitive 27): OverlayFileSystem::memory_subtree_released_usage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eab7042f73a3d03850e57ef12e6e19d977dc30e27111e48ea43faa0d9ed5be4"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_tar::do_extract (cognitive 27): agentos_tar::do_extract has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (22 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0842c1681ee9ebe82e79b407950ce0e691142a09ae5ff5573eff9f92bb582644"}},{"ruleId":"D2","level":"warning","message":{"text":"http2.getCompleteUtf8PrefixLength (cognitive 27): http2.getCompleteUtf8PrefixLength has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (22 pts), if/else 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"663750358651b27e2e4285747cd7a02e0d234551b73a622e324e5110c20c9c8d"}},{"ruleId":"D2","level":"warning","message":{"text":"IncomingMessage.on (cognitive 27): IncomingMessage.on has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6 (nesting depth added 10). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 133, 172, 145, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbf91f6ac758461dca7c783869a285b6c98eed9e32694359ec38a5da413bcbd"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_readdir (cognitive 27): fd_readdir has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, other 3, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10908}}}],"partialFingerprints":{"codehealthFindingId/v1":"212fd07967cf1290b554c79006bdf3613ab6120597d9f772ff19750db5c88ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_pread (cognitive 27): fd_pread has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 3 (7 pts), loops 2 (5 pts), other 1, ternaries 1 (nesting depth added 12). Of this number, 17 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10992}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29274158d3762cae212600878b97a02fadfe99b9b2b213b777c696b306fdb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::language_execution::background_submission (cognitive 26): agentos_client::language_execution::background_submission has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 4 (11 pts), loops 1 (2 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/language_execution.rs"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"718a4ebaa254ad0884028784e7f7a5a341f3e9b26e96885d3bb43b6e36286140"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::javascript::resolve_exports_target (cognitive 26): agentos_execution::javascript::resolve_exports_target has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (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":"crates/execution/src/javascript.rs"},"region":{"startLine":7405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8095088770fb3500e94a91d724828bf03876af28d23bcf3d132add86ca4b3fab"}},{"ruleId":"D2","level":"warning","message":{"text":"PipeManager::close (cognitive 26): PipeManager::close has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 3, 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f00b71b51cfb033681f8a8ab8f3e176575600a7bfd4987d955adafdf885ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::permissions::permission_glob_matches::matches (cognitive 26): agentos_kernel::permissions::permission_glob_matches::matches has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (7 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/permissions.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3708748bda79b2451963669c737399590299a34f5f2da8ec491900e818680c1"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_process_event_envelope (cognitive 26): NativeSidecar::handle_process_event_envelope has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (5 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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4958fdc2186af65c466e408ac62f22db19c51dcd63d5049a4c0d04372fc12cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedDisposeVm::execute (cognitive 26): PreparedDisposeVm::execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"0149887037b30111d80504a420afb32d5d14afb05e20ec470532644491c9be55"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::read_owned_kernel_http_fetch_stream (cognitive 26): agentos_native_sidecar::execution::javascript::http::read_owned_kernel_http_fetch_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (4 pts), match/switch 1 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f95fb94c833cab00244891acb035ece7545a1eb1f6edf4eb86acf9f7320b47f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::host_functions::parse_host_function_command_flags (cognitive 26): agentos_native_sidecar::host_functions::parse_host_function_command_flags has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/host_functions.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5224f9b02d76ef09dcc8fdadf025c23071317b1fb47fb867a4fc9edf6ea216"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::execute_module (cognitive 26): agentos_v8_runtime::execution::execute_module has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 7 (9 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1799f71c796f0469654c4165b93272677f9fa074fc1201605a3e2037943ce1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MountTable::realpath (cognitive 26): MountTable::realpath has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f3e9f7f991a87036bb3d2561f83def40e48fa1d7d978b5d2b7029fdc0a8125"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::memory_subtree_usage_limited (cognitive 26): OverlayFileSystem::memory_subtree_usage_limited has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c344118cb472f74b8025e81a35bc06654ab7dab387432bd0ef05c060d9376c55"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.buildPreopens (cognitive 26): wasm-runner.buildPreopens has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 8, ternaries 2 (5 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6224d1fe3994de117ff8af77944ffb398df1a170457aa4f114e4f9c8e440023b"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin-modules.fileURLToPath2 (cognitive 26): builtin-modules.fileURLToPath2 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b76cdb4bb8098c6d15ee5a65cd536233f4383d7e33a9053c97d3a54a5f77f3"}},{"ruleId":"D2","level":"warning","message":{"text":"crypto.createBuiltinHash.digest (cognitive 26): crypto.createBuiltinHash.digest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (6 pts), boolean chains 4, ternaries 3 (4 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b8da1a7191fe4ceda85b233708467fd15fc87b01b541c7da22f07069605e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetSocket._flushBridgeWrites (cognitive 26): _NetSocket._flushBridgeWrites has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 6 (8 pts), boolean chains 4, ternaries 3 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72362ee248ac92b86c733843c360ef1f1e53e5bc75c870f27fc2097b5df2f53"}},{"ruleId":"D2","level":"warning","message":{"text":"http.dispatchLoopbackServerRequest (cognitive 26): http.dispatchLoopbackServerRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 4 (6 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4005}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a86c84d806d2160ae0aa7ebf73519518e75bc2da62fca354f71bf2dd93f82c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.compilerRuntimeMain (cognitive 26): index.compilerRuntimeMain has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, ternaries 3, match/switch 2 (nesting depth added 6). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 9 function items inside it that branch (createSourceProgram, resolveProjectConfig, a function literal at line 918, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/typescript/src/index.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"174fd5f9d88d26b7a978a0fc568aacbdff6ecbfbbfc76dd87a53aa03f76dc68d"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::stdio::finalize_protocol_drain (cognitive 25): agentos_native_sidecar::stdio::finalize_protocol_drain has cognitive complexity 25 (threshold 15). Drivers by points: loops 11, if/else 5 (9 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2951}}}],"partialFingerprints":{"codehealthFindingId/v1":"228b099629967fc6e83500ca98f231635734f44f9a268f52e6d4225b9febdf26"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkedFs::write_chunked_range (cognitive 25): ChunkedFs::write_chunked_range has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8850f8783e3fec900a977a1879432663cd504b62699a68ae9ae7e0accecefd05"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.spawn (cognitive 25): NativeSidecarKernelProxy.spawn has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 7 (9 pts), boolean chains 6 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27a6de3ca2de79e03e20d44d59c77d9f3548b1ceaf10be791c67b651531b9ad"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-os.buildHostFunctionReference (cognitive 25): agent-os.buildHostFunctionReference has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 3 (11 pts), loops 4 (10 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"500ce8f9ecc3068c0a27dbf7019bf1f03edf87b4e90fbcda131b71ae8de2d8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ls.bench.runCase (cognitive 25): ls.bench.runCase has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/ls.bench.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8e4a67b700edc90af2111fc193a2339768665e9a69685e7f30e2e2257b472e"}},{"ruleId":"D2","level":"warning","message":{"text":"net-tcp-event-floor.bench.runEcho (cognitive 25): net-tcp-event-floor.bench.runEcho has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 25 points belong to 6 function literals inside it that branch (lines 634, 620, 642, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"67373ed23fe91c71225d1d8407059edfd8a8fa504e46f60d9496e65644149099"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.applyTimingMitigation (cognitive 25): worker.applyTimingMitigation has cognitive complexity 25 (threshold 15). Drivers by points: error handling 5 (9 pts), if/else 6 (9 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee6cad89c00e00af80a74801e720a846a277bc0bb6f47f4282ce685b28b955a"}},{"ruleId":"D2","level":"warning","message":{"text":"commit.reportAttributes (cognitive 25): commit.reportAttributes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (11 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 14). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/trace/commit.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eefa083c10311d6f34797ae038d94815677896ea5dd2732bab19610263cb9d4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::connect_terminal (cognitive 24): AgentOs::connect_terminal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 4 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/shell.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"249ad6c48e29d2aedefa5b5dbb120dc96ae4d2e1e830a36331fa3ff1edc09784"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerWheel::run (cognitive 24): TimerWheel::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (5 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc3fddf15081a66050c793aa8556f82a7e4a45da7923061bf897552e7d9f31e"}},{"ruleId":"D2","level":"warning","message":{"text":"WasmExecution::wait_event_blocking (cognitive 24): WasmExecution::wait_event_blocking has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"732f87411faa5e3b0287f3785ce807252c5215e0b9571d2d86f4f91aa57fa535"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::fd_socketpair (cognitive 24): KernelVm::fd_socketpair has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 2 (3 pts), match/switch 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":3552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e433961fa2bd4aa1d745782abb582e1675b61511ccb8a4b14937e57c637c406c"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::fd_write_with_mode (cognitive 24): KernelVm::fd_write_with_mode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 2, 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":5192}}}],"partialFingerprints":{"codehealthFindingId/v1":"945b5d4e854f358f62a2bfbacf7a4eed809f8cf46eaa7f51714915a4198e63af"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedExtensionServiceCommand::execute_supervised (cognitive 24): PreparedExtensionServiceCommand::execute_supervised has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (17 pts), if/else 2 (7 pts) (nesting depth added 14). 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":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f0c32b256075ae6727167d6ba3b445ef8331240757513be42fa580b4a9ab77"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::prepare_owned_javascript_process_event_service (cognitive 24): NativeSidecar::prepare_owned_javascript_process_event_service has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 4 (7 pts), boolean chains 2 (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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7012}}}],"partialFingerprints":{"codehealthFindingId/v1":"687aff1e80c3d5acc2ce92901f55618f854ede1e0ba3c3d6502bc475b2e9504a"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::execute_owned (cognitive 24): agentos_native_sidecar::execution::launch::execute_owned has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (20 pts), match/switch 3, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"9955054f29aa4f1574ca37504146be8267147dd0677f778bdb1620cf5d2bc45a"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::vm::rollback_mount_reconciliation (cognitive 24): agentos_native_sidecar::vm::rollback_mount_reconciliation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":3808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d098349f21f5c892eafa9bffea2fe0f2be59dbd9d6dc1d26a7a9ad97266f84"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::extract_runtime_cjs_export_names_inner (cognitive 24): agentos_v8_runtime::execution::extract_runtime_cjs_export_names_inner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 10, boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"00249efb4780f31d26ad0a7cd95d8a707367a6edee87f55b06e4ac9e18cd32e6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteMetadataStore::persist_commit_write (cognitive 24): SqliteMetadataStore::persist_commit_write has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (19 pts), loops 4 (5 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":"crates/vfs-store/src/local/sqlite_metadata_store.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faa96499224badc10bfd7fa5de7e3f79714042f4aee9e078d5186be5683b703"}},{"ruleId":"D2","level":"warning","message":{"text":"Url::parse (cognitive 24): Url::parse has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff71388f9eca09a398ac43d353675427dcbf4aa6cb99c6528eef16d10231a85"}},{"ruleId":"D2","level":"warning","message":{"text":"SseReader::next_event (cognitive 24): SseReader::next_event has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (21 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":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"685af832f121b8828ce2a7a31bc1fec1640f9f331e3f75f187bb78fcb996b601"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_wasi_spawn::read_captured_streams_with_limit (cognitive 24): agentos_wasi_spawn::read_captured_streams_with_limit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (8 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-spawn/src/lib.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca437f07127098572f165b4438fea2c83aeab0b4fe929cccd7c0755c2c230a8"}},{"ruleId":"D2","level":"warning","message":{"text":"python-runner.installPythonGuestPreloadHardening (cognitive 24): python-runner.installPythonGuestPreloadHardening has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (7 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 9). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to one function item inside it that branches (restrictedFetch). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fc7dc06de9247653961467d77e0d17e93e1c0e571344d09bade760c0246135"}},{"ruleId":"D2","level":"warning","message":{"text":"prelude.cloneStructuredValue (cognitive 24): prelude.cloneStructuredValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, loops 4 (8 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81118af3f00f1f9b990cc9a23c64e0fd487a065b012dd4e55f42cd25dd02715"}},{"ruleId":"D2","level":"warning","message":{"text":"fs._globCollect::walk (cognitive 24): fs._globCollect::walk has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (7 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (fs._globCollect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c3f55df890e1dfde2de8a07c6ca064362cd27c4015325ea05f5d044991e614"}},{"ruleId":"D2","level":"warning","message":{"text":"net.normalizeConnectArgs (cognitive 24): net.normalizeConnectArgs has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 5, if/else 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ba96d16966fecca0301c27c1c05a0b592cb655777afc76189d951f3e2f4a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"module-loader.requireFrom (cognitive 24): module-loader.requireFrom has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (7 pts), error handling 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/module-loader.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9984c983d35bad64f6fc5e614785dd3147a2ee7d42b51a9c3d080da090bca2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.updateProcessConfig (cognitive 24): worker.updateProcessConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":3436}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a7fb33eac0b15dfbe7187490076d3ce648a55d751e0633fd8dba018d3934fd"}},{"ruleId":"D2","level":"warning","message":{"text":"pumpChildInputPipe (cognitive 24): pumpChildInputPipe has cognitive complexity 24 (threshold 15). Drivers by points: other 9, boolean chains 8, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07fc45cae1f1dd0268fe36daa264d6025ce87d5582aeba06a27e029cd5f33f5"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::wasm::extract_wasm_module_limits (cognitive 23): agentos_execution::wasm::extract_wasm_module_limits has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e2b60322c3470072f0f008461cf1a203c68b884da14d97320967bd5984b13a"}},{"ruleId":"D2","level":"warning","message":{"text":"PipeManager::write_with_mode (cognitive 23): PipeManager::write_with_mode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f916f362e0b8f45a5929d3d9930bd67f60d26ad5775dee35d84ddbdf1382d47"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::recover_descendant_runtime_child_process_event (cognitive 23): NativeSidecar::recover_descendant_runtime_child_process_event has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9792}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a13f4010aac9e1c442471a2e2a34012b027a91bc64c84e58d34a6edae139677"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::complete_public_execution (cognitive 23): NativeSidecar::complete_public_execution has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"e956eca5bdc6abedd07378be65e52bb3304f1e3bb3178578e97d93a9bb8726d9"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_public_process_event_envelope_nowait (cognitive 23): NativeSidecar::handle_public_process_event_envelope_nowait has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (5 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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdc5622aef0b02206caeaa5740516cc040444731d7f1b95822baa9354f3d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::service_deferrable_kernel_wait_rpc (cognitive 23): NativeSidecar::service_deferrable_kernel_wait_rpc has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, match/switch 6 (7 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a091dd6790b1dc18e899d3c20c65e25c331876b4b18cef633025020550bfe19"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::signals::terminate_tracked_child_process_for_signal (cognitive 23): agentos_native_sidecar::execution::signals::terminate_tracked_child_process_for_signal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 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":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ae6e7315d947784cca677ea079994dcaf41f99a4ec7c62a8508156dd4bf1f1"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::language_execution::lower_operation (cognitive 23): agentos_native_sidecar::language_execution::lower_operation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea69af3b5bd30b8b25b00701a32a72c788bdc3d83d07ba74feacbb86f87414b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::vm::refresh_guest_command_path_env (cognitive 23): agentos_native_sidecar::vm::refresh_guest_command_path_env has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":5120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13dc9e7e1c4ad80d5be4aff533e523939e3368c495ce34ffe2941283f4c8489"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar_core::vm_fetch::parse_kernel_http_fetch_response (cognitive 23): agentos_native_sidecar_core::vm_fetch::parse_kernel_http_fetch_response has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (22 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":"crates/native-sidecar-core/src/vm_fetch.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"870fcd883f9c2a91d2f643a5b3bdbd43ffbdbe8f55ffb11f424a5e05f5a76471"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionReadyBroker::ready_batch (cognitive 23): SessionReadyBroker::ready_batch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/readiness.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0801ee0922b89bc0600193fb52131148196e53a15d453e4317629936bf37ed33"}},{"ruleId":"D2","level":"warning","message":{"text":"VmUserConfig::validate (cognitive 23): VmUserConfig::validate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vm-config/src/lib.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef727723313588836aee5a7acef2d1f29150c6ab75f5f7bda946852cd8d0cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_jq::read_inputs (cognitive 23): agentos_jq::read_inputs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/jq/native/crates/jq/src/lib.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bd54342d93b488842d435640b336b12caca9ffca7e10f0b48e29c8c61b1fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_column::format_table (cognitive 23): agentos_column::format_table has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (10 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":"software/coreutils/native/crates/column/src/lib.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7577fd2a0f8736d4a29b6393a2b7898c3efb48a6282f7c94d8c9bf4e5ddf98f"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.receiveHostNetDatagramEvent (cognitive 23): wasm-runner.receiveHostNetDatagramEvent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 4 (8 pts), boolean chains 5, 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a812c36812ea42740405e80db6704d9be42518b29142b0c96d478a44b223f561"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.wasiImport.fd_pwrite (cognitive 23): wasm-runner.wasiImport.fd_pwrite has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (7 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11086}}}],"partialFingerprints":{"codehealthFindingId/v1":"0800eaa9214403490c1a63641b446935aab0820c74065747107a3feb2b054d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.wasiImport.fd_seek (cognitive 23): wasm-runner.wasiImport.fd_seek has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (7 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfc508669e1d01afd78d266958c214ece486ff456806d81f67336a168d402c7"}},{"ruleId":"D2","level":"warning","message":{"text":"misc-stubs.getNodeReadableAsyncIterable (cognitive 23): misc-stubs.getNodeReadableAsyncIterable has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3, ternaries 2 (3 pts), boolean chains 2 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6f3427445d5cc4eed7ce9682dcd7d7c7c2c74965095a2a24555baa3935c1d4"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockList.check (cognitive 23): BlockList.check has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efb8a5c6214afc3bb8c7e6d565545bf48e4885a8bc3b8a16b8b47007de787eb"}},{"ruleId":"D2","level":"warning","message":{"text":"IncomingMessage.constructor (cognitive 23): IncomingMessage.constructor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a191723ba478fc151377ba0324aca87f9c37407eadef6f7cf10bb654136b2c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerResponseBridge.write (cognitive 23): ServerResponseBridge.write has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 5 (9 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d079cd1cc117e1961f5041ba8c1a8346acc062a25ec8aecbbc60bde8a48e9317"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.buildProcessSnapshot (cognitive 23): NativeSidecarKernelProxy.buildProcessSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (8 pts), loops 4, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b687049a58a9acf5255a55e7353a93fbfbb4251239a8f09e3b64323da178cd"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.exec (cognitive 23): NativeSidecarKernelProxy.exec has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 4, loops 1 (2 pts) (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60308e757d7ce2159953574e6ea606a4e026a132470e38019d57219dedfce4a"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.discoverPackages (cognitive 23): packages.discoverPackages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (5 pts) (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/packages.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddae74b5c7754275e8d1fbeb5ba17aed7242af3eb9e45b890819729c4378e32b"}},{"ruleId":"D2","level":"warning","message":{"text":"_fdClose (cognitive 23): _fdClose has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, error handling 2, other 2 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fc50c375002693e1d12503623432e7a7bd759c93275ebfe5e441b761e88897"}},{"ruleId":"D2","level":"warning","message":{"text":"_fdReaddir (cognitive 23): _fdReaddir has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 4 (7 pts), boolean chains 4, other 3, error handling 1, loops 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e32c5b96f7ae0a68b73868debf7f0ab482ceb36eef2725cf4c26bf186ab38bc"}},{"ruleId":"D2","level":"warning","message":{"text":"parseInitialHostNetFds (cognitive 23): parseInitialHostNetFds has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3731}}}],"partialFingerprints":{"codehealthFindingId/v1":"35087bd43fcb0bbfc84ee46f817213324a6f5d7b45f1fc5355bb67f1fe185634"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_renumber (cognitive 23): fd_renumber has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 2 (4 pts), other 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11989}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37d92b38fe3dfdebef8fd24afaa1ef5a62e53a07e859da585ed229777ad3e95"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::software::recover_package_cache (cognitive 22): agentos_client::software::recover_package_cache has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (4 pts), boolean chains 3, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/software.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c7940c290cd2236ec98619f075be9757b1bcf402353724849c2b1c72105b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::wasm::prewarm_wasm_path (cognitive 22): agentos_execution::wasm::prewarm_wasm_path has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (agentos_execution::wasm::prewarm_wasm_path_async) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3634}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f85bbbd6f58cbf5c9598a160f2ceb112e7111e39ee73d86ab8b3a6fa6ac20f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::wasm::prewarm_wasm_path_async (cognitive 22): agentos_execution::wasm::prewarm_wasm_path_async has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (agentos_execution::wasm::prewarm_wasm_path) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"847af3206adabdc360035edbe100c647d26089832bb679e2d2e40bdb2bb24dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"PosixAcl::validate (cognitive 22): PosixAcl::validate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":9449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c11bd138a37ccec2c26be7bea0aa1e25d8639d8221711d10ce0321d8ad2ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"SocketTable::poll (cognitive 22): SocketTable::poll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"3618d9a474ae8a6e44c4a22b9762a0276bfe562f9ee25d4e1e45fae2f03fe8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_execution_event (cognitive 22): NativeSidecar::handle_execution_event has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b37689281ce614b26dc37d2ac6363d74673194ce370e55ff3c825bffb4b20f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::parse_stream_response_head (cognitive 22): agentos_native_sidecar::execution::javascript::http::parse_stream_response_head has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfda1d5eb2a2636ca0bb8a068961130ff27e319fae265310654f59853a3e71e"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::tcp::run_plain_socket_transport (cognitive 22): agentos_native_sidecar::execution::network::tcp::run_plain_socket_transport has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 2 (6 pts), loops 2 (4 pts) (nesting depth added 14). 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"91380c7efd34874f51a71ef0946df26b89a44e49591bf5518f28b8e04e71342b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::process::collect_javascript_socket_port_state (cognitive 22): agentos_native_sidecar::execution::process::collect_javascript_socket_port_state has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 7 (8 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7791d1a8145e57eec2a69bc2966f0fedb387957b0280f6893b50ecac69cfd9"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::service_javascript_fs_readdir_entries (cognitive 22): agentos_native_sidecar::filesystem::service_javascript_fs_readdir_entries has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (8 pts), match/switch 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":4928}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be03a143fb776fa2e2341cb540e9bce9d3757cd08ff6dbf7a829f4a8745f785"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_shims::xargs::parse_quoted_args (cognitive 22): agentos_shims::xargs::parse_quoted_args has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/shims/src/xargs.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63c32c956e97b0edd2f45aebbb92f282a738bf92ab956b5cf41c78eba003842"}},{"ruleId":"D2","level":"warning","message":{"text":"aospkg.parsePaxRecords (cognitive 22): aospkg.parsePaxRecords has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/aospkg.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61c2aee5e16019ebffd85ccf814afa0bf10953de0c29e96931b9cd81aebf880"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin-modules.bufferIsUtf8 (cognitive 22): builtin-modules.bufferIsUtf8 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3260385f9c9da6bbb08b4ffaef76efc7d3a6863aaafca28ee32d8ab92adcf976"}},{"ruleId":"D2","level":"warning","message":{"text":"fs._globToRegex (cognitive 22): fs._globToRegex has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9dec30d650518facdce092ce7734ce8fa5a7c75df12654702f97db8908b587"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.fork (cognitive 22): child-process.fork has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, ternaries 4 (5 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7fdd8c27bfe585f450fcd2cc1e10c3eb9c0bfee34291cdfea0e4939c4f0f07"}},{"ruleId":"D2","level":"warning","message":{"text":"http.finalizeRawHeaderPairs (cognitive 22): http.finalizeRawHeaderPairs has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (10 pts), loops 4 (6 pts), if/else 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b70d43b8e488d5cc525880796fa695aea1e873ba4847cca9595c29e94df590"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs.create (cognitive 22): AgentOs.create has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 15 (19 pts), error handling 5 (7 pts), loops 5 (6 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AgentOs.create::createVmAdmin) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb3c91846b63af211906746bf19ada02ac20704530af277951c1f8abe55e845"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.onmessage (cognitive 22): worker.onmessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f39da6103a75fa7c2f24da1d0048079b4eb92b1a1463d30d7f53d873183fa9"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_dup_min (cognitive 22): fd_dup_min has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), other 3, boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8022}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35b8a8c1333eb0907d8310672c3d6ef4d8461369594cbf3be84bf8cfdaca9f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessPackageCache::get_or_acquire_with_priority (cognitive 21): ProcessPackageCache::get_or_acquire_with_priority has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/software.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fbb335acae6b747a1acec1910f0b852ff9fc75bfe35d537ecee060cef500fb"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalBridgeState::handle_internal_bridge_call (cognitive 21): LocalBridgeState::handle_internal_bridge_call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, 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":"crates/execution/src/javascript.rs"},"region":{"startLine":4375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39ffc63f9b452a9aab4343a81809fd3375bc22f52b586ea6af469ddc847ddd9"}},{"ruleId":"D2","level":"warning","message":{"text":"FileLockManager::set_record_lock_inner (cognitive 21): FileLockManager::set_record_lock_inner has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/fd_table.rs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"620e4e9267ab3d144451b0297fdbbcc5d8dca692bb5f2ba1d17bcde164dbb96d"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::validate_fd_open_flags (cognitive 21): KernelVm::validate_fd_open_flags has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, 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, 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":6479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e03eae6c6148f76e715e238703fabb66b6d9698511438cf425055e9a7a821"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::pty::deliver_output (cognitive 21): agentos_kernel::pty::deliver_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (21 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a14f52c5f8b73c25680840e9f58c71d2fb173dbb89b1ffdc878fd12df3397c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::socket_table::remove_socket (cognitive 21): agentos_kernel::socket_table::remove_socket has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d957b0e26d39a7ef872050359227039580f45d0d70bb69da9378f1c39d7873"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::vm_fetch_legacy (cognitive 21): NativeSidecar::vm_fetch_legacy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"7512db307b5021a9f383a954497044b5a810153cb5ec112f87c058da05361d05"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::process_events::spawn_host_function_process_events (cognitive 21): agentos_native_sidecar::execution::process_events::spawn_host_function_process_events has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4253a9d2351e4001f9538d6530e03bedbf5e6ab4b809352e7d15d7cafbdd8f2"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::stdio::finish_request (cognitive 21): agentos_native_sidecar::stdio::finish_request has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 3 (8 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":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3897}}}],"partialFingerprints":{"codehealthFindingId/v1":"986e180a16c3834b59e6fe7218a0dc35c6d9e37df471368c77f7393d3bbfb6be"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualFileSystem::rename_at2 (cognitive 21): VirtualFileSystem::rename_at2 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 4 (9 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":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c456ddd7e19bb53703b26cdf6c8b4e6e67d8f1194f125428c5d7542d78083b0"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculator::execute (cognitive 21): Calculator::execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/native/crates/cmd-bc/src/main.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a06a78c57aa0a758641a6d4b0d3ab4860ac41742469212384eb465f6caa381"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd_id::render (cognitive 21): cmd_id::render has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (20 pts), 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":"software/coreutils/native/crates/cmd-id/src/main.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb044f02517df762b96ab821bd66e434270665ccc7c7a7ebc54c94aa0a3442"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_jq::run_jq (cognitive 21): agentos_jq::run_jq has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (5 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/jq/native/crates/jq/src/lib.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5117f44db51c4166f18b4bb833b9ea05778c36b51d7e31e8a8750f05c76d4bae"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetSocket._dispatchLoopbackUpgrade (cognitive 21): _NetSocket._dispatchLoopbackUpgrade has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c55f1fa82d670d428917e0900aa6845645d07d36b5d4bb426ace1b92e56f5"}},{"ruleId":"D2","level":"warning","message":{"text":"http2.pollRetainedHttp2Handle::tick (cognitive 21): http2.pollRetainedHttp2Handle::tick has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"669fbb1ffcdd32b7b988d025f37e23e9f205cd333e68b5d35c47d76c9a4a56c4"}},{"ruleId":"D2","level":"warning","message":{"text":"http.dispatchServerRequest (cognitive 21): http.dispatchServerRequest has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3828}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb91b7365eb045835a821a3c086e8c23a16886a5c8aec46fdfaf301319f6ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-bridge-floor.bench.runCaseWithOptionalLatency (cognitive 21): sync-bridge-floor.bench.runCaseWithOptionalLatency has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 3, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/sync-bridge-floor.bench.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f466957073fd8f738e659ab317bea64c58d19a3ac5f4109d099ae9dbea2036e"}},{"ruleId":"D2","level":"warning","message":{"text":"StdioSidecarProtocolClient.dispose (cognitive 21): StdioSidecarProtocolClient.dispose has cognitive complexity 21 (threshold 15). Drivers by points: error handling 8 (12 pts), if/else 6, boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7c1aab16f572d5b941af3c33a34d7e2a2f56bb35afa48fa17375db3b41d372"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve.resolveSide (cognitive 21): resolve.resolveSide has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 3, ternaries 2, boolean chains 1 (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/footprint/resolve.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb09651f55118489ae9240573299c20305b52f5136814deb70a1fdc1472d6b6"}},{"ruleId":"D2","level":"warning","message":{"text":"_flushPipeConsumers (cognitive 21): _flushPipeConsumers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts), other 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":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f00e085709da81a7d6d8fc942e460086f0f11324014aca6c7821d791f640a3b"}},{"ruleId":"D2","level":"warning","message":{"text":"processChildEvent (cognitive 21): processChildEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), other 4, 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49f5b5969957f5807db6a981ef291a81aa2a32d4fa6898d93bcd2ab7076bb68"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::process_tree_records (cognitive 20): AgentOs::process_tree_records has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 3 (4 pts), loops 2 (nesting depth added 8). 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":"crates/client/src/process.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd3e7be2ac92e63079acbd429be45a2da0af6e587af548a7621fc538eba6755"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestPathTranslator::guest_to_host (cognitive 20): GuestPathTranslator::guest_to_host has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e12964a5ec827a6cb5f6aa9e795dffba825209367dc0fbc3d68d8be8ba33a9"}},{"ruleId":"D2","level":"warning","message":{"text":"WasmExecution::poll_event (cognitive 20): WasmExecution::poll_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (WasmExecution::poll_event_blocking) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2d450f785b1e94d1e522ee6e54246ded91e180525517b247ede10225b9fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"WasmExecution::poll_event_blocking (cognitive 20): WasmExecution::poll_event_blocking has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (WasmExecution::poll_event) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a63b016c5b5e477f77af80ace6ad6ada65fe08c3001f6d47694bb9ce6dff11"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::process_table::mark_exited_inner (cognitive 20): agentos_kernel::process_table::mark_exited_inner has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 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":"crates/kernel/src/process_table.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ae71c17f3e4f4cdfc9a2bb14b2151e1ccd240c9cc4dc44c7097bc0eb3c41fe"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::drain_runtime_process_event_channel_nowait (cognitive 20): NativeSidecar::drain_runtime_process_event_channel_nowait has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d07227c484473ed56b47f7c18f3d65d729366450bc2a478f0640b7a9248196a"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::resolve_command_execution (cognitive 20): agentos_native_sidecar::execution::launch::resolve_command_execution has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaf4de27d0d624ae49a8d895b5631a0fdba2f26c2ea81f21eeea35cd5411c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::dns::service_javascript_dns_sync_rpc (cognitive 20): agentos_native_sidecar::execution::network::dns::service_javascript_dns_sync_rpc has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 3 (6 pts) (nesting depth added 12). 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":"crates/native-sidecar/src/execution/network/dns.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c7ba4ec7edbf067d6c3e2ea44e515ce966a2a355ac29a11b41671af748452f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::plugins::google_drive::load_filesystem_from_manifest (cognitive 20): agentos_native_sidecar::plugins::google_drive::load_filesystem_from_manifest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (5 pts), match/switch 2 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3fdd3d8c5ee9b000b130879ad6820feea11e2920c138e52ff3f18b386bb51a"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserSidecar::find_listener (cognitive 20): BrowserSidecar::find_listener has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4b356b7c6f8b2c56b89d5c7d3f61cf058238c2e972c093b2088c669b276276"}},{"ruleId":"D2","level":"warning","message":{"text":"WarmWorkerPool::refill_until (cognitive 20): WarmWorkerPool::refill_until has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c465545906f2f2394456bc2c0297790e34ecc1fae04124ddbb8becef8e3916"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::require_esm_sync_callback (cognitive 20): agentos_v8_runtime::execution::require_esm_sync_callback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f7b0ffffd0bd626af38d237bfe09dbac4dc2c03e18d096a99447fad1bc5b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::collect_destination_parent_copy_up_paths (cognitive 20): OverlayFileSystem::collect_destination_parent_copy_up_paths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b58b1f8fabff5a606e3b9e2f38cead1dd3fca29c34175f55e8fcea1b0dd3dc8"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.hostNetSockoptKind (cognitive 20): wasm-runner.hostNetSockoptKind has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5039}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7784a50054a51363ce42c92086d8c1d685f4ed29deff408646ff7cc7582687b"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.wasiImport.fd_filestat_get (cognitive 20): wasm-runner.wasiImport.fd_filestat_get has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2540221f47399000a4192db429aeeb40171be452264dc22e9f9e14985d7287f"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.writeKernelCooperatively (cognitive 20): wasm-runner.writeKernelCooperatively has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11704}}}],"partialFingerprints":{"codehealthFindingId/v1":"641b7b1e757d122f3b8d7e9d9d408c2799d602bc7e6edb414a411860f139dd22"}},{"ruleId":"D2","level":"warning","message":{"text":"misc-stubs.collectReadableChunks (cognitive 20): misc-stubs.collectReadableChunks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 3 (6 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5defd6e94495461b79ddd532886990ff9f3d29b44b7eedc4879dd6063e3623d"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.execSync (cognitive 20): child-process.execSync has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 6, boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a227124aaaac347cada835aa9aca53bca4d8e6d37b2d6ddc236ff3f2000ff0af"}},{"ruleId":"D2","level":"warning","message":{"text":"_Agent._processPendingRequests (cognitive 20): _Agent._processPendingRequests has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5203eb17d2cbcf31705106c1c8ebf0e912b884f818a8075e1228bd205ab19d"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-compat.discoverWasmCommandEntries (cognitive 20): runtime-compat.discoverWasmCommandEntries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 2 (5 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25aae9f49efad9753d43b9b258da7ac07a585e9b595e4e017b36b09b65c0e6"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserRuntimeDriver.handleWorkerMessage (cognitive 20): BrowserRuntimeDriver.handleWorkerMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 2 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c09608716d1a5540d5a96e0c20f37f5d62a705ae95a357254367af84be77c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"event-buffer.sidecarSelectorMatchesEvent (cognitive 20): event-buffer.sidecarSelectorMatchesEvent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/event-buffer.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d1263b19247d8b33d8b99bf6fa0e41468480508aedbd6fe7a426fa4ceab7c"}},{"ruleId":"D2","level":"warning","message":{"text":"footprint.compareRoot (cognitive 20): footprint.compareRoot has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9, if/else 3 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/compare/footprint.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b555f3ab271cc6c3d14c5329df8c8dfa8bc559deea773bbdf0516e2d2932897d"}},{"ruleId":"D2","level":"warning","message":{"text":"_installSyscallCounterWrappers (cognitive 20): _installSyscallCounterWrappers has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 3 (5 pts), error handling 1 (3 pts), loops 1 (nesting depth added 11). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 230). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"829681cca361af8a05dbbffdfb4e40814e4d15f83f940a24caee9fd335b1746c"}},{"ruleId":"D2","level":"warning","message":{"text":"flushPipeConsumers (cognitive 20): flushPipeConsumers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts), other 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f5a10d1d8c4dd8de97ba551e0a935d43cc322e7bda2ae5a489e19913867f3"}},{"ruleId":"D2","level":"warning","message":{"text":"net_close (cognitive 20): net_close has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 5 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7861505102a5101b68993a8f6d7d7b1e392fad4f149ecc7f6a3a21a341e341"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_close (cognitive 20): fd_close has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), other 5, error handling 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11902}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a965640981756e681b1ab9e18047a519dd7d30bf6c2c15b274059dab1f0ab7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::agent_os::parse_host_function_argv (cognitive 19): agentos_client::agent_os::parse_host_function_argv has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (5 pts), loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e811b5a65b0b756c36fd9f7d82bdd6e14335687b6fa0d8599e738a43c39534"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::process::confirm_exec_exit (cognitive 19): agentos_client::process::confirm_exec_exit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 3 (8 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":"crates/client/src/process.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"774df6d6385210eb01d0443eeaae03abc105b3b900926480b7079f32de8775fb"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalBridgeState::handle_polyfill_dispatch (cognitive 19): LocalBridgeState::handle_polyfill_dispatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":4491}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c74789fa6d974171144caac69200a13ace1b54c133052b1e1e7c9a9d9ceea7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::prepare_spawn_host_net_fds (cognitive 19): agentos_native_sidecar::execution::child_process::prepare_spawn_host_net_fds has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74d6dca0a9767edfd71d6c0fe16e0c6b25bfea63af40d9da4c5ab2120cb1773"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::service_owned_kernel_wait (cognitive 19): agentos_native_sidecar::execution::javascript::http::service_owned_kernel_wait has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 7). 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2ad9b9b79d15cf6ca86540d254400e2927dd6e6a168dd30bd27c5c602da0b4"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::sqlite::sqlite_open_database (cognitive 19): agentos_native_sidecar::execution::javascript::sqlite::sqlite_open_database has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/sqlite.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b4b7098230795f281bd3aa10905c22315fb604dea6534373a15461b82e95e"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::http2::defer_http2_wait (cognitive 19): agentos_native_sidecar::execution::network::http2::defer_http2_wait has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fa0c4298b412b19723a8ce9ed0c49b9b88d4102c842803ba5d7373c553562f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::vm::link_package_owned_with_pin (cognitive 19): agentos_native_sidecar::vm::link_package_owned_with_pin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"856197983b7d6a3e1e3d68e37d08b72d7a63a0da31a72550bd4ac9ca537e22ce"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeConfig::validate (cognitive 19): RuntimeConfig::validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"901b48e9d34f3390b5a94fd1a688a9463eab40d2165e72afe899aed095e5d421"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::rename (cognitive 19): OverlayFileSystem::rename has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1d79c2c7e1b8503856cb5d369822e4a2df3ca7d5ddfce3bba3141b25842d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"TarFileSystem::resolve_archive_path_uncached (cognitive 19): TarFileSystem::resolve_archive_path_uncached has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 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":"crates/vfs/src/posix/tar_fs.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b3deeeac138722d1a1de73913b2fc8582706d8567a24ecdeb0890595ccb9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_diff::diff_dirs (cognitive 19): agentos_diff::diff_dirs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3, match/switch 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4443e197ca13ccd2d1a9fda50bc036ab6970ddfd75bc589ef4c1aa9a25c8064"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_shims::env::env (cognitive 19): agentos_shims::env::env has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, boolean chains 2, match/switch 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":"toolchain/crates/libs/shims/src/env.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b630776045a8e674caae43d5222359e580b17030349715dea7c7d150a0f75b40"}},{"ruleId":"D2","level":"warning","message":{"text":"WASI._resolveHostMappingForGuestPath (cognitive 19): WASI._resolveHostMappingForGuestPath has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 3 (6 pts), boolean chains 4, loops 2 (nesting depth added 7). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 1052). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"01acf8060295ea8bfc77fa738746a62f09680837c2244513ce57415ceb21532a"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.resolveImportsTarget (cognitive 19): runtime.resolveImportsTarget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"697c3e463d8026ac83d38cc72ecbde10d1dbc68365c674096815ea18e3add5fa"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-client.resolveProtocolFrameTransport (cognitive 19): protocol-client.resolveProtocolFrameTransport has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, match/switch 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/protocol-client.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"abacf5e1f7236fc5a1818c004b781f5117708e0cc9d13923727c6b96bcd5cb10"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.buildProcessSnapshot (cognitive 19): NativeSidecarKernelProxy.buildProcessSnapshot has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 2 (4 pts), loops 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6203c02a855b26e6ea574c7539c120ff42ac15525dfd86a93037e8210f93b90f"}},{"ruleId":"D2","level":"warning","message":{"text":"cut-release.main (cognitive 19): cut-release.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/local/cut-release.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"46732cf2044108cfae6ede377102c47304f5109f653e5efc1a4c5c19362fc863"}},{"ruleId":"D2","level":"warning","message":{"text":"installPythonGuestPreloadHardening::restrictedFetch (cognitive 19): installPythonGuestPreloadHardening::restrictedFetch has cognitive complexity 19 (threshold 15). Drivers by points: other 7, boolean chains 5, if/else 3, ternaries 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bea79ab9ec8a760e4747f49b7a0f17e60335c73ccd9e2cb5b635f11036664f"}},{"ruleId":"D2","level":"warning","message":{"text":"retainPathOpenDelegateFd (cognitive 19): retainPathOpenDelegateFd has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1, other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed40e99e6a0265d4c1b726b97b1d5324dd507c0b12dc573d6108a0ac9abd2f7"}},{"ruleId":"D2","level":"warning","message":{"text":"collectInactivePipeHandles (cognitive 19): collectInactivePipeHandles has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), other 4, loops 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"994f97b16bb2371661f20245ff1f4d47c00865a50fd546c776440c60b4d065ce"}},{"ruleId":"D2","level":"warning","message":{"text":"fd_fdstat_set_flags (cognitive 19): fd_fdstat_set_flags has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11473}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e0353d9800432fef213a4b51b0c26e3d1c3b93b51d02d886400bd18a3a8eb"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::agent_os::validate_number_host_function_input (cognitive 18): agentos_client::agent_os::validate_number_host_function_input has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 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":"crates/client/src/agent_os.rs"},"region":{"startLine":2436}}}],"partialFingerprints":{"codehealthFindingId/v1":"44556174fa61a6d2999b739d0007a6ad1c196c6ea27eb1f0e7aff7602c48951a"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestPathTranslator::canonical_guest_path (cognitive 18): GuestPathTranslator::canonical_guest_path has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 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":"crates/execution/src/javascript.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b5421027e77809ff9bbbff92a82eae6f85a3b366e62a4fc63102ffbf3af2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleResolver::resolve_package_imports (cognitive 18): ModuleResolver::resolve_package_imports has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":5035}}}],"partialFingerprints":{"codehealthFindingId/v1":"0164368a75ff0864899c5fd7b64badf0edd5e43b5368d023389e2d12c3ef8149"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::javascript::resolve_imports_target (cognitive 18): agentos_execution::javascript::resolve_imports_target has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":7474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6da41b41a772aaa09aea31eb307ca48765e3f20a03a479b3a134f2e64cffc63"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::register_process (cognitive 18): KernelVm::register_process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"903a9242d924ef8a5dc46d5d36b5af994c32ea762dda77751f03f7f4a0973830"}},{"ruleId":"D2","level":"warning","message":{"text":"PipeManager::poll (cognitive 18): PipeManager::poll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, match/switch 1 (nesting depth added 5). 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0143534236742de3e596c7eb5b9c502c352b13b04ccb705fc96f3d5f2cba045"}},{"ruleId":"D2","level":"warning","message":{"text":"PtyManager::poll (cognitive 18): PtyManager::poll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, match/switch 1 (nesting depth added 4). 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":"crates/kernel/src/pty.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d66e5f49b2befcedfd28c32233ad0b6fbf2246f5e3c35c599169303ffe1958"}},{"ruleId":"D2","level":"warning","message":{"text":"PtyManager::write (cognitive 18): PtyManager::write has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d4ac9761d9aa12173d133a409cace33ff6e20adddaf532747a0bcbf9e56b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_kernel::socket_table::unregister_bound_socket (cognitive 18): agentos_kernel::socket_table::unregister_bound_socket has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":3056}}}],"partialFingerprints":{"codehealthFindingId/v1":"3422ee7083d3693d6dca95689505a48f4cc27c11655ef1a0dca6da581e155fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_owned_process_kill_rpc (cognitive 18): NativeSidecar::handle_owned_process_kill_rpc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7815}}}],"partialFingerprints":{"codehealthFindingId/v1":"08085815bd28cd2e966f88b1b8dab18db7ee0bc51b1b87065d7edf45d99fa5e9"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::handle_public_execution_event_nowait (cognitive 18): NativeSidecar::handle_public_execution_event_nowait has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, match/switch 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f7fdcbb6b49b2a329914b674d00f35d25b1e134594525deae9d0b36fd224ac"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopbackTlsEndpoint::poll_read (cognitive 18): LoopbackTlsEndpoint::poll_read has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"460ad5778fed4e7c95124d7bb1610c7041fd07f3a855cb800de428a5988e9daa"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::apply_spawn_host_net_file_actions (cognitive 18): agentos_native_sidecar::execution::child_process::apply_spawn_host_net_file_actions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f29e6ebddeed2e717fe364dcf9e4fc2fcc7df9b13c665cc61b40cf1084ba01"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::coordinator::drain_root_signal_state_events_owned (cognitive 18): agentos_native_sidecar::execution::coordinator::drain_root_signal_state_events_owned has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c4a1d1b2aef0fd48d759f04ce93f76f43a2f40edb5117c6ce0fea7d577ba8d"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::dispatch_kernel_http_fetch_with_socket (cognitive 18): agentos_native_sidecar::execution::javascript::http::dispatch_kernel_http_fetch_with_socket has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9517a320ddb51598141d2a169cd2fc72484aa3b343e0f4b16fe1096c6a8234"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::propagate_shadow_deletions_to_kernel (cognitive 18): agentos_native_sidecar::execution::launch::propagate_shadow_deletions_to_kernel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329158f56bdd7656c405c8a2cb01ed109fd0a6ddedf0520afbfa10409c73bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::python::rpc::service_owned_python_http_rpc_request (cognitive 18): agentos_native_sidecar::execution::python::rpc::service_owned_python_http_rpc_request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 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":"crates/native-sidecar/src/execution/python/rpc.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e671ede4851ffa21097b81d0f6cfa0977a76386ba7ae0f910f7fe8f72ee190c"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::classify_fiemap_ranges (cognitive 18): agentos_native_sidecar::filesystem::classify_fiemap_ranges has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"20508318821988cf38e2df037c7aa7044e8b1d0ecc7a494320a42e9c22f5c2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::host_functions::validate_host_function_input_schema (cognitive 18): agentos_native_sidecar::host_functions::validate_host_function_input_schema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/host_functions.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a579061b27ba0debdeb09d691f523f3d3564dc2a5447ff018e0ec1366de1869"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::vm::terminate_detached_vm_processes (cognitive 18): agentos_native_sidecar::vm::terminate_detached_vm_processes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f916c4915769526edce6c228d28ea2a2b19c3e9e6148ca3adc4683df113d279f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_file_cmd::identify (cognitive 18): agentos_file_cmd::identify has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/file/native/crates/file-cmd/src/lib.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f43a588b46ed96922608e4848e64a6f5da7d0ce42b2670bee2da0d0ec52f912"}},{"ruleId":"D2","level":"warning","message":{"text":"python-runner.installPythonStdin::readFromKernelStdin (cognitive 18): python-runner.installPythonStdin::readFromKernelStdin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eca28f0615b4319dd541258fa4ed5ccc97672f1826876d526206e1ea35f3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"build.build (cognitive 18): build.build has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 5, ternaries 4, loops 1 (2 pts), error handling 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/build.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9dee07169803e6caf88331fa48dee7d6b5c1923fb15f7f26f4b750df58d4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"stage.stage (cognitive 18): stage.stage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/stage.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"db62f8735ebf0c5e5e3c9daab14efdc12a1b6e8f8c78800c33e6b48e365f1b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"fs.normalizeWriteSyncArgs (cognitive 18): fs.normalizeWriteSyncArgs has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6241ab94868c518959c6a4a8e77e22e15150fa5909c075676df99f5c812192bd"}},{"ruleId":"D2","level":"warning","message":{"text":"net.buildSerializedTlsOptions (cognitive 18): net.buildSerializedTlsOptions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bff55ba53a1a311bd9917ada1516851e44eee40be004d90c9ee4d00421118d5"}},{"ruleId":"D2","level":"warning","message":{"text":"http2.flushPendingHttp2ClientStreamEvents (cognitive 18): http2.flushPendingHttp2ClientStreamEvents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5d94f638d316304bbace00a6cb0b01f118ba0fce1919df1e55f82b3758157a"}},{"ruleId":"D2","level":"warning","message":{"text":"DgramSocket._sendInternal (cognitive 18): DgramSocket._sendInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb06bb29c3650edb51383536bd32955826871e34dea3a3e7e9b56545e47a35a"}},{"ruleId":"D2","level":"warning","message":{"text":"undici.createAgentOsUndiciDispatcher (cognitive 18): undici.createAgentOsUndiciDispatcher has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 6, if/else 4, error handling 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/build-tools/bridge-src/builtins/undici.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"210fcb8bd3c592092bb3ba9ec729e88e33b22f8392b055e0962f5278815923c5"}},{"ruleId":"D2","level":"warning","message":{"text":"process.readLiveProcessResourceUsage (cognitive 18): process.readLiveProcessResourceUsage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 16, boolean chains 1, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce99391e0b76de0b45226e417ef378456f273b17ac22459cc966f0d704097cb"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs._waitProcess (cognitive 18): AgentOs._waitProcess has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 5 (7 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":4627}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb619f8f96d1f764c158281f904cf781260ef1b84bc1f14c9c21fd08933e8a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvergedModuleServicer.handle (cognitive 18): ConvergedModuleServicer.handle has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 1 (3 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/converged-module-servicer.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8a425ad1b4bb81939e12a7b8e5c0a6c1f16109d2011bac0a9d3610dba63ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelReactor.drainOnce (cognitive 18): KernelReactor.drainOnce has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/sab-reactor.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"271105d305acd248f50e9721f8360e3da169e61168b73bf3e600d060e7f87c55"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.execScript (cognitive 18): worker.execScript has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4 (7 pts), boolean chains 3, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 3518). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"47de21de4125247f66bce1bdf6bbe653b0ec509be56285c4f770cb00a68ad663"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecarKernelProxy.dispose (cognitive 18): NativeSidecarKernelProxy.dispose has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (4 pts), loops 2, error handling 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c125c30fe9fcd2fe41541ec2b74b3adb54b6a04468022c82df701bb25257d63b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::shutdown (cognitive 17): AgentOs::shutdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"053d44a95aa3738e9929204ce88e085584951d5d89bedeca25de863f34b7e20d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::posix_normalize (cognitive 17): AgentOs::posix_normalize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/fs.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87f694d6b8588708950a61cba3dcc58eb4c7024683d0c0fe285a4506b8264ef"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs::run_spawn (cognitive 17): AgentOs::run_spawn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 4 (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":"crates/client/src/process.rs"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bf0c7bb9b8f09a90d6f3bdf1389635b8dff6d8cb8528af93ae368a19d34015"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchmarkComparison::from_reports (cognitive 17): BenchmarkComparison::from_reports has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 2 (3 pts), loops 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":"crates/execution/src/benchmark.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"6324473904a4197784b1bc3db0eddff4adc187a4436f7283f72fa9f7c63b4857"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonExecution::wait (cognitive 17): PythonExecution::wait has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (5 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":"crates/execution/src/python.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"730027e5ea28b4946e9bc6fbe85c8f73c10263320a221ec1f55cf883ed040f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"WasmExecution::try_poll_event (cognitive 17): WasmExecution::try_poll_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 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":"crates/execution/src/wasm.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ada4f4f7f7f7bdf9d1e57d5393593cc2216fe06de877f036e74ccbc07e216da"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelVm::find_surviving_hard_link (cognitive 17): KernelVm::find_surviving_hard_link has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":6927}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3fc9f7e40c5abd4b3aadf7a494438a8df7c6883280d6e537677a972c4a12ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PosixAcl::check_access (cognitive 17): PosixAcl::check_access has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":9590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa2f0edf0d4a1e849b1ce04d7cc2e8110ce68f26911373a1ddf59742a76be82"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionedFileSystem::resolved_destination_path (cognitive 17): PermissionedFileSystem::resolved_destination_path has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/permissions.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"815b8a449c658409c155aa4469aa2af1a181a704d60d666de486889e88d2d7ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessTable::register_with_process_group (cognitive 17): ProcessTable::register_with_process_group has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 1 (2 pts), 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":"crates/kernel/src/process_table.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdef5a658c0ab5c6f811a1677668ab0df9f6a36ee50cb4030deca8f02a2e24d9"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopbackTlsEndpoint::read (cognitive 17): LoopbackTlsEndpoint::read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b369deecee3b05d709983b344eb486e8ea7df7603dc41cc74690d208af685587"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::prepare_transferred_host_net_resource (cognitive 17): agentos_native_sidecar::execution::child_process::prepare_transferred_host_net_resource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3354b0d8d6b45e128fc9748d2ea562ff6ab5b8b3898570c4cd2b35f28bb701"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::resolve_spawn_shebang (cognitive 17): agentos_native_sidecar::execution::launch::resolve_spawn_shebang has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c2e2bbc59d978c3c589b52dd7bfa2dfb1ab70d4abb6d0f4628a51490c61d27"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::tcp::allocate_guest_listen_port (cognitive 17): agentos_native_sidecar::execution::network::tcp::allocate_guest_listen_port has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac19dcbac999ccefff89fcae865179046ea6c4d6f9292b673132e624f0a33cf7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::package_projection::command_targets_from_dir (cognitive 17): agentos_native_sidecar::package_projection::command_targets_from_dir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/package_projection.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"de375b7491c4bb0f86153eb30e4932b17c45f36ecd94b2e6ac0210fc3e29cb1f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::bridge::v8_to_cbor_inner (cognitive 17): agentos_v8_runtime::bridge::v8_to_cbor_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 2 (4 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbd6dc0b170e5f9d4fdf11c440085e4bb820cc4ace4cba70fb5b4a9a800dfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"State::resolve_path_depth (cognitive 17): State::resolve_path_depth has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/mem/metadata_store.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a5042277a0ed8c2095214f7fe7fcbfe57279c52ac4fb3e4c7c60213199e2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_diff::preprocess (cognitive 17): agentos_diff::preprocess has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e86d678fdaa35c9eeef28eeefe4e001301a8fd209f2b427e95d6fd0f3beb41"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_shims::timeout::timeout (cognitive 17): agentos_shims::timeout::timeout has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 4 (8 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":"toolchain/crates/libs/shims/src/timeout.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a29b4c166c2e9d6adafe5b2564a2519d0d4a8217e9080fd38513ca6d27bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_shims::which::which (cognitive 17): agentos_shims::which::which has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 4, loops 2 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/shims/src/which.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d441dc853d4ab76f808d8f963c4b8b2343928d098435e037beeb45f298efe9"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.fsOpenFlagForPathOpen (cognitive 17): wasm-runner.fsOpenFlagForPathOpen has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (7 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"32feff3f9ea01bdc48aa4ca6b80c005a5c74cad627bd6bd58c1fd8532493b9af"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.pollHostNetSocket (cognitive 17): wasm-runner.pollHostNetSocket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4799}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd8388f0751643a571f5a9fc70bcd6571d25bff0efd499cf16b98a79c7bf9ec"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.wasiImport.poll_oneoff::collectKernelReadyEvents (cognitive 17): wasm-runner.wasiImport.poll_oneoff::collectKernelReadyEvents has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 4 (6 pts), error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":12157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea160e6ec68e35d5aa368b67d7268078fcbf758398f4ac4bcc85f77005fdcdc0"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.dispatchWasmSignal (cognitive 17): wasm-runner.dispatchWasmSignal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":12494}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a25d7b7ff1c46496047466a3d7b092f104c01dacce9f13ef84f427efbd747"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.resetCaughtWasmSignalDispositionsForExec (cognitive 17): wasm-runner.resetCaughtWasmSignalDispositionsForExec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 1 (5 pts), error handling 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":12585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a498dbb942cae201ae462c49c4983d023ef29165703dc66c748db3449f990cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"aospkg.packAospkgFromTarBytes (cognitive 17): aospkg.packAospkgFromTarBytes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/aospkg.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aef7170fbd0077117413981d95b4c3c0706a08723df1aca7f540d50347184f1"}},{"ruleId":"D2","level":"warning","message":{"text":"header.detectExecutableKind (cognitive 17): header.detectExecutableKind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/header.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda2ca8a91f3847169354d0ccd6dbb6716e571662392818b1d9c3d2116e9424b"}},{"ruleId":"D2","level":"warning","message":{"text":"crypto.normalizeDiffieHellmanArgs (cognitive 17): crypto.normalizeDiffieHellmanArgs has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 5 (6 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":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d28289130af578b7a58cc692d4e18e938582518a202950fc79feecb32601329"}},{"ruleId":"D2","level":"warning","message":{"text":"fs.bridgeErrorCode (cognitive 17): fs.bridgeErrorCode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5afcb0c11332740eda513a1dad6c8a40f8821e98849e23842216ed740eb059e"}},{"ruleId":"D2","level":"warning","message":{"text":"tls.tlsConnect (cognitive 17): tls.tlsConnect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/tls.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f41b06ee6b557627d0536db80e4bee7382be1290536a16fc39dfa275c556bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequest._dispatchUndiciRequest (cognitive 17): ClientRequest._dispatchUndiciRequest has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 6, if/else 4, error handling 1. Of this number, 12 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c1570e98d63c632adfab722723a87719c74196818db7f644ba8bbb4f865dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequest._dispatchRawSocketRequest (cognitive 17): ClientRequest._dispatchRawSocketRequest has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 3 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c2f79af73cd4fd05a310ad2d1a98023725952cc43345bfbdc5baf749839db8"}},{"ruleId":"D2","level":"warning","message":{"text":"_Agent._releaseSocket (cognitive 17): _Agent._releaseSocket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a129ec3a17c8d11ea87a8309859261703ea8fe7efd37a91afa754899319a16"}},{"ruleId":"D2","level":"warning","message":{"text":"http.serializeRawHeaderPairs (cognitive 17): http.serializeRawHeaderPairs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5ebd741c7b43850f32995047295f89c695784c05d49974741953ae1f4c794"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchedEventTarget.dispatchEvent (cognitive 17): PatchedEventTarget.dispatchEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/dom-events.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"451fec425f05566c65eea9bd5f691d2ad937b747ddc9abc09b45fb4a3ebde051"}},{"ruleId":"D2","level":"warning","message":{"text":"build-v8-bridge.validateBridgeContractGlobals (cognitive 17): build-v8-bridge.validateBridgeContractGlobals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-v8-bridge.mjs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d36855e7b2501951a4a02fe4d1550b67d19095a82518f9dbbb6d93ecfccabc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.getPlatformPackageName (cognitive 17): index.getPlatformPackageName has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-sidecar/index.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96ea5b71b09af201c53a0ea5705eacb27c68851d9a10e032a6e068ddd86f7f0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.createShellDiagnosticStripper (cognitive 17): main.createShellDiagnosticStripper has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (7 pts), loops 1 (nesting depth added 9). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 220). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shell/src/main.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f8304608562df308f3a3c795a74d720fbdd2c5a62455be81dea7d8ad9c1185"}},{"ruleId":"D2","level":"warning","message":{"text":"main.shellArgsRequestCommandOrScript (cognitive 17): main.shellArgsRequestCommandOrScript has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shell/src/main.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02c1510c725018671578077b13c796e816997536c9ede304b14ffd337c55cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"collect.collectHygiene (cognitive 17): collect.collectHygiene has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (6 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/hygiene/collect.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d39867a86a7765d83083c58e9aa550b80eb88e435fd40338bd6079aadb4506"}},{"ruleId":"D2","level":"warning","message":{"text":"installPyodideShellCompat (cognitive 17): installPyodideShellCompat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, ternaries 1. None of this is in the body itself: all 17 points belong to 7 function items inside it that branch (a function literal at line 246, shellRead, load, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccce4db690d19c45ab061da5f8a0b32bc0337ed9c726358aacd43651fe004dd8"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_exec (cognitive 17): proc_exec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), other 3, error handling 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7094}}}],"partialFingerprints":{"codehealthFindingId/v1":"65634f29d0a7ffc06028d5783f431220dfffee836715d627bf2c59491368b5ec"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_ppoll_v1 (cognitive 17): proc_ppoll_v1 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8728}}}],"partialFingerprints":{"codehealthFindingId/v1":"86147dec13cfdb440713b0cc95d74f015b0d4df67fa9cc8f9c70ec6e0438679b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_client::agent_os::validate_host_function_input_at_path (cognitive 16): agentos_client::agent_os::validate_host_function_input_at_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39b8bb081ec5b2be1a2580427da09cb2ace4540e2ac657b7a8e5d311db358dd"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_execution::python::python_managed_path_kind (cognitive 16): agentos_execution::python::python_managed_path_kind has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf193ed459873a1214e25e2ade1ce0824ae4d403005cd7978e0aff1a9270372"}},{"ruleId":"D2","level":"warning","message":{"text":"PipeManager::open_named_pipe (cognitive 16): PipeManager::open_named_pipe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 4, boolean chains 3 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"158cb68cb6cc6777f07119a0f0a7d7fe2b521f6583a97fe39290fffb9364d5df"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessTable::setpgid (cognitive 16): ProcessTable::setpgid has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/process_table.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f761ae5c1d1d6698503f93fe856fe4575b7e2cb87d79bb4e1873e2f449eeb3"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSidecar::dispose_session (cognitive 16): NativeSidecar::dispose_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b107518e693b8c7829f2194d73bc966aa89498b5ccbdd58f05bd1bfc34ffd3d"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedBridge::require_resolved_network_access (cognitive 16): SharedBridge::require_resolved_network_access has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3b43e4982bc3d1d84be3384f6e2af3553d7f8b9f0ea25f60789c21c1329377"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalVmSqliteDatabase::transaction (cognitive 16): LocalVmSqliteDatabase::transaction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), 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":"crates/native-sidecar/src/vm_sqlite.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80cf80c3c5c15f384656851e48e629ce02d2da53302ded198865e911ca6d6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::crypto_cipher::cbc_finalize (cognitive 16): agentos_native_sidecar::crypto_cipher::cbc_finalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/crypto_cipher.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"549fc43664a953fa7c629caf20bf161f0efc20a43eb1da5c3fb037166b30640f"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::child_process::javascript_spawn_attributes (cognitive 16): agentos_native_sidecar::execution::child_process::javascript_spawn_attributes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"383301f140822da8023b03be578d48aa9b35a9c84c6118fbca58108658e642f8"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::javascript::http::dispatch_owned_vm_fetch (cognitive 16): agentos_native_sidecar::execution::javascript::http::dispatch_owned_vm_fetch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d2a5689847bb72f0ed7927576f6f577d27cb708babbe91efc7849f630a176e"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::collect_shadow_sync_snapshot_inner (cognitive 16): agentos_native_sidecar::execution::launch::collect_shadow_sync_snapshot_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), match/switch 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f448ae882c735d464c89af328afb43bdb11930f42f4da90e8a09fa3014915e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::launch::guest_command_search_dirs (cognitive 16): agentos_native_sidecar::execution::launch::guest_command_search_dirs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd07c10e041eafa7311594ab34690211a2128645b949c031f8974ca58080c56"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::execution::network::udp::apply_native_udp_option (cognitive 16): agentos_native_sidecar::execution::network::udp::apply_native_udp_option has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 4 (6 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":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c4d4d1cba51d38ed9c9b21217a06956c13d1e3a7ed0b79d8f60b1173920575"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::extension_services::prepare_extension_service_command (cognitive 16): agentos_native_sidecar::extension_services::prepare_extension_service_command has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (13 pts), if/else 1 (3 pts) (nesting depth added 7). 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":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b889041ab6e0c735d0b90f362b17f4c46bf0f9357b9cd5b14e3ebcf820d0710"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::filesystem::sync_active_shadow_path_to_kernel (cognitive 16): agentos_native_sidecar::filesystem::sync_active_shadow_path_to_kernel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":5377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df741eda7b2180d85a5ab5e6b916c89e87b08b9aa9a3e7fe24472213d9bca8d"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_native_sidecar::vm::append_module_access_symlink_mounts (cognitive 16): agentos_native_sidecar::vm::append_module_access_symlink_mounts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":4426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc781fdbbc952d2919bd1c89d9e7ea6cd86513e6a28865cdb1a28a64580a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"HierarchicalDeficitRoundRobin::select_next (cognitive 16): HierarchicalDeficitRoundRobin::select_next has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/fairness.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e0b909d2e0bf0d0b54b5fbc0d5f8caf87816a3f2cf1f17dc3ae3c4399a55f2"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeCallRegistry::cancel_session (cognitive 16): BridgeCallRegistry::cancel_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (2 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":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9021d8e7637c5c27e8993d1b85b26b7780a19bbe82ab5c42e8c635a0a638a5"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos_v8_runtime::execution::dynamic_import_callback (cognitive 16): agentos_v8_runtime::execution::dynamic_import_callback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"f010a87006594c8de7789e34a0c41bda15df8b023567dcce4fbe3195798dc742"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayFileSystem::collect_copy_up_usage_limited (cognitive 16): OverlayFileSystem::collect_copy_up_usage_limited has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"427f918a9df7dd92d612e8527d1f9d98753cafec38a82e8d7b4d99bf9bc67a88"}},{"ruleId":"D2","level":"warning","message":{"text":"WASI._filetypeForStats (cognitive 16): WASI._filetypeForStats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 5, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17cae6139b024b9a3a6815472095b4bd5fc2e5bcfee78151a109bd98baa5dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm-runner.pumpSpawnedChildren (cognitive 16): wasm-runner.pumpSpawnedChildren has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 3, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25155e9461f9c192e6c27ea0159ab3be4c10b928154fba93f6f13ec93e5e0c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadStream._readAllContent (cognitive 16): ReadStream._readAllContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f3524503c8660f1a584d59a437071cca13796748c693c613e1a2bbec0a4d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"fs._globCollect (cognitive 16): fs._globCollect has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 7 (11 pts), error handling 4 (7 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (fs._globCollect::walk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"469fdd3d81d4bcd2cd24a33feb218fe8fb38bfa9926e6f0b49dc7cb8a6250e01"}},{"ruleId":"D2","level":"warning","message":{"text":"ChildProcess.send (cognitive 16): ChildProcess.send has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c759bf6bd8a0e68b9313cdb944afd70ccef02754d4bb2e6a5f9e285cdb6fa40e"}},{"ruleId":"D2","level":"warning","message":{"text":"child-process.exec (cognitive 16): child-process.exec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 1263, a function literal at line 1288, finishExec, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f122dbce2cbaf8ee20a0ec748af293b5133f64dbf74ea5b302b4dd0e30aa8a7"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetSocket._final (cognitive 16): _NetSocket._final has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (4 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":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"9738e20bd66bd8550e9d9ceea571e1491bbf651dd712c3c5d537e8e01201b4a1"}},{"ruleId":"D2","level":"warning","message":{"text":"stdin._emitStdinData (cognitive 16): stdin._emitStdinData has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, loops 3 (6 pts), if/else 2 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0278d1d4f6585c57526e9422593c6bba035f073a6ebd24358680284c6801f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOs._readdirRecursive (cognitive 16): AgentOs._readdirRecursive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":4776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9ceb0a61242122368791ea57fd0ae3bd6192a7ddea3b5efc0f6cffb4d4117e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-os.createKernelBootstrapLower (cognitive 16): agent-os.createKernelBootstrapLower has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d6ae308bba600840ef0d63cc361bf7e417a875bb804f5ad904e46fb0e041af"}},{"ruleId":"D2","level":"warning","message":{"text":"fs-sync-ops.bench.runCaseWithOptionalLatency (cognitive 16): fs-sync-ops.bench.runCaseWithOptionalLatency has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/fs-sync-ops.bench.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3c2e1fe3ff780772d3090605f7dc977601f7a6defba1d7b66de18c14394a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"net-tcp-event-floor.bench.classifySummary (cognitive 16): net-tcp-event-floor.bench.classifySummary has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaec9f5813cdc09ac6cfdfeb2ead6abf8343f21b4864f447b15e1cad65da87b"}},{"ruleId":"D2","level":"warning","message":{"text":"wasi-ls-scaling.bench.main (cognitive 16): wasi-ls-scaling.bench.main has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (8 pts), if/else 4 (5 pts), ternaries 2, boolean chains 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/wasi-ls-scaling.bench.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f76bbad559ba6bb248225a33ceaab6bb36da0815fc549978d5f50d69590e2d0"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.createFsModule.openSync (cognitive 16): worker.createFsModule.openSync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dce3fe31b63dd1f18b8adb6c24c713ebcc8c783d6fd323b45ce8455b740a1f3"}},{"ruleId":"D2","level":"warning","message":{"text":"copy-wasm-commands.commandFiles (cognitive 16): copy-wasm-commands.commandFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/scripts/copy-wasm-commands.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8997968cba4adc230d1f799d02af6f67df2177b20a0505b7432987c580c81e"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect.pickCondition (cognitive 16): inspect.pickCondition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/footprint/inspect.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"76643d0d2192f5c25ee9d648fe983491ae0b85a7762d412fca517045ae70dcf1"}},{"ruleId":"D2","level":"warning","message":{"text":"version.bumpCargoVersions (cognitive 16): version.bumpCargoVersions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/version.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d15d3cd0940c124c0014539789ec36709079b0a5351eb57e77d0d3eeaa3f4bb"}},{"ruleId":"D2","level":"warning","message":{"text":"tryHostNetAcceptOnce (cognitive 16): tryHostNetAcceptOnce has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 4 (5 pts), boolean chains 4, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a57c3e4ebf5cf0016aba933d55e7a7e55b08990e753ebffe059a2c1c1fbe2"}},{"ruleId":"D2","level":"warning","message":{"text":"proc_kill (cognitive 16): proc_kill has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7613}}}],"partialFingerprints":{"codehealthFindingId/v1":"df29394cf54a271949ad45144a817d13a05e2c22ee2d1b6236f7c320ff98574b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runners/wasm-runner.mjs: FileTooLong \u2014 9114 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 8614 over it, 18.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35547f58b64341adf0ce9eec36316d9736f2febab32bc97cf087b3d8d99d8748"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/child_process.rs: FileTooLong \u2014 7764 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 39 free functions. The bar is 500 significant lines; this is 7264 over it, 15.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37e1b912a67e922a25db99df43154f2227a3cab43e3e95b44e3ad4217e5b0d5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KernelVm: ClassTooLong \u2014 6188 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), 363 methods, 4 blocks, lines 446-9946. The bar is 400 significant lines; this is 5788 over it, 15.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"4015b30da459047bcb35c3fc56f3cb77ed2109d9154df79aa1804707ad1057b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc runs 1544 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 1444 over it, 15.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c5ea6139d420e127960dc91e11db3d380a5f0cb72cb95762b81374dd3b16c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/kernel.rs: FileTooLong \u2014 7410 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 84% of them inside a single declaration: KernelVm (4 blocks, 446-9946), declaring 50 free functions. The bar is 500 significant lines; this is 6910 over it, 14.82\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86be4a5c226c3530a057140a22fa624624781e7094f3c3fb47bf0a64c58da96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc runs 1408 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 1308 over it, 14.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"1497eda8dd1131954e717c14b8ea50f3131e26867badc0dc29dc4aece4edd775"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::filesystem::service_javascript_fs_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::filesystem::service_javascript_fs_sync_rpc runs 1240 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 1140 over it, 12.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba9674d30cd6425f276fd52ea06e31a6f170ed404ff2ce9faeb79509de135f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KernelVm: TooManyMethods \u2014 363 methods. The bar is 30 methods; this is 333 over it, 12.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8966382963e77b1d4511077d8c2366d3d04808351582c74a02eb04766e024ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/javascript.rs: FileTooLong \u2014 4996 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 79 free functions. The bar is 500 significant lines; this is 4496 over it, 9.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6be9be3c4191d35fbd4cb1e0fda2e675338e59d7f7499601bb149d5426a9b26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/agent-os.ts: FileTooLong \u2014 4531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4031 over it, 9.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eebba3a875a5230bad2f6b6cf46467ca33e6772655b29d737f740fafaa6944"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/stdio.rs: FileTooLong \u2014 4399 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 62 free functions. The bar is 500 significant lines; this is 3899 over it, 8.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e2dc5bee17540a9a4fbe9b82b95547af827c3e9cf267c593863b83cc80b7bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 4290 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 44 free functions. The bar is 500 significant lines; this is 3790 over it, 8.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"701f61332ca6466f4cbd25f101346fd340075942fbc25b91a50bff3bc57ebf4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/filesystem.rs: FileTooLong \u2014 4216 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 136 free functions. The bar is 500 significant lines; this is 3716 over it, 8.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"886de864630261e59864156dbac11739652c4842eca84c2f6387709cfeb9ec39"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeSidecar: TooManyMethods \u2014 248 methods, declared across 12 files: src/service.rs (102), execution/child_process.rs (47), src/vm.rs (33), execution/process_events.rs (27), \u002B8 more file(s). The bar is 30 methods; this is 218 over it, 8.27\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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec31e15667c0285c141c14046ad08ef5ae779f57384f51211cb6fb7696ba25d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::stdio::run_protocol_engine: FunctionTooLong \u2014 agentos_native_sidecar::stdio::run_protocol_engine runs 810 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 710 over it, 8.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8163d61dfa314b9d9ece68e41c36bec01521b8878997b81aa7b511bd0bdd10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javascript/rpc.rs: FileTooLong \u2014 4049 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 45 free functions. The bar is 500 significant lines; this is 3549 over it, 8.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a544d667812c10f31f789e9d0e5b63b63b9e0f38ec7791f2124370a204f01345"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.ts: FileTooLong \u2014 3899 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: POLYFILL_CODE_MAP (1159-4700). The bar is 500 significant lines; this is 3399 over it, 7.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0597145d4aca9ba852d59e44d88a77b239315be7abbd96a2414ebf9a65197f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vm.rs: FileTooLong \u2014 3853 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 90 free functions. The bar is 500 significant lines; this is 3353 over it, 7.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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede4095c89627e46beeda28c92c335fc3faec384b15a9dbd1075f3de61421b3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/http.ts: FileTooLong \u2014 3564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3064 over it, 7.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f1570da91af1d0e1ab0a4ac49e6c3e82b1fd576f515a1034ff71fb27e927a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/launch.rs: FileTooLong \u2014 3434 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 130 free functions. The bar is 500 significant lines; this is 2934 over it, 6.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2006872466751646a85c4b600d74c554544a71713a8bd68630817affa1250589"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/fs.ts: FileTooLong \u2014 3286 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2786 over it, 6.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":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a0bcfbb67323fee22e053d25bc8b0d8789aadbd06689266b78de3f43d8623b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/wasm.rs: FileTooLong \u2014 3276 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 95 free functions. The bar is 500 significant lines; this is 2776 over it, 6.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e4173e67cfd424c8193a1d34ced08542f381aed80f1c1dc43fa4d32639a6f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::http2::service_javascript_http2_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::http2::service_javascript_http2_sync_rpc runs 598 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 498 over it, 5.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b4d1cc4d9ca465808c56593324eb76d0cbf6e34eab4460bf14bd5e031daa55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/net.ts: FileTooLong \u2014 2955 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2455 over it, 5.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea52a27a44aaab789dbc02ca367dabefbbd85f08354b31d378a45a6c4d6c4efa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/http2.rs: FileTooLong \u2014 2945 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 64 free functions. The bar is 500 significant lines; this is 2445 over it, 5.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75db7c915b606d7b15586d907ad06ebf5de35209c178a751e241e9bd2520f708"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentOs: ClassTooLong \u2014 2305 significant lines (blank, comment-only and punctuation-only lines excluded), 147 methods. The bar is 400 significant lines; this is 1905 over it, 5.76\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9100b53fbf2c5282d67dfbf6ed7834e2310894d470f4a68c96632c9d055e112"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.createBrowserProcess: FunctionTooLong \u2014 createBrowserProcess runs 567 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 467 over it, 5.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9bc195c1f09638921a968742f83aa098c6e56da4278c3282fe4bd3185fe371"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/tcp.rs: FileTooLong \u2014 2752 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 56 free functions. The bar is 500 significant lines; this is 2252 over it, 5.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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed288db72aa889b7e3a386ee3eacefd6341c7b88aab04c5896c53715e511924"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentOs: TooManyMethods \u2014 165 methods, declared across 8 files: src/fs.rs (39), src/process.rs (37), src/language_execution.rs (35), src/shell.rs (23), \u002B4 more file(s). The bar is 30 methods; this is 135 over it, 5.50\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":"crates/client/src/agent_os.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c43459b9e54a00afb7f1d0c4a6432b7fe9c72b65d76e6cf7c6864de446c9dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/worker.ts: FileTooLong \u2014 2699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2199 over it, 5.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ba8a23d2d8f45b5255c333ab7f8dd3bfb9d69851e48d8e8f22c9422e54d0a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/session.rs: FileTooLong \u2014 2673 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 2173 over it, 5.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48034b309ac780f534e7d764da28906866184af468a38da91a32d002b9db9eee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidecar/rpc-client.ts: FileTooLong \u2014 2626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2126 over it, 5.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf0337ebacd1e82271660739da5160ad808fc6f0d240eb3824e2724a342284c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: net-tcp-event-floor.bench.deriveGuestBridgeTrace: FunctionTooLong \u2014 deriveGuestBridgeTrace runs 525 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 425 over it, 5.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9480b327e7e93a3321427574260474a76375aa383b4fb04fd5d11416f9bd69bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/protocol.rs: FileTooLong \u2014 2598 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 50 free functions. The bar is 500 significant lines; this is 2098 over it, 5.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"201754429327346704ae9f6ec5494b77a2d8a76761903e033989fb7b85d5beb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/benchmark.rs: FileTooLong \u2014 2594 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 74 free functions. The bar is 500 significant lines; this is 2094 over it, 5.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/benchmark.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f260633930b583e95352e4afc182ea7fdc4507a1383d68f07aaa3850229854"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentOs: TooManyMethods \u2014 147 methods. The bar is 30 methods; this is 117 over it, 4.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47183c63edd42b45c83d256e365ea38efd96402126314c6ed1c0a56099febd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/language_execution.rs: FileTooLong \u2014 2382 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 1882 over it, 4.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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35edbb9a9c727fbf16fc3c758aaf74e35b7e493a8d141675a2acf28aaefe2cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OwnedLanguageSidecar.execute_language_operation_owned: MethodTooLong \u2014 execute_language_operation_owned runs 476 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 376 over it, 4.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c557eba68884ef1b9fa18fdc5b0cda11ec3655d8d2e3c9c7b8d69182beeb3f4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/state.rs: FileTooLong \u2014 2353 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 1853 over it, 4.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82062e10898f95e1bfb06c3a61f2f06bd22ca5854c2a6b6f921123a16b08ad0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::http2::spawn_http2_server_session: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::http2::spawn_http2_server_session runs 462 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 362 over it, 4.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"365cb56568313c9cf8189ac5b5ae001281b902c4f8899781e52a0f69ed36fb36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javascript/http.rs: FileTooLong \u2014 2308 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 50 free functions. The bar is 500 significant lines; this is 1808 over it, 4.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4eefab8a38e1ccb5eae1a69b704bcb6443dfc659b9cc4f3067d7fc84b268060"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/socket_table.rs: FileTooLong \u2014 2228 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 1728 over it, 4.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f0a464145d540d2f540f41888726ea81a9b99b4c776feddc0247263b148a1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.initRuntime: FunctionTooLong \u2014 initRuntime runs 443 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 343 over it, 4.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c1516d022563936525f6730272ba8747613bb90e9ce7578328d1d14457df65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_baseline::run_once: FunctionTooLong \u2014 agentos_native_baseline::run_once runs 439 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 339 over it, 4.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-baseline/src/main.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f659842e89a03a7f9f9f94bb7a209fe9f8c1b2912f7898dffe1e0fb41fdd5295"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/execution.rs: FileTooLong \u2014 2124 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 89 free functions. The bar is 500 significant lines; this is 1624 over it, 4.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc94801c7793ef508af9f6a3551bcc2af09b4c53e9fb2aa0daa39bb66f474c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/python.rs: FileTooLong \u2014 2111 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 46 free functions. The bar is 500 significant lines; this is 1611 over it, 4.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2cc7082193d780c6c9e4a4d388413521f0816c5f2fa15c31a82db3ad3eb553"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/agent_os.rs: FileTooLong \u2014 2065 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 70 free functions. The bar is 500 significant lines; this is 1565 over it, 4.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec87438477d6f33f2107392ebbab9363caf72036a12e74d5d4a3184974dbf9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runners/wasi-module.js: FileTooLong \u2014 2034 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 534 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd787e97889c990d4bd86705ae6f3bd443e39cb6b14b7b634b4438aeabf7e155"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OwnedLanguageSidecar.handle_execution_lifecycle_owned: MethodTooLong \u2014 handle_execution_lifecycle_owned runs 403 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 303 over it, 4.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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7230c092ce070e4268c8f1b4016f599db3f578138b6a917a7cfe986c5e2aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OwnedPythonSocketService.python_socket_op: MethodTooLong \u2014 python_socket_op runs 398 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 298 over it, 3.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6b812292d2cf81b9aca4b258a4fa384ac13e57e781a3bf46feccbe3e01527d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/http2.ts: FileTooLong \u2014 1972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1472 over it, 3.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19b96442e8ce029923f8563370e61cb53f2f3a6329d52a565ff22d09c5d9208"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentOs.create_vm: MethodTooLong \u2014 create_vm runs 394 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 294 over it, 3.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b8162c8ef420df000c68c951032f9e2f813da1052afcbad0d93fb7ee2577cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javascript/crypto.rs: FileTooLong \u2014 1920 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 70 free functions. The bar is 500 significant lines; this is 1420 over it, 3.84\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3207dc8df0bca5a812c44983b851b4a227ed7aa79fe4d25d5ced87b822f60c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::launch::execute_owned: FunctionTooLong \u2014 agentos_native_sidecar::execution::launch::execute_owned runs 383 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 283 over it, 3.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb26221ac0459f64cbb49a4fc119ff91490bc9a37e813967351ca0e3592c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runners/python-runner.mjs: FileTooLong \u2014 1887 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1387 over it, 3.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b9e17a412bf6ed426f2426d07291473e0fb770df6e6d59c0558c726e62cf38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: posix/mount_table.rs: FileTooLong \u2014 1875 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 1375 over it, 3.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0402f0f8b92e2e287518204551e90424b7028a22f9e0c2076296afcc66583896"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime-compat.ts: FileTooLong \u2014 1856 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1356 over it, 3.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38670d2a1399328681bf24ca3365eb42acf38fd3ac2d7f2fa289fa1e6f33846e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: process-spawn.bench.main: FunctionTooLong \u2014 main runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/process-spawn.bench.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0555c408422ea67c955100775d1c7e515592514d0c1e2874935d846d346571b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: posix/vfs.rs: FileTooLong \u2014 1836 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 1336 over it, 3.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0d1af5f46218bc1d378361358bc65490a836956ecc27ed68ca9ba187068a38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/kernel-proxy.ts: FileTooLong \u2014 1801 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: NativeSidecarKernelProxy (358-2330). The bar is 500 significant lines; this is 1301 over it, 3.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedbfafbaef16136f2a8d014b49acbb60f6418fdbd50ea9233733b96928625cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeSidecarKernelProxy: ClassTooLong \u2014 1424 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 1024 over it, 3.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c067d07544ec0c434913eea79ded55b002ccffff5e3908c5f306083c286c8c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: response-payloads.fromGeneratedResponsePayload: FunctionTooLong \u2014 fromGeneratedResponsePayload runs 351 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 251 over it, 3.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/response-payloads.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"33005470c5c669e58c5a7ae115a83e034f461607f62433d90476e399f504d6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/process.rs: FileTooLong \u2014 1734 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 33 free functions. The bar is 500 significant lines; this is 1234 over it, 3.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c6189ccec10e9dd2733100e9ada18befb43493d0c41b14e79e4e3c36c887ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OverlayFileSystem: ClassTooLong \u2014 1376 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), 72 methods, 3 blocks, lines 20-2141. The bar is 400 significant lines; this is 976 over it, 3.44\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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98754ea04b960e9af0ac5c79380f1b71c302a1ac67969bbe7db0d0905fabca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/udp.rs: FileTooLong \u2014 1706 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 1206 over it, 3.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":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda534e5af3294e5cb2fe7142a3a0d4bf2aba5a38b3d124dcf443ae9a1269109"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WASI: TooManyMethods \u2014 101 methods. The bar is 30 methods; this is 71 over it, 3.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a61c922b3c782f78ec20e912f851f1b5a10482fe80f9cbc7cda2872cc9225d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::http2::spawn_http2_client_session: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::http2::spawn_http2_client_session runs 335 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 235 over it, 3.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b016ead8298cf5b07121e03b814aad8ae46f1e3da71283990de77745c9b73a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: request-payloads.toGeneratedRequestPayload: FunctionTooLong \u2014 toGeneratedRequestPayload runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/request-payloads.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1154adda53ed561fadc2567f697ee91930ab459034ae90e0fed9a3b190e003"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::stdio::route_protocol_frame: FunctionTooLong \u2014 agentos_native_sidecar::stdio::route_protocol_frame runs 321 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 221 over it, 3.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b2c8ada786dc8f93316332f10c46efde7bbc0ef6b304093329ca9823fa503"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: fs: ClassTooLong \u2014 1271 significant lines (blank, comment-only and punctuation-only lines excluded), 98 methods. The bar is 400 significant lines; this is 871 over it, 3.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5ac2e4afd440e20952d6e44c8bc18ff572eb99499d4944e359c409b5a329e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar_core::limits::validate_vm_limits: FunctionTooLong \u2014 agentos_native_sidecar_core::limits::validate_vm_limits runs 314 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 214 over it, 3.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad285c4025fce5fcc03eab2f2d42637a696d17ea7c25a61fd8c5fd64616e101"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::udp::run_native_udp_owner: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::udp::run_native_udp_owner runs 311 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 211 over it, 3.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d60d65f0eca6bc558b4ddafa6cdce9d72a0f7fdea067847fd6e7ebb120d281"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecarKernelProxy.openShell: MethodTooLong \u2014 openShell runs 310 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 210 over it, 3.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"7996884ef434aa81bbd2ae78854bbb8310440fef57b9d708e574ef6d4bcb4cac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SocketTable: ClassTooLong \u2014 1236 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), 48 methods, 2 blocks, lines 834-2492. The bar is 400 significant lines; this is 836 over it, 3.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cb96c160fde829b080d3e0f51d0d34b7ca856d0b1f91064d347c4f30b3b85f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sidecar-process.ts: FileTooLong \u2014 1537 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: SidecarProcess (349-1925). The bar is 500 significant lines; this is 1037 over it, 3.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d499a1614f6cc332e24d7b809de68242f2fd2928625baa3dcd9a2415ba0cd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.create_vm_legacy_impl: MethodTooLong \u2014 create_vm_legacy_impl runs 305 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 205 over it, 3.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6ee62e24f8bdaf1e43a876045baf06bd85d2b72d26dbbd43e20cbf3f250eaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc_response: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::rpc::service_javascript_net_sync_rpc_response runs 304 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 204 over it, 3.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f618d8adf3f180027332883ccf510d9fab60d21c6ef234b3acff3ed5c528b35b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/process.rs: FileTooLong \u2014 1515 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: AgentOs (536-1944). The bar is 500 significant lines; this is 1015 over it, 3.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a61745115489953b10e164b379acba100dfceb365216e598bb5a9fe717ec051"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/process_events.rs: FileTooLong \u2014 1485 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 72% of them inside a single declaration: NativeSidecar (546-2008). The bar is 500 significant lines; this is 985 over it, 2.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe302f5590ea8c0edb98ed914f3086b64fcdabf564172d35d8a4b032a20db624"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JavascriptBenchmarkReport.render_markdown_with_comparison: MethodTooLong \u2014 render_markdown_with_comparison runs 297 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 197 over it, 2.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/benchmark.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"53080d29f0214dfd0be0fe8c6da4e41a984d8b299bd511a7312ad1043d8cc6da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bridge.rs: FileTooLong \u2014 1483 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 69 free functions. The bar is 500 significant lines; this is 983 over it, 2.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec60444ddbc5bdf317b0c96cede0236ca854d3fb352d002d30afad2b0182bc34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 1453 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 78% of them inside a single declaration: BrowserSidecar (3 blocks, 334-1899). The bar is 500 significant lines; this is 953 over it, 2.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b9b7aef1f2adb9756e728aac2bcf7d724c31239d0ce01ea675ba75cbd46d61"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SidecarProcess: ClassTooLong \u2014 1159 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 759 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"320389b9e5ed755bbbbb381eeef82231417ef91384fd5a61100bae3b71e0d700"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreparedCreateVm.execute: MethodTooLong \u2014 execute runs 286 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 186 over it, 2.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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d23e21913d730cf269360984e4c7728cfdcea9d09d2ec3bae0f7d8a162b1aa9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OwnedLanguageSidecar: ClassTooLong \u2014 1138 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), 13 methods, 3 blocks, lines 897-2401. The bar is 400 significant lines; this is 738 over it, 2.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"9238b843b68f69e7995c1426c975baf3879fc7ed0f1b5243f28803f9c012d2ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserSidecar: ClassTooLong \u2014 1135 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), 68 methods, 3 blocks, lines 334-1899. The bar is 400 significant lines; this is 735 over it, 2.84\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":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0f2f2b427fa3cef9253ebf81d3016e8f809eb55f3f8807f7e57d960de39d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: posix/overlay_fs.rs: FileTooLong \u2014 1417 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 97% of them inside a single declaration: OverlayFileSystem (3 blocks, 20-2141). The bar is 500 significant lines; this is 917 over it, 2.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d401a35ab3a23017c635c58e0df8ec300f6a588351357a30ff289ef804917b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: focused/net-tcp-event-floor.bench.ts: FileTooLong \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 913 over it, 2.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e214ca060bac20ac1eba2db6ec44e120c35445c81529e01954d24d42e39364d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentOs.create: MethodTooLong \u2014 create runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"84028a944af41a1c5e389ea0eee03f3c30c65548367dfbe9823d8c3e7a959a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/unix.rs: FileTooLong \u2014 1396 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 896 over it, 2.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f460ceb69297a5c7b9d86883261c36dc58520437221b464a40a767ef2f1d8bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/child-process.ts: FileTooLong \u2014 1396 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 896 over it, 2.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae7728824199bd577f7aef57ec1fa0f2a9506f3d523f302a2d2b4f177a1e496"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: net-tcp-event-floor.bench.defaultRows: FunctionTooLong \u2014 defaultRows runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/net-tcp-event-floor.bench.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"824b8b11ccd2391761d76d123b5edb270d8d7f504fdb8c5ed91dd91f26a96a2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/software.rs: FileTooLong \u2014 1381 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 33 free functions. The bar is 500 significant lines; this is 881 over it, 2.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":"crates/client/src/software.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24f2f248239d78398a874c84260b3d648ef2c6168a7fe22a53d45d4bbbf0879"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: builtin-modules.loadBuiltinModule: FunctionTooLong \u2014 loadBuiltinModule runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88455bfbbc60863b7aa8bbc0b8b16c6fef42e189895d002236a011880e47146"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/tls.rs: FileTooLong \u2014 1341 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 33 free functions. The bar is 500 significant lines; this is 841 over it, 2.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd48ac9c80410c23114b0d1d61175683f3a0393ce4847e41ac6b5aeb346e0c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::stdio::run_async: FunctionTooLong \u2014 agentos_native_sidecar::stdio::run_async runs 267 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 167 over it, 2.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"904d8f872720b556215ee7d7c08950729057fca4f4d1bb9eeb2aeb2fbadcc2e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fd_table.rs: FileTooLong \u2014 1332 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 832 over it, 2.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/fd_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fae98f193830199d234631124fb8be848a36a111f663fe533486a575266354b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChildProcess.constructor: MethodTooLong \u2014 constructor runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b63cf1a8f3c322e9e8930dd8e6530c2cd3ae83d76c4255ece7bc32b66a0f9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: python-runner.installPythonWorkspaceFs: FunctionTooLong \u2014 installPythonWorkspaceFs runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef283381bc77401a9bfe486e08edbaa19eec034ce8fa39178934c911f821f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::language_execution::lower_operation: FunctionTooLong \u2014 agentos_native_sidecar::language_execution::lower_operation runs 263 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 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1937928bb40ebc97c83aef9f2ee2a16fc1f7faebf9650a5bca7135c07223e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MemoryFileSystem: ClassTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 4 blocks, lines 784-2194. The bar is 400 significant lines; this is 641 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"a616f7d5cb3f52a63e001bb4257c4a2facbf76da5427e4c01929e040703f7692"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ActiveProcess: TooManyFields \u2014 78 stored fields beside 49 methods. The bar is 30 stored fields; this is 48 over it, 2.60\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9c006e05768f55e5598f74a3be17b308fce29e4faa1b6a8aeb5c26e059729a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::udp::service_javascript_dgram_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::udp::service_javascript_dgram_sync_rpc runs 255 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 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbe8d8f84d379e0214359f8168121c38367438cd3d8815e4d7ea1dcc06c975a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extension_services.rs: FileTooLong \u2014 1265 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 765 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee572d7fbf748c6950367a976df13d302f079709f3a90c7268340d45dd9a50b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_execution::benchmark::benchmark_scenarios: FunctionTooLong \u2014 agentos_execution::benchmark::benchmark_scenarios runs 253 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/benchmark.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c98c73e927d2cea2f316f7ab0e9e68749f4e39a097716c46ec08ee441828fd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar_core::guest_fs::handle_guest_filesystem_call: FunctionTooLong \u2014 agentos_native_sidecar_core::guest_fs::handle_guest_filesystem_call runs 252 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 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/guest_fs.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7d6568c0d4c02bbbdc35318094dd34470720ce9c85c6ff57c9726c1d09e0cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MountTable: ClassTooLong \u2014 1004 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), 29 methods, 4 blocks, lines 1192-2588. The bar is 400 significant lines; this is 604 over it, 2.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67fb4d061908af9c88da4961f9fd6d62cedfa53310a5cac24509e26a5bc18ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/limits.rs: FileTooLong \u2014 1230 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 730 over it, 2.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4824bd6b16a7d8f0a1f42481d8befd62eba3a3192102c2c1581c8721c0bdddc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar_core::limits::vm_limits_from_config: FunctionTooLong \u2014 agentos_native_sidecar_core::limits::vm_limits_from_config runs 246 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 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcacc9601804dad235a4d153cc1bbd270c01952c77571d454aa34a9ee43b754"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.createFsModule: FunctionTooLong \u2014 createFsModule runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10f2d81131d8f4e51a6f1e155c28ced55089873c96a4a0046d146a2142fb6f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OverlayFileSystem: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf8c5e1c7f42770249e338dede66dfee9fd0610de8397f28d424e467310dfa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/snapshot.rs: FileTooLong \u2014 1190 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 690 over it, 2.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6522b24881bd87127043ecc119324a00329a873a082c68893e119946c800a2aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SidecarProcess: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae3e58b6c560339869afa6048d19091150f5ac5375fc0e47ab2c9892d64c2ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.compilerRuntimeMain: FunctionTooLong \u2014 compilerRuntimeMain 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/typescript/src/index.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9c8a776c220e4d93428c29244123ef4f5842a64aef72003c01b58e5285278e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1165 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 665 over it, 2.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94e4f95aa987e0c85df14fc7d433a4689679cb84611363f61ec7e718b83a259"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeSidecarKernelProxy: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a284f9db58851b2ab2ea640dba02c439d1330fcc55492cb9ededc3b926effbfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: focused/process-spawn.bench.ts: FileTooLong \u2014 1148 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 648 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/process-spawn.bench.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5e5af73d59fcf976fd20259ef8a80e05d89fdff016efccefe65a1ca385cdb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/sandbox_agent.rs: FileTooLong \u2014 1142 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 642 over it, 2.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/sandbox_agent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38645e6dd715c988722881802a4972d47c053605c5909c655bb4a3834155d1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/host_dir.rs: FileTooLong \u2014 1141 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 641 over it, 2.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd15d1f1626e758bbd4b16dc4741dd4af45cfdba17a35d1a64149ffaf838525"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::tls::run_native_tls_transport: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::tls::run_native_tls_transport runs 228 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 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"04da8c50e676b8b73aa44266e267e9a7981d6c1c7bb6d16c2dda5b0379697b50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VmLimitsConfig.validate: MethodTooLong \u2014 validate runs 228 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 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vm-config/src/lib.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d837328e26c40658f1324b722559324894a8170a655e5be03b2a2b4387bbfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::launch::resolve_command_execution: FunctionTooLong \u2014 agentos_native_sidecar::execution::launch::resolve_command_execution runs 227 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 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"294376f5873eabe5a9be66913cf89d3b92d082c1b94b025a00730b68a07b8089"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserSidecar: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.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":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b7c2afce0aa15dde1b8e2567a455ff0cd20958643a392191512a0ebbefa59f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1127 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 627 over it, 2.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vm-config/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2752ec899666670e84d8f466b2bd791f38941d5354ee7b57c8b5267cf2751f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ownership_coordinator.rs: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 611 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/ownership_coordinator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc5a0daba2e3d132ac11944c172e5e3c690c93ad537fac31561af302b88907"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NetSocket._pumpBridgeReads: MethodTooLong \u2014 _pumpBridgeReads runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f275c3ff45ab1f0ca40a6c8478983f593e22300f8e6e30e24e6943180e08a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: python/sockets.rs: FileTooLong \u2014 1105 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 605 over it, 2.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":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3005f610ad82cfd1bac0ba12cb3723378f0d63ae3706233aa9bfe33ea2f93e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChunkedFs: ClassTooLong \u2014 880 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), 13 methods, 5 blocks, lines 40-1198. The bar is 400 significant lines; this is 480 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32dd6cb2cd7ba0c88ebb0ba9b5379564f1200f3e4ac2362e0a4309ef07dfa42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/language_execution.rs: FileTooLong \u2014 1078 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 578 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/language_execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf15e098289691d6337bc56acd8fa746247936d838d1514467c0851e9e4c784"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/host_call.rs: FileTooLong \u2014 1069 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 569 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81705aaed865c4831a449ed4402747dddcbb528c4572c7cfdfec7b6f379127b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/process_table.rs: FileTooLong \u2014 1049 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 549 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/process_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"683f68f973f9e4f85a6b787156c0b53b1e0c24190b60f345eed7a430f20039bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WASI._pollOneoff: MethodTooLong \u2014 _pollOneoff runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0b41e6fd4c4206c896f10341d724066213ec1d7ca2584de4e762141f83a816"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::tls::spawn_native_tls_transport: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::tls::spawn_native_tls_transport runs 208 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 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaf1a6ea4ad5b20d5e57ed2561c59da7753d9db36800d7534506b7d0e945cbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.pump_process_events_nowait: MethodTooLong \u2014 pump_process_events_nowait runs 207 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 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161cd275fcf86f4b3924c9e4932bde2e9307860470693348abbd28c3af66174"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pty.rs: FileTooLong \u2014 1020 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 520 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2ab93ee0708374897ee85ab98389dc514fbcf372567abe16d8439702f02e5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::extension_services::prepare_extension_service_command: FunctionTooLong \u2014 agentos_native_sidecar::extension_services::prepare_extension_service_command runs 201 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 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98be3bca2d62963c85b307d6c337e0250518739512a4b3a22439778c1223677"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engines/chunked.rs: FileTooLong \u2014 1003 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 88% of them inside a single declaration: ChunkedFs (5 blocks, 40-1198). The bar is 500 significant lines; this is 503 over it, 2.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24077a69528ef0622b3ce2e7375926dbbe9da4ff0dbbd521b29b6c3e42fd0361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::vm::configure_vm_owned: FunctionTooLong \u2014 agentos_native_sidecar::vm::configure_vm_owned runs 200 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 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d04ad34135e99d19bf5d5df888a8f76632a67c3115beb2f502f92cd336d81e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/dgram.ts: FileTooLong \u2014 990 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 490 over it, 1.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d29d134da3352c3de40f66773a66f3a1936c722dad50acc362c3d5635f01ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http2.http2Dispatch: FunctionTooLong \u2014 http2Dispatch runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23e7c80a7ad6600e4680bdf1f721c850ae345b8a268d4163a51e5b1b3f72700"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: net.createNetBridgeMetrics: FunctionTooLong \u2014 createNetBridgeMetrics runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b139017a0ecc480eeac966fbf2b5ea29010d36f28638e591ef4b0f73690ede59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::http2::poll_client_http2_streams: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::http2::poll_client_http2_streams 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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0113f41b72d3451c3feaacbd3cbff61f52a74dba31c079f56e6ba0444fb4de7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: VmState: TooManyFields \u2014 58 stored fields beside 3 methods. The bar is 30 stored fields; this is 28 over it, 1.93\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":"crates/native-sidecar/src/state.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29ed8eb47800fa30be600754f641bab99dfe4fe7578fe46ac2e94af20cfc742"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wasm-runner.decodeSpawnActions: FunctionTooLong \u2014 decodeSpawnActions runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"18216895dbf801eef3ceb859073f8c7ac710be5f6fea922c347be71109633e60"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserWireDispatcher: ClassTooLong \u2014 763 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), 36 methods, 2 blocks, lines 55-1126. The bar is 400 significant lines; this is 363 over it, 1.91\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":"crates/native-sidecar-browser/src/wire_dispatch.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda1b1b08706e998cda4b7790c1eb645ad08f6a8336ca3ce811b52101c5fd992"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/crypto.ts: FileTooLong \u2014 929 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 429 over it, 1.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccf6a0957b676b4f3162f1e2167f33a12c65f717c4c6cb4faa65ee8963de306"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/request_operations.rs: FileTooLong \u2014 916 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 416 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/request_operations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a786890f59e42b32d4a83130527d0597a62a7ca7f0435cf76068ed1be14b68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/process.ts: FileTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 405 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f325c22c4b97bf9c2db62d92e637f60d6cbb4a3b45d061a3b3995ce44c88e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 899 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 71 free functions. The bar is 500 significant lines; this is 399 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/wasi-ext/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb97285e15621705aaec8e16e5054ed73d45d8567c66e7fa23c07632cd12804"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/wire.rs: FileTooLong \u2014 883 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 36 free functions. The bar is 500 significant lines; this is 383 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/wire.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56211eea846d324d1bbcca45e728d286a6e8e9aa03847f6890f89fbc2790239"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentOs: ClassTooLong \u2014 704 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), 165 methods, 2 blocks, lines 128-1197. The bar is 400 significant lines; this is 304 over it, 1.76\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2cfb5a70ead1eafef3b2c8865ef5a9531d6fa8e775338487b34d20a8e78d8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_execution::python::python_javascript_sync_rpc_action: FunctionTooLong \u2014 agentos_execution::python::python_javascript_sync_rpc_action runs 173 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 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"42af8920dc9f097d1e15f4808d677ca9f8e121ddd392059fb22978ae7ac0997e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.kill_process_in_vm: MethodTooLong \u2014 kill_process_in_vm runs 171 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 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"088d8b08ef8a4ef785bcbfe5bc137cd948cf1f5fceda82c7043cb4bb834da208"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeSidecarKernelProxy: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f12c87780ee17639e0869fcf7165abd7088aedac179fcf484392adffd3d4cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request: FunctionTooLong \u2014 agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request runs 170 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 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dace25af0786de7c255ef3379206baa543db6505bee53363a6f7a05ec2076b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecarKernelProxy.createFilesystemView: MethodTooLong \u2014 createFilesystemView runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb06f58df12a886d88c6f9e441fe1bcc8e5353fff658dfd3812f01a55dd8bf6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 846 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 346 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd997aabe4ac258db4b7a7795f3fc0e78bf0855ac5071a8c1f3533334519bb59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime-driver.ts: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a18e5cb581fd9701bf68d937c6440aaaea0f9bdcdf13c29f39b4156902d699f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.vm_fetch_legacy: MethodTooLong \u2014 vm_fetch_legacy runs 169 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 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"725ba29ec95c1716f24ddbc52f88c7054f254cd2d50445a65430cf82f090e20e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::vm::vm_resource_ledger: FunctionTooLong \u2014 agentos_native_sidecar::vm::vm_resource_ledger runs 169 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 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8309a24325371c498bb41579561bb1272d8c8131ff0106a1ab43d4c7257846c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::tls::spawn_loopback_tls_transport: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::tls::spawn_loopback_tls_transport runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"206c34a8f70b39ede89e6218231d2fccdb059330e25d93b209987ffd0087536d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::launch::sync_host_directory_tree_to_kernel_inner: FunctionTooLong \u2014 agentos_native_sidecar::execution::launch::sync_host_directory_tree_to_kernel_inner runs 166 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 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f283b04a23d7e8bd33c1d997dbb285ffa302404f196b9224130fe50a0c6545e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::python::rpc::service_owned_python_http_rpc_request: FunctionTooLong \u2014 agentos_native_sidecar::execution::python::rpc::service_owned_python_http_rpc_request runs 165 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 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/rpc.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2d649327be46f211cec81898f4d2d9326782e622cddddfd1439338b4ae467f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/shell.rs: FileTooLong \u2014 821 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 78% of them inside a single declaration: AgentOs (2 blocks, 292-1249). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/shell.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48a1a6b8709a22891256d05a55a9f4c39bacd96879885e594e998d06611d1e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActiveProcess: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"527a8e75299fd92e0d5b857d5f4d890709686ec60c10ad0199424ea25d2794f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::http::start_kernel_http_fetch_stream: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::http::start_kernel_http_fetch_stream runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1356bd17c58d577a177291df968c1dbbd2ce690b58450be3cc918a2c7913cf2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 811 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 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-baseline/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82105edc7c9a51c85154b32c4b81d933930bb29f6f859930400e2ba5aa867608"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/wire_dispatch.rs: FileTooLong \u2014 811 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 94% of them inside a single declaration: BrowserWireDispatcher (2 blocks, 55-1126). The bar is 500 significant lines; this is 311 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-browser/src/wire_dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3cb4a6c8a693f18bbd852bc3f8f9d68409e9c11d9e5fe82963d110aabc7d61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::tcp::spawn_tcp_socket_reader: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::tcp::spawn_tcp_socket_reader runs 162 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 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bbb62079bbac54a8b782db1fb7d67b81166f1c2ee2894798e46e354afba9ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OwnedPythonSocketService: ClassTooLong \u2014 645 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), 7 methods, 2 blocks, lines 346-1219. The bar is 400 significant lines; this is 245 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"777a747ec03a051c04cb51a0a90d63c3623366ffa62f5ce60c51a27b765a48eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/coordinator.rs: FileTooLong \u2014 803 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 303 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4563c8a941023cd0ea5e5b8ffb879d6d985f8fc75bca2e47f717904de4ebac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SocketTable: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"571f8c51fe1944e15c31b62a2c7e8accd59a4e07a0624c789186add155149705"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.dispose_vm_internal: MethodTooLong \u2014 dispose_vm_internal runs 160 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 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38ef007c146bdc7512e3db2132b409557642781c5544e9ff07560f71c0ee901"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_diff::diff_files: FunctionTooLong \u2014 agentos_diff::diff_files runs 159 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 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3d6b58ce630a97cc23ba61c104554fd875b09d328237e2a7a7ad8e61002397"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentOs.exec_argv_process: MethodTooLong \u2014 exec_argv_process 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":"crates/client/src/process.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8166922a949422ad9d3bf33e1d8944c4b5f8b7df3092d4fbfd80959607ee1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/builtin-modules.ts: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4844e11b888088972a73e266ad3e13bea166f1d9060f6fa3c6438f138056f1aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: posix/root_fs.rs: FileTooLong \u2014 775 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 275 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/root_fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3da8d317777545da6cad300338408ac96484b14e050ff44d52504d68d62a5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/sqlite_metadata_store.rs: FileTooLong \u2014 771 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 271 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/local/sqlite_metadata_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34be16747ab2d44fa05b74067cd70dc4c274960533e194f168326a41ff1ef55"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChunkedFs.write_chunked_range: MethodTooLong \u2014 write_chunked_range runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b7a170872e25338a225d1258a38e6664825c78cead3c06b15bf338b3d1014"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentOs.read_process_output: MethodTooLong \u2014 read_process_output runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ae66cee9bab89643721b096a1235043b90b933dee982a8c6a2cd63a9413576"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HostDirFilesystem: ClassTooLong \u2014 610 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), 26 methods, 3 blocks, lines 659-1538. The bar is 400 significant lines; this is 210 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a552679261059e2c365ea2c1b47cdabfd43340878dbe54416e337c1ff0dd5b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/google_drive.rs: FileTooLong \u2014 752 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 252 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b2e13597ed58549e73b608753311d0ce17834639648655e2e54c4e4dc01e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _NetSocket: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"71afc58b077eb6471cd8a83c89ce350811e43583bfcf9a4f3de86a7c11c879b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: readdir.bench.main: FunctionTooLong \u2014 main runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/readdir.bench.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5c79e606bab3cd6437482039a92123c541a7fb63a0eaa1d8eae93ec1ae8501"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_sidecar_protocol::protocol::to_generated_request_payload: FunctionTooLong \u2014 agentos_sidecar_protocol::protocol::to_generated_request_payload runs 149 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 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fac7ede5eea6c9c98146d3bcfd4a3ad1bd2c26357c1ec9f7fde27a7002b918b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/embedded_runtime.rs: FileTooLong \u2014 741 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 241 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/embedded_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c018ebe27b38257a2a67428fbb277b4bd3ac76698ce9a207ea9b91e5fa50bdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_sidecar_protocol::protocol::from_generated_request_payload: FunctionTooLong \u2014 agentos_sidecar_protocol::protocol::from_generated_request_payload runs 148 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 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"5160415c50e3e8c14e79eaf4d405666c72f75145a3c99087477451178be1eab7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_v8_runtime::ipc_binary::decode_body: FunctionTooLong \u2014 agentos_v8_runtime::ipc_binary::decode_body runs 148 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 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/ipc_binary.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c537d2741c03fb6c473d04105b4ed4404b91dea08ce4747202f4230c08865de9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime-driver.handleSyncBridgeOperation: FunctionTooLong \u2014 handleSyncBridgeOperation runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6054d7e86ee1168de91a4ee60df345c07eb50606b4a94f18810dc4fce5faf42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JavascriptBenchmarkReport: ClassTooLong \u2014 591 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), 14 methods, 2 blocks, lines 126-937. The bar is 400 significant lines; this is 191 over it, 1.48\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":"crates/execution/src/benchmark.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe7b8aba4c1f3c82e1b0b04660e8f282bf7a72eb705e7259bb7a875c80bc17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javascript/sqlite.rs: FileTooLong \u2014 738 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 238 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/sqlite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7338d2eb2c30e9911f2785a362d477a3a824005d908fb7fc3c0568ccc3313594"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/signals.rs: FileTooLong \u2014 734 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 234 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a838b437182d62f0591cacf2f4ba65ab44c4190d222ccb6ea3c70fab5950bdbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DgramSocket: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"37edf129d2486fcdd0c8786d1553eb82298dfad10c8594c3bd111d5191d8ceba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientRequest: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ff5fcc4bc172e97f9e6208177b5e7147aa49ae45647b561abd08d2ccb69afd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/process_event_broker.rs: FileTooLong \u2014 733 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 233 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4a95d4b6fe8832eb030b16f630d039517887ce2c2cba786f2db279ff67298a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentOs.open_shell: MethodTooLong \u2014 open_shell runs 146 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 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/shell.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb27b1e2822a639a2c29744d5868aa464cf263f98440fe1a0ebc3e3b9ea58d55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: python-runner.createPythonFdRpcBridge: FunctionTooLong \u2014 createPythonFdRpcBridge runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"54976a7e5b43ecec0cde552a41835e74464dda4655d860db1ef68733322c3d14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WASI._fdRead: MethodTooLong \u2014 _fdRead runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9619bf4ea6e1922ae797861eb646e3275c46fc00c0453f7dd49a5a4bca976e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::dns::dns_resolution_to_node_value: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::dns::dns_resolution_to_node_value runs 146 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 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/dns.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f3234c318fca6bf73a5937a442eb83690177a1a510de697271de6fea3d18d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::http2::poll_server_http2_streams: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::http2::poll_server_http2_streams runs 146 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 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36fa2cf2291f057fb4e43c7355fb77f8b6513428049fea4a1c4255703f6054e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_sidecar_protocol::wire::legacy_limits_config: FunctionTooLong \u2014 agentos_sidecar_protocol::wire::legacy_limits_config runs 146 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 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/wire.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d46f0f9adb3f79a3aad5dede909f7eba1c9ff663b1e17912eef29c51fda561"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DgramSocket: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 182 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b148581332cc6a75f8b6f5039ad1497171f9d1215f54edb7443f0cbc05a9ebc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_v8_runtime::ipc_binary::encode_body: FunctionTooLong \u2014 agentos_v8_runtime::ipc_binary::encode_body runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/ipc_binary.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13775452549869e7db9d6a37ca8b70ddb9e84a4e9e785b77bcd22d4c267dd7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActiveTcpSocket.upgrade_tls: MethodTooLong \u2014 upgrade_tls runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78790c3fe388e8ecfcfdf855303044cf19df0f9604e1a1b773b337b13dc856a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::crypto::service_javascript_crypto_subtle_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::crypto::service_javascript_crypto_subtle_sync_rpc runs 143 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 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e95741b6962ec5e2aacf2037d7cfbec67a9e28c5628d91272e217e67c1df63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActiveTcpSocket.poll: MethodTooLong \u2014 poll runs 143 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 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa88cdf828bb51de2afb65ef021b80b29c6680d3c3a8437c1b26624d215667"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BridgeCallRegistry.settle: MethodTooLong \u2014 settle runs 143 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 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed4acebdf3a5bd7363dd37cc7a26ccce5f137d21e57a2c3135ce4aee38efded"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fs.rs: FileTooLong \u2014 712 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: AgentOs (3 blocks, 319-1096). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"545a248aa6b22e5613e0bc86e279e707b31d98a26be794520a81ef46fe5b9cb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cron.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). 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":"crates/client/src/cron.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25880dd3de8bd425756bc5e65adfc7fe7e2aae76fa63194fd754ce1927c438f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::vm::link_package_owned_with_pin: FunctionTooLong \u2014 agentos_native_sidecar::vm::link_package_owned_with_pin runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c943b8a53b1e05311642a9fb3d5eec6f422195d136622aa6f6d40d08722033d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fairness.rs: FileTooLong \u2014 700 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 200 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/fairness.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7e418af04bf6cf86d4ad01c04d87f3dc73c73aa01f1ab006cbce078235cd3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::unix::spawn_unix_socket_reader: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::unix::spawn_unix_socket_reader runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96a143a53a7503f8fe088d0c11e0606ef49a3d4b33a7b0ffdcd901ebff2c77f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WASI._fdWrite: MethodTooLong \u2014 _fdWrite runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9df837afe008c76328b6f29df4a6a1907a941f6099900882398f3dae505da60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/node-runtime.ts: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed02d140bc60b489ad2467b09c889175403d470f651a979b8797b0807c33f637"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index.ts: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/typescript/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3644a3feb64b4c80caf5ed07095cc0e6f46403a91ab5d406b221cb63b911d52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_sidecar_protocol::protocol::to_generated_response_payload: FunctionTooLong \u2014 agentos_sidecar_protocol::protocol::to_generated_response_payload runs 136 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 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4d20c9fcdb0bf62a18077d8ef7616e080a19dc00abb7a3ffee8de1f2424ccd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: child-process.spawn: FunctionTooLong \u2014 spawn runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"45980932877a6ed6aba7e2990d3587be267250e39ecd24a351304e0c14b3fa5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_tar::main: FunctionTooLong \u2014 agentos_tar::main runs 136 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 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3ce88c32841728bb81fd7f10d1953c5a2c1ddef63a9f0730b0928b796129a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 676 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 176 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8c67b6dc79ebeb0c9a288173501c4f96b63fa4aaaabaf41ba09792cc795c69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/request-payloads.ts: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 167 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/request-payloads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"881f16eb3c2eb1a8abf2fffa175d38972c89b7d9cd73bb1d6c2fecbb0f9cfa71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: NativeSidecar: TooManyFields \u2014 40 stored fields beside 248 methods. The bar is 30 stored fields; this is 10 over it, 1.33\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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4acdfac856d2e7df9c916b496448087c45d76cf7c78b892b288518f6da32c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_execution::v8_ipc::encode_body: FunctionTooLong \u2014 agentos_execution::v8_ipc::encode_body runs 133 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 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"481dafa100495ef93795848a3fdd532d9f7a007cecd2ab34a8074169cf5fc991"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-all.main: FunctionTooLong \u2014 main runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/run-all.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6321277ae6592d7c046933c36bf9f1fdfe1d26f9f5ce7da16ba2fcd37e74cb88"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PtyManager: ClassTooLong \u2014 527 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), 29 methods, 3 blocks, lines 294-1042. The bar is 400 significant lines; this is 127 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c573f57a42407eb143a3814a60d9a597d862818d392cb2eb05d6ea7eee4543d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_execution::v8_ipc::decode_frame: FunctionTooLong \u2014 agentos_execution::v8_ipc::decode_frame runs 131 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 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8c32168f3eebc2dc9940256369608469e157608ffdbedd65455df80eeb4769"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::crypto::javascript_crypto_call_dh_session: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::crypto::javascript_crypto_call_dh_session runs 130 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 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed9f3d9762a3220da1ac2c8f6239eb99977fbca5dd0f4abfd84295d027fbb65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.handle_python_http_rpc_request: MethodTooLong \u2014 handle_python_http_rpc_request runs 130 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 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/rpc.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2233f76c41b06f2bafcf87045030796ccef6caff7508fac7f9c63feb0cd80156"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_execution::benchmark::write_benchmark_workspace: FunctionTooLong \u2014 agentos_execution::benchmark::write_benchmark_workspace 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":"crates/execution/src/benchmark.rs"},"region":{"startLine":2887}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb99bc30041efe2840d66c197543981f3abc467736997d69400f531c605c518"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::crypto::service_javascript_crypto_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::crypto::service_javascript_crypto_sync_rpc 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":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbf0722909281190766b657f90ae876fa213c43c2cf9ca92ac4921bf08f1598"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_sidecar_protocol::protocol::from_generated_response_payload: FunctionTooLong \u2014 agentos_sidecar_protocol::protocol::from_generated_response_payload 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":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c6cf6e9f24afa77a9d0a69cf001c04c6eb7ce9a4f90a733de526e3dbcf4a89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/wasm.rs: FileTooLong \u2014 644 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 32 free functions. The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-browser/src/wasm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0b2a6d3cc4dc3f2df7c49e26c6f95d8fc0b564ad28e2734ceed80d9e8513c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 643 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 143 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8148253be57182c0954f80396e482c63b3128bee33b18bdd7801c792e13e72ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 642 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 142 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c171a5ba3d89276a1cf3bb0456e7fca4eb2d1a8c289c84dbb5d48b99146e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreparedDisposeVm.execute: MethodTooLong \u2014 execute runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe085f2d2ebff8e8491af4e558d25ccf91edccf9045373830178c7caf240d43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.waitForRawHttpResponse: FunctionTooLong \u2014 waitForRawHttpResponse runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2198}}}],"partialFingerprints":{"codehealthFindingId/v1":"51606b96300b6424d25f2f6a7142f6c04290f02db371093f0435398108496d51"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClientRequest: ClassTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 107 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"96efd0cb0aa90a2c835b04b5bb1a1eea5a696ce911872810a3a508edae910544"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.handle_execution_event: MethodTooLong \u2014 handle_execution_event runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba6207a0e4acd6fdec4cab4f24a0769d61a275cc5bc17360bf5e85c6b4f2cf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_v8_runtime::embedded_runtime::dispatch_runtime_command: FunctionTooLong \u2014 agentos_v8_runtime::embedded_runtime::dispatch_runtime_command runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/embedded_runtime.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"557170271b09cc61bfc3e8cbb33e45a6ec295c4b846f465415bf27644f8d48c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pipe_manager.rs: FileTooLong \u2014 626 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 76% of them inside a single declaration: PipeManager (3 blocks, 161-828). 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8316873defb70b4bdf2fac954ef729feca933a188fbfa16bd5d076a69ec5e7d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.complete_public_execution: MethodTooLong \u2014 complete_public_execution runs 125 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 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"be051ed0631f538c6a5740120a04565987b86f0913ba5186c2be64102b15d4d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BridgeCallContext.sync_call_response_with_max_response_bytes: MethodTooLong \u2014 sync_call_response_with_max_response_bytes runs 125 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 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8716fcc2a855133ae6aa0baa2f356e92c707f777726c36fed58f0f4dcf697a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/stdio.rs: FileTooLong \u2014 622 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 122 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/stdio.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2683971642d10573d115988478881b7bcb78c7e79ca05541b0e6550787aecf63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_v8_runtime::execution::execute_module: FunctionTooLong \u2014 agentos_v8_runtime::execution::execute_module runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b7e39699a04c0764b9b9f2ec87ad6935205a9b1edd952443c6a1412d2e5dc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/response-payloads.ts: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/response-payloads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73f189f389c63a7bc5a30b37c92cf4bb56201edd03748fbcca4a95037a94cc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ActiveTcpSocket: TooManyFields \u2014 37 stored fields beside 27 methods. The bar is 30 stored fields; this is 7 over it, 1.23\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":"crates/native-sidecar/src/state.rs"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8622cab22511f00ab91d1a85087102c1b44130bf0edc7f736411bd4fe5b158e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: console.installBuiltinUtilFormatWithOptions: FunctionTooLong \u2014 installBuiltinUtilFormatWithOptions 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/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4800dcbd6b5ef1d7a12640814d58d132117cfad02eeaef09635db401a8e5d74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentOs.process_tree_records: MethodTooLong \u2014 process_tree_records runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6322391196dae7b87fca2ff9c9c8d34b756c55512a485ca4b91cdef7a5bdef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_shims::xargs::xargs: FunctionTooLong \u2014 agentos_shims::xargs::xargs runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/shims/src/xargs.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6ea10480654a23be93a3699718beb4af4ac805b902d3b4d50e7abe350aa204"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JavascriptBenchmarkReport.guidance_lines: MethodTooLong \u2014 guidance_lines 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":"crates/execution/src/benchmark.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6139c16a24ae2c977374491ec369cd6b26008462587df7bb9cb1a88739ca07d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProcessFdTable: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/fd_table.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d82b011f8ca204a842deeabb5043d423eb33e2e70a78616c2ef1923ba0d505"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserWireDispatcher: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-browser/src/wire_dispatch.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7770ac5dc5ed7f65b8b5168704cac577238c52edf423cb9efcf2013b6217bce3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionManager: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f3e1937aa899918b85db6be36c7fd4f8404f235f5e99bd736ff4d47a91cf7a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServerResponseBridge: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2953}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b62514787417735c87a06a9f5c5460743bfb1c1b55b37fc97f98d1f23decd15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqliteMetadataStore.persist_commit_write: MethodTooLong \u2014 persist_commit_write runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/local/sqlite_metadata_store.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5e2eb770bdba9096a07b1d82b03ad1423f90b04e0defade59e06158d316f16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/permissions.rs: FileTooLong \u2014 598 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 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/permissions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8975513425900d84532b9facbfdd45e527beba606563bb88b861e7a92305d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PipeManager: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 25 methods, 3 blocks, lines 161-828. The bar is 400 significant lines; this is 76 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb85a4661790fbec503cf02263ac5c27953b312db7d5b2717b7fae10a0d9e30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_vfs::local::sqlite_metadata_store::load_dump: FunctionTooLong \u2014 agentos_vfs::local::sqlite_metadata_store::load_dump runs 119 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 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/local/sqlite_metadata_store.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e48613b1eb364df9841f68116d2b3eb1cefaab09e26135304ac6c2e24003e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::crypto::javascript_crypto_call_ecdh_session: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::crypto::javascript_crypto_call_ecdh_session 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":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"366858b806858646dc7dfab271085ef5717445ac272b88c19be64f4adfec8594"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActiveProcess.new: MethodTooLong \u2014 new 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":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d49ccf0b9d354c5896a9173ea6113e4ae1f17ac7546f1637cd4dc25cd401d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecarKernelProxy.exec: MethodTooLong \u2014 exec runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7882fa623fdfea41cd506316eaff5a1caf06d9241eea27a319edeb07d4e4bc90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extension.rs: FileTooLong \u2014 589 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 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e1adf260661ee994f6706076da3b1e954feae9dd2a631b3ca4f6b4ef4ab9dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/readiness.rs: FileTooLong \u2014 589 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 65% of them inside a single declaration: SessionReadyBroker (2 blocks, 246-739). The bar is 500 significant lines; this is 89 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":"crates/runtime/src/readiness.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6da6ebb9e87b61e44f6d23adee81a1b755a50454dd1b14e0178608c4d9405d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wasm-runner.wasiImport.fd_fdstat_get: FunctionTooLong \u2014 wasiImport.fd_fdstat_get runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8067bc58b1de424b31115d0cefd237dd9de35834ae9d6d03f61da94d1f4f672"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resolve.resolveSide: FunctionTooLong \u2014 resolveSide runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/footprint/resolve.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f621d5ebcea15b22d871e549a23cb9168477364139b32902c9ad4b84bbf98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: agentos_native_sidecar_core::frames: TooManyFunctions \u2014 35 free functions. The bar is 30 free functions; 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":"crates/native-sidecar-core/src/frames.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27fa28d395f79dccabaafdf52079dc3fcec359d049b5d3acd6555a71cfededb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: focused/fs-sync-ops.bench.ts: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/fs-sync-ops.bench.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5893d2a98b851f8f22e2bbab8a75d7edb926af6c647583c05f55a4d32b62e7ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserRuntimeDriver: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 64 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"952cdfa5e2ab8750f3b9b5b090d78a2ccf2c928207fc36335c1317923899f4bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KernelVm.fd_socket_recvmsg: MethodTooLong \u2014 fd_socket_recvmsg 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":3908}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1702a84fded6c18ea3de42c8b02c2f686391233b2f9e59b518ea5066832cab4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::http::read_kernel_http_fetch_stream: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::http::read_kernel_http_fetch_stream runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a477ab7f9024baeb387b215ff2e4ba67ffeff7e975db79bf96c5846c108a95c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: families/ecosystem.ts: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/families/ecosystem.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb50a5ea151bcfbf73a8a5b525041ef423394589f8956b9a285d3ea8f5b79e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KernelVm.fd_open: MethodTooLong \u2014 fd_open 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c518834aa1ef763d7ad1480e8f90098d2d033ef3987b81c2f4da31a3e9b8cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PtyManager.read_with_timeout: MethodTooLong \u2014 read_with_timeout 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":"crates/kernel/src/pty.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0449399807a9e73aac16c7cddee68d61ae8248338eb161ce14b23a37c0dd09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserSidecar.start_execution_with_options: MethodTooLong \u2014 start_execution_with_options 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":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"719fe8154b87ef38ec763bddb2e46dcd986d067288d69c0d7d3c655a19b7d6a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WasmExecution: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d304901299514ac391613e8c85627d7fb8f91e56254dd7185b2ccdf0dbf885"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::http::dispatch_kernel_http_fetch_with_socket: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::http::dispatch_kernel_http_fetch_with_socket 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"12640cb2723804fb08cfcbd3c5476ebb65ebf8f6f3b84b7c89fe432490470578"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::filesystem::mirror_guest_filesystem_shadow_after_call: FunctionTooLong \u2014 agentos_native_sidecar::filesystem::mirror_guest_filesystem_shadow_after_call 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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a3ee76d623453b903fd69839769fe18dc26456be69d11f696ba85b04b59596"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.parseLoopbackRequestBuffer: FunctionTooLong \u2014 parseLoopbackRequestBuffer runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf219abd1a03e91a8d2cd5162ab220355433b02aaecf5f2c6d0e7e85dc91a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wasi-ls-scaling.bench.main: FunctionTooLong \u2014 main runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/wasi-ls-scaling.bench.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1220b4171ca7db462c492462c34d06b3ab9f6491c2519235b860f26063e1f94"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ServerResponseBridge: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 48 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2953}}}],"partialFingerprints":{"codehealthFindingId/v1":"a265a927978013e90872633e72fc36f7136a5f13e144ec568a85596831a9501b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::language_execution::typescript_check_runner: FunctionTooLong \u2014 agentos_native_sidecar::language_execution::typescript_check_runner runs 112 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 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a8b3baa9d9f26a1781f757867185271d7cc7036d9b4d2998d3cd519fd81888"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.getRequireSetupCode: FunctionTooLong \u2014 getRequireSetupCode runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":4764}}}],"partialFingerprints":{"codehealthFindingId/v1":"282c07672bd72bfdb06f8ea917f619772b2231b9bd2ccbc732699b5f1d8a39ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: focused/readdir.bench.ts: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/readdir.bench.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3f8c2d61f0eacfcf8e2e946e969ec92c451e2f15d80515e0d850934359b1f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/build-v8-bridge.mjs: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-v8-bridge.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b144745f92fe802935622e53ba9ed6d480a4df3f5ffa9ca7ec8f24317a74ea0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mem/metadata_store.rs: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: InMemoryMetadataStore (4 blocks, 14-731). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/mem/metadata_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e72083181a6a47c2eada1f8d129287f07c30eb04145716683eed825c3dc538"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JavascriptExecution: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b0cf7179c0892e62ea38ee57f1ee682ee0f88f0e01638693ec8dd750485472"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProcessTable: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/process_table.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2fa7a4f3bc73cf13414a628e3d312c5e6c8343bf144a1398a017903989365f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar_core::limits::apply_reactor_limits_config: FunctionTooLong \u2014 agentos_native_sidecar_core::limits::apply_reactor_limits_config runs 110 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 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69165ddc7aa9fb974ef75c07fa59b3493c977a3e8fc25541160bdb500d1af5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.expire_public_execution_deadlines: MethodTooLong \u2014 expire_public_execution_deadlines runs 110 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 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"55311796a41aacf9501d9f46259272095598c4089d8d643301cf8157cf29ea05"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox.createSandboxHostFunctions: FunctionTooLong \u2014 createSandboxHostFunctions runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sandbox.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c8a0e6013f4ebb480e6bd67a122d864512a38371091d29b389d8a678c5c2f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ls.bench.runCase: FunctionTooLong \u2014 runCase runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/ls.bench.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6d8038288d4f6178509bfe4f592898dff57ea2a2ea353f3a3bef7eb229adde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wasi-ls-scaling.bench.runCase: FunctionTooLong \u2014 runCase runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/wasi-ls-scaling.bench.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"031319fd224a821cef4196d9d3695f73f4303b725087b0c0a6d95198aeaba93b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SandboxAgentFilesystem: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 3 blocks, lines 52-637. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/sandbox_agent.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1a69bd5c7492e1bb7c06f2a9168493a2b2a4d7a8f456d5ccce774250433326"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/host_functions.rs: FileTooLong \u2014 546 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 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/host_functions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8d0a7361dee2e1af5c50fa0d41c18eac4e149bb98a3e23bd963937ffd3c179"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vm_sqlite.rs: FileTooLong \u2014 546 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 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm_sqlite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f9821b53434c68892a9e78483d79e31199083a8b5b2fa6f379c024da8a4df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OwnedLanguageSidecar.expire_public_execution_deadlines: MethodTooLong \u2014 expire_public_execution_deadlines 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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"d431a71917c944d457ed9ee765448841e4e873b65d510529607ba182c9b5c0e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: net.netSocketDispatch: FunctionTooLong \u2014 netSocketDispatch runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa98ca876fe9e663e38645e5830cd012c1246cdf5d6d355b84c3e110a99a9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: python-runner.createPythonBridgeRpcBridge: FunctionTooLong \u2014 createPythonBridgeRpcBridge runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"154e26bba43431d4e04bb98658d644ac2483ca3a250109ea2a5c95cdf91133dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: net.normalizeListenArgs: FunctionTooLong \u2014 normalizeListenArgs runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"362301a5c3be97afa8c95d861cedb6f2a7727b1051375769523f666058f8cb4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: posix/tar_fs.rs: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/tar_fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148c03a641afdeea07f87262e618eb18c4470d17805801108ccca1d0ec7d473d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_execution::benchmark::run_scenario: FunctionTooLong \u2014 agentos_execution::benchmark::run_scenario 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":"crates/execution/src/benchmark.rs"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0372883b79e0a06cd08e7ddbcc751c87b84bca576898ad8f464671576d1cb518"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActiveTcpListener.poll: MethodTooLong \u2014 poll 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb8cc0fe15a8558652dea548be3d8c8b70e030859cbdf6f1ce41d1be11b3eb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_vfs_core::package_format::pack::pack_aospkg_from_tar_bytes: FunctionTooLong \u2014 agentos_vfs_core::package_format::pack::pack_aospkg_from_tar_bytes 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":"crates/vfs/src/package_format/pack.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f2be2fb626349ed00cb79ea91fd31ff06d44c8c548c74884fcdef4310be8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ipc_binary.rs: FileTooLong \u2014 531 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 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/ipc_binary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"397278e5392df927680d9f9fe1ee8866627221892c12b1acae3a69f43615cc3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BridgeCallRegistry: ClassTooLong \u2014 424 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), 15 methods, 2 blocks, lines 399-984. The bar is 400 significant lines; this is 24 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae90dbac95e51ff7d31cb5573b5a8eca9faf41f7fc8af145da9197e73c9121b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::dns::service_javascript_dns_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::dns::service_javascript_dns_sync_rpc runs 106 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 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/dns.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979bc30abac91b38d69b1457a491c25999be1f7a9889fc6d91037c17ee9f039"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::process::collect_javascript_socket_port_state: FunctionTooLong \u2014 agentos_native_sidecar::execution::process::collect_javascript_socket_port_state runs 106 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 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d2a45876824756672887129d0d1bf5faeceb922f7d1c6964613d1bfba225b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::filesystem::mapped_runtime_host_path: FunctionTooLong \u2014 agentos_native_sidecar::filesystem::mapped_runtime_host_path runs 106 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 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ee40aa77953048e2a8898c1640fa4b4c9f5ce8f55043c881459ade3b36307d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_v8_runtime::execution::has_probable_esm_syntax: FunctionTooLong \u2014 agentos_v8_runtime::execution::has_probable_esm_syntax runs 106 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 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"349592ec6f71704b1b52f4a5658d9ded20a9cef59b3a3743a4a95791620c5951"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host-functions-zod.validateSchema: FunctionTooLong \u2014 validateSchema runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/host-functions-zod.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0d0054ff637ce64333e3fabe91526b3922725cfec8a2f38d82a1b287ab02c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.ts: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shell/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4503f3e4003f1385478f0ce75be249663fb5d0b73015f0a1338d2e53eb43535"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar_core::limits::apply_resource_limits_config: FunctionTooLong \u2014 agentos_native_sidecar_core::limits::apply_resource_limits_config 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":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"010154a035bb92f03f380bf8165d960994a5127610781090432102d6c5f6e19f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::sqlite::service_javascript_sqlite_sync_rpc: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::sqlite::service_javascript_sqlite_sync_rpc 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":"crates/native-sidecar/src/execution/javascript/sqlite.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3743b85c7903c51b1265a58f205a1f7e8d6972eb23760f3dda09d10a59c7475"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessFdTable: ClassTooLong \u2014 419 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), 36 methods, 3 blocks, lines 721-1335. The bar is 400 significant lines; this is 19 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":"crates/kernel/src/fd_table.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4acc1959746861a16976284a54576b8eb8552397380aa9bef95c445c0924f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChildProcess: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 19 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":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e39eda8b0d99aa89e59c54a9c76d30e884c1b702054bb8ca39267cee7dfba5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessTable: 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), 33 methods, 3 blocks, lines 311-975. 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":"crates/kernel/src/process_table.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"90af5bfeffe093617fffdfd50664a8298cb237c14aa7f745e5c895a3707346cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::stdio::finalize_protocol_drain: FunctionTooLong \u2014 agentos_native_sidecar::stdio::finalize_protocol_drain runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2951}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ad9d3f958f7f22cb173aa0ae199cba8bb7de115bd5c55265776e077f45e816"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::stdio::finish_request: FunctionTooLong \u2014 agentos_native_sidecar::stdio::finish_request runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3897}}}],"partialFingerprints":{"codehealthFindingId/v1":"986f99befc667b986502881c58ed4a3261d9abad0d4333f404ca70f7fbad3d36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: families/net.ts: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/families/net.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a38686cd7cab243427e05c2d3848d270ed60dfc97898620661f1292ef6f458"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::network::unix::defer_vm_local_unix_connect: FunctionTooLong \u2014 agentos_native_sidecar::execution::network::unix::defer_vm_local_unix_connect 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":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24fed27244e6f79c841bf3a0673c982bc8952486166ac4c3dd1a278cf0587fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sidecar.rs: FileTooLong \u2014 513 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 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/sidecar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d336074e189c647a70a5f0f1f42f5732adb1f4b5a69661027cc4179a0d24e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BenchmarkComparison.from_reports: MethodTooLong \u2014 from_reports 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":"crates/execution/src/benchmark.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa17c3b8b5d6065010f6f1131786f197078241110b5066b2db0c2eece3abd71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSidecar.pump_process_events: MethodTooLong \u2014 pump_process_events 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ad41b4723bb8cb45d809a4077f31c3cfa831424e2bd957b09ce823fab0b183"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: console.createStdioWriteStream: FunctionTooLong \u2014 createStdioWriteStream runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbca218a551da8fb10c194cfe4dcc74dc8b0acb931acc819c6309dac75fed50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/dns.rs: FileTooLong \u2014 508 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 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/dns.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6f4dd493fb3461ed69e5bbef471f885f04ef1ba43a02fa9c14808bed69bd42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: python/rpc.rs: FileTooLong \u2014 505 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 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce86bda2ecdaf459fd1b0cc27ce85631597ab759f92a8e41e147dffa53e2188"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentos_native_sidecar::execution::javascript::http::dispatch_owned_vm_fetch: FunctionTooLong \u2014 agentos_native_sidecar::execution::javascript::http::dispatch_owned_vm_fetch 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab968e32ee38939d67c3872a96be1879c92545cef9acc53649b30837fac9ad46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/chunked_sqlite.rs: FileTooLong \u2014 503 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 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/chunked_sqlite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8504bc4864f29dbf88c5391f8dc651467be7fd3b8bd99c7e44fb232dffbd0498"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (154 shared lines): crates/native-sidecar/src/vm.rs:715-1065 | crates/native-sidecar/src/vm.rs:1653-1983 \u2014 These two members are variants of one another: 154 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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d344f09165d993c457a73981a9f7355978d0e0d22a4d9aff17ad8c44cd1e2911"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (129 shared lines): crates/execution/src/v8_ipc.rs:140-302 | crates/v8-runtime/src/ipc_binary.rs:415-601 \u2014 These two members are variants of one another: 129 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3decd37e71c0f4069b9191c52c9227280ea7035f0a5847970afb607ccfa151"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (111 shared lines): crates/native-sidecar/src/execution/network/http2.rs:351-597 | crates/native-sidecar/src/execution/network/http2.rs:607-790 \u2014 These two members are variants of one another: 111 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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dd37a48951136971cccc3585aee86302ac8465fafb0a6647e0f9944d58f9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (104 shared lines): crates/native-sidecar/src/execution/process_events.rs:1042-1166 | crates/native-sidecar/src/execution/process_events.rs:1589-1750 \u2014 These two members are variants of one another: 104 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":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb0fe1705387d80b144e23348181ff9a8fa73fcb8b048626c37add2420ae70"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): crates/native-sidecar/src/execution/javascript/http.rs:741-929 | crates/native-sidecar/src/execution/javascript/http.rs:2532-2654 \u2014 These two members are variants of one another: 69 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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cea4dae994dc9c716dfd26fb5e4144d133547fb6082f248a10447af4b7b8f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): crates/kernel/src/pipe_manager.rs:526-638 | crates/kernel/src/pty.rs:540-710 \u2014 These two members are variants of one another: 54 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc9a99a2e863de3eca78ca4d9e9773bf79fd0b958417d422fffc9912f693151"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): crates/native-sidecar/src/execution/child_process.rs:5187-5272 | crates/native-sidecar/src/execution/child_process.rs:7976-8094 \u2014 These two members are variants of one another: 50 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5187}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d3cff3f705d0effe5fa3ee64ce95a370f3adce1238923a8660d2259f4b388"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): crates/native-sidecar/src/stdio.rs:4227-4308 | crates/native-sidecar/src/stdio.rs:4314-4386 \u2014 These two members are variants of one another: 48 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":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e0ada40821bc69d9ee166378839cc36c473361be3fd6c631b0491dd3e99b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/kernel/src/kernel.rs:2947-3020 | crates/kernel/src/kernel.rs:3250-3318 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2d108618c551d20602cee64737d7e66a7dfa97fe3e9e5cd92732882e1e2013"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): crates/native-sidecar/src/language_execution.rs:1091-1229 | crates/native-sidecar/src/language_execution.rs:2498-2645 \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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c80b68f54880920ec2817e9542082aec94b1a282cdacd6ae148faef4e30901b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): crates/native-sidecar/src/execution/process.rs:1843-1918 | crates/native-sidecar/src/execution/process.rs:1922-1991 \u2014 These two members are variants of one another: 31 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":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62af84bd9358a9cb29055fd9d062347c5fa33de7483d883982431de84308244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/vfs/src/posix/root_fs.rs:917-949 | crates/vfs/src/posix/root_fs.rs:954-980 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/root_fs.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39ddb67f49bb218ad30eab6c0c2c4cff8c96481950b68383679ec253ef375c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/native-sidecar-core/src/guest_net.rs:321-339 | crates/native-sidecar-core/src/guest_net.rs:432-450 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/guest_net.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d191393ef74cc0aef0d4f7e306ca10b08503abb6955358406fa3f3d0690faf9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/native-sidecar/src/execution/child_process.rs:7679-7709 | crates/native-sidecar/src/execution/child_process.rs:7716-7741 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a688b425f91d4cf727ccaf946084ebba39508ec6786b5aa29f37c1fc093164c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/native-sidecar/src/execution/child_process.rs:9891-9914 | crates/native-sidecar/src/execution/child_process.rs:9922-9944 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9891}}}],"partialFingerprints":{"codehealthFindingId/v1":"02017dbb72e4c2da163c40c84b140cd9abbaf93e0d9e6f9ebac906b3e450d68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/kernel/src/pty.rs:157-179 | crates/kernel/src/pty.rs:183-205 \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":"crates/kernel/src/pty.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"05663a46777764ac1e1fbdc01e9c15e56cc8a7b6d241a9d99638162aa03e3cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/vfs-store/src/local/file_block_store.rs:125-136 | crates/vfs/src/engine/mem/block_store.rs:38-49 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/local/file_block_store.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce82a0d415c4df888ae22338ec3d0cf4a2d80cfb5b1d6fa119f7b42e1cf8e616"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): crates/kernel/src/kernel.rs:3686-3737 | crates/kernel/src/kernel.rs:3749-3786 | crates/kernel/src/kernel.rs:4131-4153 | crates/kernel/src/kernel.rs:4161-4178 | crates/kernel/src/kernel.rs:4186-4210 | crates/kernel/src/kernel.rs:4274-4309 | crates/kernel/src/kernel.rs:4317-4359 | crates/kernel/src/kernel.rs:4367-4423 | crates/kernel/src/kernel.rs:4432-4472 | crates/kernel/src/kernel.rs:4562-4580 | crates/kernel/src/kernel.rs:4615-4632 | crates/kernel/src/kernel.rs:4640-4657 | crates/kernel/src/kernel.rs:4665-4682 | crates/kernel/src/kernel.rs:4690-4713 | crates/kernel/src/kernel.rs:4721-4744 | crates/kernel/src/kernel.rs:4752-4770 | crates/kernel/src/kernel.rs:4778-4794 | crates/kernel/src/kernel.rs:4801-4817 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":3686}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d4b975741beec762b142b21da72b57e08d79bfa220d2259239f5cda8ca4a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): crates/kernel/src/kernel.rs:2597-2621 | crates/kernel/src/kernel.rs:2630-2657 | crates/kernel/src/kernel.rs:2666-2686 | crates/kernel/src/kernel.rs:2696-2729 | crates/kernel/src/kernel.rs:2738-2765 | crates/kernel/src/kernel.rs:2774-2798 | crates/kernel/src/kernel.rs:5060-5165 | crates/kernel/src/kernel.rs:5199-5309 | crates/kernel/src/kernel.rs:5319-5345 | crates/kernel/src/kernel.rs:5442-5489 | crates/kernel/src/kernel.rs:5498-5542 | crates/kernel/src/kernel.rs:5551-5594 | crates/kernel/src/kernel.rs:5874-5902 | crates/kernel/src/kernel.rs:5967-6016 | crates/kernel/src/kernel.rs:6104-6115 | crates/kernel/src/kernel.rs:6369-6415 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"86036362047186ddb74589179895e483050547c55b1ae3830db6ceeba5cb207a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): crates/vfs/src/posix/overlay_fs.rs:1815-1826 | crates/vfs/src/posix/overlay_fs.rs:1838-1850 | crates/vfs/src/posix/overlay_fs.rs:1960-1971 | crates/vfs/src/posix/overlay_fs.rs:1979-1991 | crates/vfs/src/posix/overlay_fs.rs:1993-2004 | crates/vfs/src/posix/overlay_fs.rs:2006-2017 | crates/vfs/src/posix/overlay_fs.rs:2019-2031 | crates/vfs/src/posix/overlay_fs.rs:2033-2045 | crates/vfs/src/posix/overlay_fs.rs:2053-2065 | crates/vfs/src/posix/overlay_fs.rs:2067-2078 | crates/vfs/src/posix/overlay_fs.rs:2128-2140 \u2014 These 11 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 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c68e3fdb3776be7e6b93367f36f58cff7c965df55e98877d1c20c6c199413"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/kernel/src/pty.rs:767-801 | crates/kernel/src/pty.rs:814-880 | crates/kernel/src/pty.rs:891-903 | crates/kernel/src/pty.rs:920-934 | crates/kernel/src/pty.rs:936-949 | crates/kernel/src/pty.rs:979-996 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ceaa665412dfe735667bdf6bb8d80abb7fcad2b6e4ac6c6cfe99a1ce42e75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/native-sidecar/src/filesystem.rs:395-439 | crates/native-sidecar/src/filesystem.rs:446-473 | crates/native-sidecar/src/filesystem.rs:4033-4075 | crates/native-sidecar/src/filesystem.rs:4086-4119 | crates/native-sidecar/src/plugins/host_dir.rs:985-1039 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a3df8c70991ee5ef8eb718c307909b302abfaa461a344a29e910059d5ac42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/vfs/src/adapter/mounted_fs.rs:258-266 | crates/vfs/src/adapter/mounted_fs.rs:275-283 | crates/vfs/src/adapter/mounted_fs.rs:300-308 | crates/vfs/src/adapter/mounted_fs.rs:358-366 | crates/vfs/src/adapter/mounted_fs.rs:404-412 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/adapter/mounted_fs.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"616c4c374a6c8451f303c5af30e9042454219dc802241b5ed0450c71cbd20961"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/vfs/src/posix/vfs.rs:1906-1941 | crates/vfs/src/posix/vfs.rs:1943-1973 | crates/vfs/src/posix/vfs.rs:1975-2008 | crates/vfs/src/posix/vfs.rs:2016-2059 | crates/vfs/src/posix/vfs.rs:2061-2088 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a18d04b58f97cdf43d2af56834e1e7e995acb2b745b51eabc882498eb5e87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/execution/src/javascript.rs:122-151 | crates/native-sidecar/src/execution/process_events.rs:410-442 | crates/native-sidecar/src/filesystem.rs:1449-1477 | crates/v8-runtime/src/session.rs:568-600 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b84135d5363e487c9a0ae5fc11a129fed53cef1ddfa9516350ebe56ca4c96a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/native-sidecar/src/filesystem.rs:3637-3648 | crates/native-sidecar/src/service.rs:5993-6004 | crates/vfs/src/posix/mount_table.rs:2678-2689 | crates/vfs/src/posix/tar_fs.rs:754-765 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"057dddd791efcf8f393a72bb5ebc25c4d24a5914463ce9bbd1371f13c94fa8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/runtime/src/lib.rs:1428-1443 | crates/runtime/src/lib.rs:1454-1473 | crates/runtime/src/lib.rs:1489-1503 | crates/runtime/src/lib.rs:1517-1535 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"56db319501f7405cc8df7a60a9d047cf29a161b5912ed8aad981c58d18cb2b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/vfs/src/posix/mount_table.rs:233-257 | crates/vfs/src/posix/mount_table.rs:258-271 | crates/vfs/src/posix/vfs.rs:620-644 | crates/vfs/src/posix/vfs.rs:647-660 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f115e25bdb454cb44e67e847c4b2f4ffb75502b0da707c9aea2883148ddc9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/vfs/src/posix/overlay_fs.rs:140-203 | crates/vfs/src/posix/overlay_fs.rs:219-275 | crates/vfs/src/posix/vfs.rs:950-1012 | crates/vfs/src/posix/vfs.rs:1481-1526 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a9ecc6a7331c68dbe9c508e3470213f8e571dc66285977d20d8ebfd092666"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/vfs/src/posix/overlay_fs.rs:819-836 | crates/vfs/src/posix/overlay_fs.rs:843-861 | crates/vfs/src/posix/overlay_fs.rs:1766-1784 | crates/vfs/src/posix/overlay_fs.rs:1786-1803 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a0f986c0c1c18f7a4cfa51b6ec2cc0b453ac06ad3b3a5f1550f98c3fbfd803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201388 lines \u00D7 3): crates/execution/src/v8_ipc.rs:307-388 | crates/v8-runtime/src/ipc_binary.rs:242-329 | crates/v8-runtime/src/ipc_binary.rs:336-340 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b100b27e7c8033e04f60f53440f0f2b09650888ecfc0c1fc5693dbded73f4493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): crates/execution/src/wasm.rs:3642-3718 | crates/execution/src/wasm.rs:3785-3861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae60d2ea4e1bdb01618708e37460ba203250b21cda1dcc461d186b9f394a965d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): crates/execution/src/v8_ipc.rs:390-459 | crates/v8-runtime/src/ipc_binary.rs:344-413 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5726977308a4e08e8b5127eeebb4b56270d9933e25e6c9f8ddb96915f7c490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62\u201363 lines \u00D7 2): crates/native-sidecar/src/vm.rs:824-885 | crates/native-sidecar/src/vm.rs:1738-1800 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1c5ad92a64ca3ba370395a62b89d988c636f7d1b3cc6ebd70ab600a60cdadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): crates/execution/src/wasm.rs:3720-3775 | crates/execution/src/wasm.rs:3864-3919 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3720}}}],"partialFingerprints":{"codehealthFindingId/v1":"3628867f0cd1b122131c4a8aa19075410523f2566174afffc2ebb22e4731f42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:1035-1086 | crates/native-sidecar/src/language_execution.rs:2445-2496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"129155b9232036086e7e35fc75380507bd4c2b9d3e133e4124889a11d403235d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:1055-1103 | crates/native-sidecar/src/execution/process_events.rs:1602-1650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4a130b256d10f01cbee8c70f677d7cac0b58fc1bc8726bb181ed6eb8e19340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 4): crates/client/src/agent_os.rs:324-366 | crates/client/src/agent_os.rs:414-456 | crates/client/src/agent_os.rs:526-568 | crates/client/src/agent_os.rs:627-669 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"098ffe3d0727f48c098f27b0fddffcbf597679eab43ff098a3a72999ac7865cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): crates/execution/src/python.rs:2077-2119 | crates/execution/src/python.rs:2160-2202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"636c0f8afc5436203758a988e8dab35998676124e37616748e348d3c85ea8256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201338 lines \u00D7 2): crates/native-sidecar/src/execution/coordinator.rs:903-940 | crates/native-sidecar/src/execution/javascript/http.rs:2412-2445 \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":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6207c9287f6d9472fd47288a1c6321c6b265afdc284906382053dcbb420b3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/kernel/src/socket_table.rs:1595-1631 | crates/kernel/src/socket_table.rs:1732-1768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb31bc64ebcf55527416f3b93bdd76827bc377595071f4a81e4ee9fe50c7433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): crates/native-sidecar/src/service.rs:3269-3305 | crates/native-sidecar/src/service.rs:3346-3381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a597f80b061582f38a8d2df062b051474234c65c2f19b63b430ef77537211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4986-5021 | crates/native-sidecar/src/execution/child_process.rs:5650-5685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4986}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d989c2c6968822fc2db949a2526f38ec3eccef1ff999a94e930c186dd6bcfbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:4333-4368 | crates/native-sidecar/src/execution/javascript/rpc.rs:4522-4557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":4333}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e9f83c8612370adcdc49493821371e93d5caad4a751b51da410d34627cbb25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:3386-3420 | crates/native-sidecar/src/execution/child_process.rs:3431-3465 | crates/native-sidecar/src/execution/child_process.rs:3476-3510 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf1cad5ec1735181c700278bb7f90d9470a5d8535b8daaf3b6ca88ef9d9375f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/execution/src/v8_ipc.rs:192-226 | crates/v8-runtime/src/ipc_binary.rs:469-503 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d7c064204c991cbdd1157689f8e6c721d0e64060f828e17ec938230bbb82d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/execution/src/v8_ipc.rs:269-302 | crates/v8-runtime/src/ipc_binary.rs:568-601 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8d7d2cbeea6ec503895659830477751506ee91dafce8653f0728177b9c99f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3189-3221 | crates/native-sidecar/src/execution/javascript/rpc.rs:3413-3445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba44faee92b2dd1119ec39c992d8d2b918639f5a047c617e8e9a1a681c294fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:479-510 | crates/native-sidecar/src/execution/network/http2.rs:680-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bccde077ec017a6929a4e47f31768954455c37333a142baaf191885e76d662b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:839-867 | crates/kernel/src/pty.rs:1437-1465 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40d6e6c8db9bd865e2c673808c1afe6115a4b8d5fc220a70868486b458a9e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:550-578 | crates/native-sidecar/src/execution/javascript/http.rs:1388-1416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b41e3bec846db6962655b7b538291d17d2c4d90d9fc94d422d4404b764550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:2166-2194 | crates/native-sidecar/src/language_execution.rs:2236-2264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f112aae08a0a914dd4270c7a54ae4682f1f6b59ed71d0a01a113221f09b5edf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/execution/src/python.rs:2048-2075 | crates/execution/src/python.rs:2130-2157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4acf5f6772313a0590f09c464e9cba482568d433f904dd106d7c0c4938f834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/kernel/src/socket_table.rs:1518-1544 | crates/kernel/src/socket_table.rs:1655-1681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd38d5d482506fa4de32fee81eb003dbfe2130cc1a610b3796888e0ebf599ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:4547-4573 | crates/native-sidecar/src/execution/launch.rs:4773-4799 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba32bf55e86e4a1df30af7f07bd301cd5fb54e89ba7f218ff8d38befa58e3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2107-2133 | crates/native-sidecar/src/stdio.rs:2138-2164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e3b97f082e572fc348f1717fce43dca060302ec34aad1ef2b3f438644fdc59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): crates/native-sidecar/src/execution/javascript/rpc.rs:3178-3203 | crates/native-sidecar/src/execution/javascript/rpc.rs:3402-3427 | crates/native-sidecar/src/execution/javascript/rpc.rs:3928-3953 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"594054f3780560acabdf939f5bc9220f99d4c06cffc7c962258b23cee7f1ff99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/execution/src/v8_ipc.rs:243-268 | crates/v8-runtime/src/ipc_binary.rs:541-566 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a557f8d6a9fe11f2f272fa9574d8d3c80c65943dc8fda44a526c6128c53302ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): crates/native-sidecar/src/execution/network/tls.rs:1552-1577 | crates/native-sidecar/src/execution/network/tls.rs:1757-1781 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aad3f4de718c251c5053ce924d37218c5f82c5814c29e0fa62dc42af93652f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:4992-5016 | crates/native-sidecar/src/execution/child_process.rs:5656-5680 | crates/native-sidecar/src/execution/launch.rs:5252-5275 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4992}}}],"partialFingerprints":{"codehealthFindingId/v1":"1810b05dfa3d4cc6df01da85ce1467f3168b616476c4d60fee538234ad7bd81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/client/src/command_line.rs:24-48 | crates/native-sidecar/src/execution/launch.rs:4512-4536 \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":"crates/client/src/command_line.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b86283f9c1850d28afdd1a0e54b3e29977854afa01a98d93405b89cc91f39c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:835-859 | crates/native-sidecar/src/execution/network/http2.rs:888-909 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fa8ddf51c63bcb82e6f312d75db598aa2990908597463b2cb3a0a28f5229fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): crates/native-sidecar/src/vm.rs:924-946 | crates/native-sidecar/src/vm.rs:1836-1860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb0c998f12ea755a1373cd5592d37ff532bf3d502660cc09c84f497a3f11b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/execution/src/wasm.rs:1203-1226 | crates/execution/src/wasm.rs:1279-1302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cef6ed8229262dc4ec5c5425ae213faa313b9b91828bc7d0c586e94cf8f6a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:574-597 | crates/native-sidecar/src/execution/network/http2.rs:767-790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32fbd427578c777122b1944cf7ce00805cfeb45e460d1ad4c2ebf87bfbcc144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/native-sidecar/src/service.rs:1688-1711 | crates/native-sidecar/src/service.rs:1724-1747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"337608feea05436b0b6cecff07c7fe0bb2bf39d8cb75b072b3faacda5a659c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/v8-runtime/src/execution.rs:461-484 | crates/v8-runtime/src/execution.rs:509-530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e3798666f03d2bbc0fa6dc58f67e84280715ba5ff39be98f909a5a43fb7919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:234-257 | crates/vfs/src/posix/vfs.rs:621-644 \u2014 before extracting anything, compare \u0060crates/vfs/src/posix/mount_table.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4dc8b9c1f44c635c9bcc6b4852b88cdffcefdbec15c31574e08c28c4510ce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:1840-1863 | crates/vfs/src/posix/usage.rs:39-62 \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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ba1a617823ff7ab60bdf701693655ce0154b21f0948758d905b0df04539b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:2933-2955 | crates/native-sidecar/src/execution/child_process.rs:3794-3816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4de37374ed1740f9926da6890f3d0ac040f7ae0f722199c63eddd2e8a5c5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:8499-8519 | crates/native-sidecar/src/execution/stdio.rs:649-671 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8499}}}],"partialFingerprints":{"codehealthFindingId/v1":"b943f5fe53d9fd37a092ac7c0c2df8dbf4a6d7ecf030e65db409140df7e5e023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/sidecar-protocol/src/protocol.rs:2385-2406 | crates/sidecar-protocol/src/wire.rs:929-951 \u2014 before extracting anything, compare \u0060crates/sidecar-protocol/src/protocol.rs\u0060 and \u0060crates/sidecar-protocol/src/wire.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ca172fa865232cfc859cbfe63c540e2a4bd66457a63a59415dd9831be9a40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:5208-5228 | crates/native-sidecar/src/execution/child_process.rs:8007-8028 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2642a61708b0d444aa7535799c72ecec444f62e26cb1c9889b04988eed6e2bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:773-793 | crates/native-sidecar/src/execution/javascript/http.rs:2533-2554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"8622f586f34e5187a21d746b28f69bdf0ee3138d4e461683fe9cca06935acbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3249-3270 | crates/native-sidecar/src/execution/javascript/rpc.rs:3988-4009 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf9d0381e31d218024f49ef37452a33565db20c45472e62de7b422d2f88dc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:4377-4398 | crates/native-sidecar/src/execution/javascript/rpc.rs:4570-4591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":4377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd1427fc10935cd71dfdc60689c63067471b5d1ca3252ce2fdc1a4f341e1ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:4453-4474 | crates/native-sidecar/src/execution/javascript/rpc.rs:4647-4667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fcf3085d7bfe3504a20d9ed34d9a48679dac2d2948477db4decbb7c1bea602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/native-sidecar/src/request_operations.rs:614-635 | crates/native-sidecar/src/request_operations.rs:1224-1244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/request_operations.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1174cdd85bf55744c45b77e11dd66f58ffdafe6d0906710165efb7373555c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 4): crates/native-sidecar/src/stdio.rs:2634-2654 | crates/native-sidecar/src/stdio.rs:2656-2676 | crates/native-sidecar/src/stdio.rs:2678-2698 | crates/native-sidecar/src/stdio.rs:2700-2716 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aeaee22fea2477b538d08261640ab37e65479e078d1043430746deb8821af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:4040-4060 | crates/native-sidecar/src/filesystem.rs:4090-4109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":4040}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadfa3ca665f7f0ee54f1e047d6a8856001bdbcd8c4a12ba8d8d6e7f2448c1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:3354-3373 | crates/native-sidecar/src/stdio.rs:3412-3431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3354}}}],"partialFingerprints":{"codehealthFindingId/v1":"80577991708fe79369ec5cca12808957a62c31f1d7bc645c3c77f46d62a88016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/native-sidecar/src/vm.rs:1476-1495 | crates/native-sidecar/src/vm.rs:2235-2254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4b5bf74cb7ef8c79b7f65df0779896a9c46602d30ba7ac0ae791200f69400b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/native-sidecar/src/execution/network/http2.rs:417-435 | crates/native-sidecar/src/execution/network/http2.rs:440-458 | crates/native-sidecar/src/execution/network/http2.rs:529-547 \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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cf4694499d48026816b5f37e9bd183950f48827f1729a0a07c8aad7af5d179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/v8-runtime/src/host_call.rs:765-783 | crates/v8-runtime/src/host_call.rs:797-815 | crates/v8-runtime/src/host_call.rs:829-847 \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":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefe73c1d3eb8fa20b11eefba96b8c49bc95f65779757f59f12d4bb4931bc38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/execution/src/python.rs:1688-1706 | crates/execution/src/wasm.rs:3608-3626 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"36981212cfcd71e5861124e23b32d45d548d78e53e8a51e512e53da0fad9256a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/kernel/src/kernel.rs:1968-1986 | crates/kernel/src/kernel.rs:2077-2095 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"436ee91a1bbd308f2d5e74edf953c67d9f343cd9c0bf016ef786bb1a0fc7cf97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/kernel/src/kernel.rs:2993-3011 | crates/kernel/src/kernel.rs:3291-3309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6836b58f8b7253875c7950891ed876261d6e2503d5e4ab084ce0bbb55a4359b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/kernel/src/kernel.rs:4337-4355 | crates/kernel/src/kernel.rs:4401-4419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":4337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31aa2e0d2c914656580993f5aed55215e735555dfde4bad976a54b683858bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9646-9664 | crates/native-sidecar/src/execution/child_process.rs:9694-9712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9646}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c38ca64907d75da4c04230a68e32a7b9cc10340347450cb8faf9bbabdeb34fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:2027-2045 | crates/native-sidecar/src/execution/javascript/crypto.rs:2047-2065 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8c6f82c7e930bf777e21b72fbcf834634fbf840fa7f6a7ebb419eacce191fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:220-238 | crates/native-sidecar/src/execution/launch.rs:275-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"117ed0d97f2fbad978bdbbd0afdb0e1ef6ca37d45425300591b6fff7cef35551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/native-sidecar/src/service.rs:3433-3451 | crates/native-sidecar/src/service.rs:3551-3568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3433}}}],"partialFingerprints":{"codehealthFindingId/v1":"05def65c1500810fa8f11cb2bf115d729e7694cc053be97ca144efeee7317134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/native-sidecar/src/service.rs:3479-3497 | crates/native-sidecar/src/service.rs:3593-3611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3479}}}],"partialFingerprints":{"codehealthFindingId/v1":"14efbc80c285165d949ae374b92f9b2f2f72de0d26e5c452ceadaa7210993cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/native-sidecar/src/service.rs:4404-4422 | crates/native-sidecar/src/service.rs:4440-4458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2940736ace4adac6fd4850aa558a49b058cc8eee9bf43b7d6b4ea7bdf647e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/native-sidecar/src/vm.rs:771-789 | crates/native-sidecar/src/vm.rs:1694-1712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd9370c4e85f714815513356d159ddacb03f648c47233ed0dbaef7465fe6783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/native-sidecar/src/vm.rs:905-922 | crates/native-sidecar/src/vm.rs:1816-1834 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa3e23349a82c258a4b3f27569a9ed8280107c4df57f4623a4f3f6cdb419478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/runtime/src/capability.rs:506-524 | crates/runtime/src/capability.rs:540-558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/capability.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd9e2a45729539d8126be5b9dbf64fedcf787c924fa1a27d67ee0f2540debbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1079-1097 | crates/vfs/src/engine/engines/chunked.rs:1125-1143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bbf39cace8f276585f2e8c29a66b09c527d21042e1fbade5b4f08d06591ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:101-119 | toolchain/crates/libs/wasi-spawn/src/lib.rs:105-123 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1779fed55bfcdc19a9d0763ef557087bfc6c543210ba1c59b6681682cc1f0bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/native-sidecar/src/execution/javascript/rpc.rs:3687-3704 | crates/native-sidecar/src/execution/javascript/rpc.rs:4359-4376 | crates/native-sidecar/src/execution/javascript/rpc.rs:4548-4565 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b20dd70c8fe8111b591b7485a6dc8f651ec55cb9e6f04e69310dc8412380d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/client/src/software.rs:1466-1483 | crates/client/src/software.rs:1494-1511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/software.rs"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"658173f3358b53187638f5ed2bb31832caace4604ef4ede432ce34159d88b0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/execution/src/wasm.rs:643-660 | crates/execution/src/wasm.rs:708-725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b32fd3146c70f765490ade4a1ab97a4b168d26b8772d64d41c32b1f70cde38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/kernel/src/dns.rs:269-284 | crates/kernel/src/dns.rs:299-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/dns.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea22d8ae221c40f8dd3a4523aa2c5fef3d8e62e8484d2364ddf24669f452900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/native-sidecar-core/src/diagnostics.rs:60-77 | crates/native-sidecar/src/execution/process.rs:2229-2246 \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":"crates/native-sidecar-core/src/diagnostics.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e07a69b1fcebf845a9ed1ca478d52f16f34a89128ed7000546c86a8a3d75da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/native-sidecar-core/src/router.rs:120-136 | crates/native-sidecar-core/src/router.rs:196-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":"crates/native-sidecar-core/src/router.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"836319f0cc184dc17b79076692437e6956a2682e78a57281d3da2246c33950fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:3336-3353 | crates/native-sidecar/src/execution/process_events.rs:1229-1246 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3336}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ade7270adb14ac9ef3d99845ef28c7eb9646c505bc0886679998d5dde1514f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3130-3147 | crates/native-sidecar/src/execution/javascript/rpc.rs:3863-3880 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"578ecb2b249ffa87eb67a94c2f5bbe914b7d27793990ebf90836d4891efe8c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:352-369 | crates/native-sidecar/src/execution/network/http2.rs:608-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d027c9119b9ef1912574735ee17b7b8a30b990b4c30354b54e42606fc4ddf230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:2600-2617 | crates/native-sidecar/src/execution/network/unix.rs:1741-1758 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3be15e07be61228c3fe0e03df727be1220dfdcc395d7b47f29e7a437e364986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:1104-1121 | crates/native-sidecar/src/execution/process_events.rs:1651-1668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba5dff0828e60fc2da4c208593f9bea88d354f9da8fe8705876a20ae255679b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/sidecar-protocol/src/protocol.rs:2329-2346 | crates/sidecar-protocol/src/wire.rs:867-884 \u2014 before extracting anything, compare \u0060crates/sidecar-protocol/src/protocol.rs\u0060 and \u0060crates/sidecar-protocol/src/wire.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"954f989e042b0743e551f4fa6722079bbefae5f97c96a150c27cfb503ef4f499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/v8-runtime/src/session.rs:3929-3946 | crates/v8-runtime/src/session.rs:3953-3970 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3929}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c0e0cda8d7f846ee47a0d89c24fb42d51cd7a2c3f012d4eb8f80feba003f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:627-644 | crates/vfs/src/posix/overlay_fs.rs:1683-1700 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"79103abdd9505bec97a4493e8dc128e98a4eabbd313a54168ddf2d556975f69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:595-611 | crates/kernel/src/pty.rs:665-681 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e6d9c11a16dbd37f51a4e6f723c174f5497534a60e2d5c234c8c1c5fcfe3c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4139-4153 | crates/native-sidecar/src/execution/child_process.rs:4349-4365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d6f54d83a0187387471bd4da3001d3444c399665a7c097569627ec9081682b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4181-4197 | crates/native-sidecar/src/execution/launch.rs:162-178 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1fbb33798d9ad8a24b907aafaaaa17548183b3b94cee5c0400003e6395a71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4200-4216 | crates/native-sidecar/src/execution/launch.rs:181-197 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff62389d3addb867d73c51dd5e4b9e48b5e0eaf7ba1f6f333f0ea27ebcb7815d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:10047-10063 | crates/native-sidecar/src/execution/child_process.rs:10116-10132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":10047}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d59174072ff1f3a915968fe2dcdcb708527a167bb46933967a047b7f3b9925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:507-524 | crates/native-sidecar/src/execution/javascript/http.rs:2831-2847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"027d381c94de88796e929a5f19f43f8fc73a84d652977baaea0af60af70d6377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:1527-1543 | crates/native-sidecar/src/filesystem.rs:5752-5768 \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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb2c3c4073f9305d0a264a70e96d47d3ac0bf9fc387b6516d808d76ff817a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:3649-3665 | crates/native-sidecar/src/execution/network/http2.rs:3680-3696 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":3649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4d593ff864eed40d90e60bb55883271d8eb8ebf650dbfd356aca819189fcb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/execution/signals.rs:331-347 | crates/native-sidecar/src/execution/signals.rs:379-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ddbebf84c214cb209fc32b81b40acce1d4b94dc5bf9c50d495a7f1c860eb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2723-2739 | crates/native-sidecar/src/stdio.rs:2772-2788 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f0209f2a66257d3dedd56c6cf36fdda771bfaa566e96c6645b0dfabe2eefa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/vfs/src/engine/types.rs:550-566 | crates/vfs/src/posix/vfs.rs:188-204 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/types.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/vfs/src/engine/types.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"558dbeed64c04148cad523018f464a76f40cb1298f2915bc5663b90f0f4dc6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:845-861 | crates/vfs/src/posix/overlay_fs.rs:1768-1784 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c8212857b2b5f5bf542fe6441723898be3836b5f4f0a74cb0464915c2b40d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): toolchain/crates/libs/wasi-http/src/lib.rs:477-493 | toolchain/crates/libs/wasi-http/src/lib.rs:518-530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"33482e1ba609bb350ac7c7ca1a5b853ce91be83d21d9c31c0a63f8571e84d06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/native-sidecar/src/execution/process.rs:2029-2044 | crates/native-sidecar/src/execution/process.rs:2051-2066 | crates/native-sidecar/src/execution/process.rs:2076-2091 \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":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e57747e9a975322872b5054f11f3f46fa874441743caf74afd6a425d60d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/client/src/agent_os.rs:2123-2138 | crates/client/src/agent_os.rs:2753-2768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"97841080a8691be7b89eba92de5541858034f8ecc28b592cb2440565591c1abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/client/src/shell.rs:971-986 | crates/client/src/shell.rs:1034-1049 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/shell.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"24adad00fb132fe82edaa29a8c46214b3f80165a34c42b0413f0538d92aee95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/execution/src/python.rs:1236-1251 | crates/execution/src/python.rs:1290-1305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/python.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"339fc95c6fbe13126d03cd1607eb894ce3db828a4a24d34a36449b1ab6c663e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/kernel/src/kernel.rs:9072-9086 | crates/kernel/src/kernel.rs:9702-9717 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":9072}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb3a6967cfd8426899add7db381868245527a805c4a0f4f98db7fbbbf9c389e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/kernel/src/kernel.rs:9799-9814 | crates/native-sidecar/src/plugins/sandbox_agent.rs:143-158 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":9799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5129eb3f58b6840207539eeb6d9d715e8bcdc8f9c59e226505ee8c5f62a3491b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/kernel/src/socket_table.rs:1147-1162 | crates/kernel/src/socket_table.rs:1182-1197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a16e90ad269d4c99c3f9a8c15fe6380c6d9eeb90a37d8ccf991e77eaefdd00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:5194-5206 | crates/native-sidecar/src/execution/child_process.rs:7989-8004 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5194}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d49d6dd4f8f419a0b707ff3798ccf98b5bd4ef0a2bffe77e8da4e8f8ff3523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:5255-5270 | crates/native-sidecar/src/execution/child_process.rs:8073-8088 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6296dd75d622683bedb756932404148cedf7721ede459185d7eaa51905e2b194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:675-690 | crates/native-sidecar/src/execution/javascript/http.rs:755-770 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6c413a042d74baf5d74c2bbbb6a33cd2a6dd9da302aafc7ca0db0151ef307b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:870-885 | crates/native-sidecar/src/execution/javascript/http.rs:2637-2652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbd653d09e22cda8b735ab30b4180a58c1497d61cc3c32d3a3d10878683c092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:1250-1265 | crates/native-sidecar/src/execution/javascript/rpc.rs:1274-1289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab63b13081053a8f753082b197d1ddc22e192aff4d7618073b899a2eaa078057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:461-476 | crates/native-sidecar/src/execution/network/http2.rs:662-677 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f9170a11dbde33012315ab92621d8a508c5620d6f434ec7705bdbbfb82ae16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/network/tls.rs:391-406 | crates/native-sidecar/src/execution/network/tls.rs:545-560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf51a67529e82017d0f83045417df38a19df7d934a84a0481dc9fd0438d5911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/network/unix.rs:1250-1265 | crates/native-sidecar/src/execution/network/unix.rs:1284-1299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"483c30ea74cf12bde2fbff3144d781f7b0ddebebb0aa93fa262cae6e8341db38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:1122-1137 | crates/native-sidecar/src/execution/process_events.rs:1703-1718 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7b3080a490b3f5781104502800858db734def5dd2ef956671744ce0a566a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:1179-1194 | crates/native-sidecar/src/language_execution.rs:2585-2599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cff2e239ff287c039cd2062aa6ec0c0d6469f997d42fd2d2af37c23a56dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/native-sidecar/src/service.rs:2121-2136 | crates/native-sidecar/src/service.rs:2160-2172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd50ddb5016f2f918e1aba13255f217282bd7bc5f8fbb77fc900361c5a94f7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/service.rs:3520-3535 | crates/native-sidecar/src/service.rs:3619-3634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5e72e374d7cc6ed317cc7e25f11ee33d37dbe685d689b686abbc313fa075be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2205-2220 | crates/native-sidecar/src/stdio.rs:2238-2253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e290c9230ad4adb0c985383d2f12e4fb4d63d7e3096c35c60b102495ec3d03e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2273-2288 | crates/native-sidecar/src/stdio.rs:2321-2336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff976e0ed51f9969b8adb210569a989e3ccb8b4cbf43387393959da1f491d28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:10210-10225 | crates/native-sidecar/src/stdio.rs:10241-10256 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":10210}}}],"partialFingerprints":{"codehealthFindingId/v1":"56390894faf2a1d1a05105989970bab6cb32b39c449d4614ab638f9e7b644e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/native-sidecar/src/vm.rs:1392-1406 | crates/native-sidecar/src/vm.rs:2285-2300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91542e7cdb32961e5a2b0243824fcbe1021a716106775013f2f9812b5991d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/v8-runtime/src/bridge.rs:1256-1271 | crates/v8-runtime/src/bridge.rs:1284-1299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6638b0e2d991c4af76201c008563e00c8b47b48b9a87a8bc7ae92c19dccd9fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/v8-runtime/src/session.rs:2782-2797 | crates/v8-runtime/src/session.rs:2829-2844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e6fdfec736277a48b0369e2a8230547b2aa032d765def8b84405d55a6d7767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1290-1305 | crates/vfs/src/posix/vfs.rs:2419-2434 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/engines/chunked.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"377e4fc315a2391b1c70a422bb03c81162743675ba79ecf329f7af2bc6af2ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:82-97 | toolchain/crates/libs/wasi-spawn/src/lib.rs:86-101 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b867a30ecc7908ba7b3601d9fa5b3ab97cb3a79811713083af5d785400e8036d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 3): crates/execution/src/wasm.rs:1701-1711 | crates/execution/src/wasm.rs:1723-1733 | crates/execution/src/wasm.rs:1836-1850 \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":"crates/execution/src/wasm.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b292dd3f5609d3f94179e83e10eb98ba2c03668873b18221e74678056d1dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/execution/src/javascript.rs:1413-1427 | crates/execution/src/javascript.rs:1433-1447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee060ea0087c4bd2a88f86db054bb35db747eec21a8cc5ace7977816b838e94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/execution/src/python.rs:1076-1090 | crates/execution/src/wasm.rs:1069-1083 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"998b0c54f5cc50b154de20aa1a651f684757d154ca4dc9f0797917b4381436b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/execution/src/v8_ipc.rs:228-242 | crates/v8-runtime/src/ipc_binary.rs:520-534 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c3b3a50e587ba83d6d59e7f400571beef2fd3d091af7d0d3ebe055da6709f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/kernel/src/kernel.rs:5444-5458 | crates/kernel/src/kernel.rs:5554-5567 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b84de81375237e4b0a1d9cff1562095873cce1099d80a80c83b309050adc57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/kernel/src/kernel.rs:8431-8445 | crates/kernel/src/kernel.rs:8472-8486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":8431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cf7fea930fb0909806ba3b4f9d8efea25f166feeb0e857a7b5c777a45e71c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:537-551 | crates/kernel/src/pty.rs:547-561 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d916ebd43d2e65894219822cde6a123b6d4e563cdd17868f6ca118cd7c4556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/kernel/src/socket_table.rs:2117-2131 | crates/kernel/src/socket_table.rs:2229-2243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1ce5f03663222199bf881a6d57a77e7a9119daab33f00e62eb1736c2c526b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar-browser/src/service.rs:1802-1816 | crates/native-sidecar/src/execution/network/tcp.rs:2222-2236 \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":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"859bab1f285cfbdb4ffe015d97f48cbad4c2e926eae1b3cedd0a8fb4ab71cc09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:3306-3320 | crates/native-sidecar/src/execution/child_process.rs:3639-3653 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3306}}}],"partialFingerprints":{"codehealthFindingId/v1":"247db828065a134a47cb516432f345669c52b4a8d98a70049770611d3e17a589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:819-830 | crates/native-sidecar/src/execution/javascript/http.rs:2579-2593 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6859fe3ee207925d88362b264cba868dc4e0246aa4b6e6555985b245ca5d76eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:2373-2387 | crates/native-sidecar/src/filesystem.rs:5522-5536 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bad2dece9e78b5e77b5bf950c4f2b48cd95618d696615836369a0ba0045d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:197-211 | crates/native-sidecar/src/execution/launch.rs:258-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"949305f1eaf12d96fc2b968aeaf328014069f8e28099b9b3953d44713d46d17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar/src/execution/network/tls.rs:1180-1194 | crates/native-sidecar/src/execution/network/tls.rs:1275-1289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae754bd7d60a11266e9ba9818914d2067a1eba69164f7ee30456effafcda6f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:1131-1145 | crates/native-sidecar/src/language_execution.rs:2538-2551 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95ec4ebfdd3ab26c14683dc2bca2d6970b910e175e5e628752d82fae7716cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4629-4643 | crates/native-sidecar/src/stdio.rs:4666-4680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4629}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edb23a5427597100056e299e635976357a3dff92a90b68b1707e53eaad699ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/v8-runtime/src/bridge.rs:1857-1869 | crates/v8-runtime/src/bridge.rs:2047-2061 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70908544adc52c58d3cdfbe6cde201a7d9a818e6c8ae69ef33ab691faa9337c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/v8-runtime/src/execution.rs:1614-1628 | crates/v8-runtime/src/execution.rs:1737-1751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c557a8c021c1c685d1eab6023cd51d7251d3c585faebc38c976c622c2ceff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1324-1338 | crates/vfs/src/posix/overlay_fs.rs:1388-1402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"167848e841542e2d65ec366702f57074fc55662eb9d85ce54bd4a09462faa8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): software/yq/native/crates/yq/src/lib.rs:292-306 | software/yq/native/crates/yq/src/lib.rs:340-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/yq/native/crates/yq/src/lib.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d425aec7f289cbf28af97cb4661e08f7d88ecd504c899a94f23d0165ff5cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/kernel/src/socket_table.rs:2114-2127 | crates/kernel/src/socket_table.rs:2178-2191 | crates/kernel/src/socket_table.rs:2226-2239 \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":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"16576076542345f4ee052fa869f4a0d52ca4476be81f046439d5cf076768e4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/native-sidecar/src/execution/javascript/rpc.rs:3564-3577 | crates/native-sidecar/src/execution/javascript/rpc.rs:4454-4467 | crates/native-sidecar/src/execution/javascript/rpc.rs:4647-4660 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3564}}}],"partialFingerprints":{"codehealthFindingId/v1":"4397974898eb26b92e5a2463a34a04ca2ca595ce24c8451b1a7150bf6edb8d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/execution/src/wasm.rs:1636-1646 | crates/execution/src/wasm.rs:1663-1676 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09846aeccccf88df4c48a0c1a88728d86d2f2484d96e22366e0da919a2546f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/kernel/src/kernel.rs:4832-4845 | crates/kernel/src/kernel.rs:5683-5696 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":4832}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f1ff879c5b64c8dfcec4aac95723b2a5cbb3824ff73651176428bcb015940a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/kernel/src/socket_table.rs:2129-2142 | crates/kernel/src/socket_table.rs:2196-2209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f5e683417c428ac3cb1dfd85da948b4a8130450b19508f1b36e52e1a7e6e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201314 lines \u00D7 3): crates/native-sidecar-core/src/guest_net.rs:322-335 | crates/native-sidecar-core/src/guest_net.rs:433-446 | crates/native-sidecar-core/src/guest_pty.rs:94-97 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/guest_net.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d59dbcfe72dcfdbb66220e6ff64c537c611e504df08a032b59bfcde4b77b6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar-core/src/vm_fetch.rs:140-153 | crates/native-sidecar/src/execution/javascript/http.rs:219-232 \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":"crates/native-sidecar-core/src/vm_fetch.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77ea2186c2082ebe2610649275eb9ba81f90ffead35a281c8c70e8229a6117b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4162-4175 | crates/native-sidecar/src/execution/launch.rs:143-156 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bda084fdc3b77a76cb7e0832f8432355678bbd729119672ba25ed3a71d64d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4219-4232 | crates/native-sidecar/src/execution/launch.rs:200-213 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4219}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ed432a6e8865f7b13d9f41c7427b1336f653e72493ab79e215dc4b6fe38503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:2131-2144 | crates/native-sidecar/src/execution/javascript/crypto.rs:2177-2190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88cc8eed018e46f7bb95bacbd6b59ea7c305c8fdec7324a7904398e85e1436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/sqlite.rs:343-356 | crates/native-sidecar/src/execution/javascript/sqlite.rs:369-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/sqlite.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608ec79ff531a133e7973ab8c78518acb25f48ba91a6079ec53f9df1c65c67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:819-832 | crates/native-sidecar/src/execution/network/http2.rs:872-885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5385107a9e6b9cae01a8cc723dc91e7d0b8063d410d44606a05ee8968988e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:2753-2766 | crates/native-sidecar/src/execution/network/tcp.rs:2928-2941 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"652a246867a0ab6ab77fca5dfab7424b7111a4ab204380e55b3cba15c78cb1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:1148-1161 | crates/native-sidecar/src/execution/process_events.rs:1735-1748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b63a4d6dfe8a418e3d005cb7923e3f8fdb365657ee81988401f85e3aed2412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:2400-2413 | crates/native-sidecar/src/filesystem.rs:2415-2428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"00397a50ada1a3cebb086b57b46f5e6ba717bf09ca005e0f4eed9feb257277e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/plugins/host_dir.rs:741-754 | crates/native-sidecar/src/plugins/host_dir.rs:775-788 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d6abaea4765a8a45f49de0aa4b9effb44c8deda97e5aced84fded4d9bfa9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/plugins/host_dir.rs:1662-1675 | crates/native-sidecar/src/plugins/host_dir.rs:1697-1710 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"105bae988ef3c3489a28f1c6f4a1a6396fd310eb31ef3fbf650973a4108375b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/service.rs:5177-5190 | crates/native-sidecar/src/service.rs:5212-5225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":5177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa60e0096e8adce94723e20cc9c44d807838868af9fcf3c07d50395950293c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/service.rs:5938-5951 | crates/vfs/src/posix/mount_table.rs:2636-2649 \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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":5938}}}],"partialFingerprints":{"codehealthFindingId/v1":"5503fc374e68612421be8e0bc958af68ffbcbfe1a75768211aa8231287267bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/vm.rs:791-804 | crates/native-sidecar/src/vm.rs:1714-1727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"2430081b1cef01c3d81a0d4ed4899cbed19ffdc535c601858768e9dea8f6916a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/vm.rs:3763-3776 | crates/native-sidecar/src/vm.rs:3906-3919 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88d3be0e173c706a0a2be52381e2cbfe812d2addef817d5d31cc9e86e43a2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/vm_sqlite.rs:177-190 | crates/native-sidecar/src/vm_sqlite.rs:267-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm_sqlite.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a615de7e9009a9cc4a8a4b7d4e2377136ef966d8326de3de1b26bc0477ec7cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/v8-runtime/src/execution.rs:617-630 | crates/v8-runtime/src/execution.rs:632-645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3512f2c0f544e796e871f81f787b9e7c733abdde4ea825ad4bb8287b40c3bbb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): software/coreutils/native/crates/cmd-df/src/main.rs:159-172 | software/coreutils/native/crates/cmd-findmnt/src/main.rs:232-245 \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":"software/coreutils/native/crates/cmd-df/src/main.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c231cfb4276b0d519863cd9b26e1ef29bbc174d8ecdb31fa48882064d9fa310a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): toolchain/crates/wasi-ext/src/lib.rs:518-531 | toolchain/crates/wasi-ext/src/lib.rs:544-557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/wasi-ext/src/lib.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a86b5d9fdd195c7fbef61cd48f35ec475abe693ecfffa22d37f5aa951b1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/execution/src/wasm.rs:1634-1646 | crates/execution/src/wasm.rs:1661-1673 | crates/execution/src/wasm.rs:1699-1711 | crates/execution/src/wasm.rs:1721-1733 | crates/execution/src/wasm.rs:1834-1846 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd3e3b552da32db31fc64f3571bc3926b24a5a03e3dd5befdc1450ecf11fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/native-sidecar/src/execution/child_process.rs:8953-8965 | crates/native-sidecar/src/execution/child_process.rs:9024-9036 | crates/native-sidecar/src/execution/child_process.rs:9225-9237 | crates/native-sidecar/src/execution/child_process.rs:9583-9595 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8953}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fad5e16b09bb3537b8362ba8c290dedae433ecb0de14ca248883b0e1186b24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/native-sidecar/src/execution/javascript/rpc.rs:3688-3700 | crates/native-sidecar/src/execution/javascript/rpc.rs:4064-4076 | crates/native-sidecar/src/execution/javascript/rpc.rs:4360-4372 | crates/native-sidecar/src/execution/javascript/rpc.rs:4549-4561 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3688}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf3e4a3b6fd1c5f96764b62f3bbfa6dbb2120b8e9537ea7b78ddbf08de504ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/native-sidecar/src/language_execution.rs:283-295 | crates/native-sidecar/src/language_execution.rs:304-316 | crates/native-sidecar/src/language_execution.rs:326-338 \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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"949827091613c817f5e3cffa409e18ae414881818ceda535a52c57a47774a74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/client/src/agent_os.rs:2003-2015 | crates/client/src/agent_os.rs:2029-2041 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf6fae1276cb5d580c4af4957c4063e9e95aa87ac75a7e625b7b71382abee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/client/src/process.rs:1526-1538 | crates/client/src/process.rs:1657-1669 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bdda6fd27fc64e1d48806b97cfa80d1db998830a11d00fabe8eb3a5b898b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/execution/src/javascript.rs:139-151 | crates/native-sidecar/src/execution/process_events.rs:430-442 \u2014 before extracting anything, compare \u0060crates/execution/src/javascript.rs\u0060 and \u0060crates/native-sidecar/src/execution/process_events.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"crates/execution/src/javascript.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f742064bee8374e9cd0fd468f4facf0e4b68745905c023c478d53963a6f9281d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/execution/src/javascript.rs:1589-1600 | crates/native-sidecar/src/vm.rs:5083-5095 \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":"crates/execution/src/javascript.rs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f77c5e7e5326bd9c6c5f6a4f715826ab87db2849e8f684a1d71a35bd517470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/execution/src/javascript.rs:5376-5387 | crates/execution/src/javascript.rs:5419-5431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":5376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0e3f441a1bbf12231c830e7f6b49b2c13d3bcbb5ae1330ec9dcebe665bd478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): crates/execution/src/wasm.rs:1228-1240 | crates/execution/src/wasm.rs:1305-1314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3de56fd8ed4ec77c09e04d7bc2853e66c6ff43a6b5293383ebbacd5c8c1cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/src/kernel.rs:2398-2410 | crates/kernel/src/kernel.rs:2462-2474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9daa8dcef0e88edf2cb45eb92213735abe9dfcdfa3b39403c868d249b877bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/src/kernel.rs:2952-2964 | crates/kernel/src/kernel.rs:3253-3265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7ec376e79fc55b00a2592f898b75edcdbe8e938aefc7ba5ef9607c0020f2c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/src/kernel.rs:3885-3897 | crates/kernel/src/kernel.rs:5211-5223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c4c55e344e3296b437a432b70e2e948817fbd42ca9380751fe8dda01bdbd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/src/kernel.rs:6580-6592 | crates/kernel/src/kernel.rs:6598-6610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":6580}}}],"partialFingerprints":{"codehealthFindingId/v1":"090bfa32a7715f322e3a8a7c03ce69f52821136e17add834971c478131d8a7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/native-sidecar-core/src/guest_fs.rs:20-31 | crates/native-sidecar-core/src/guest_fs.rs:44-56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/guest_fs.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a425c1ef85a294d9999370221ceb0cd3b2e062223b27942ec70fa86ad5c27db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:213-223 | crates/native-sidecar/src/execution/child_process.rs:4419-4431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b316854b15008f26703df2b32045d1e839b5aecd0979543eda05124df7e534f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:3518-3530 | crates/native-sidecar/src/execution/child_process.rs:3550-3562 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2236bde2bbed5c258084f968328084b910771f2e956ee91804fe2b4d64dfd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9892-9904 | crates/native-sidecar/src/execution/child_process.rs:9923-9935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9892}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23546278111b7c07157236914a1f01b3599ebb5a6e35fbbaa50e5a75cd18697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): crates/native-sidecar/src/execution/network/tls.rs:1058-1066 | crates/native-sidecar/src/execution/network/tls.rs:1117-1129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"40400037aa68ba730b98fabf7e34fcefb16c77470e96d05c0e1ecf56f5e8722f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:588-600 | crates/native-sidecar/src/execution/python/sockets.rs:656-668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a330d41b35cdaf3b45d24d6fae072a7240a56bc777c0aca35f4a2ae3380484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:409-421 | crates/native-sidecar/src/filesystem.rs:452-464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d938642a0ef830c9e20d8e2d32c3a1dc777bcc4332e65d2609cc21c400bafb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:4636-4648 | crates/native-sidecar/src/filesystem.rs:4678-4690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":4636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f086099a695abbbf26ca553a4e80b120e109610c96cb43bd16beec69403961b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:854-866 | crates/native-sidecar/src/language_execution.rs:1855-1867 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce9f5a7d531595917a2af9c9b938b5f10d5e6db86caae8f21179bf91be16a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/service.rs:3453-3465 | crates/native-sidecar/src/service.rs:3569-3581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"451c8179f18274a922afe0daea259b16ef6131767dd088276d85bd3e0f9a6426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/state.rs:928-940 | crates/native-sidecar/src/state.rs:954-966 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7129e245431f8d0487ad081798cb9e45131f6dc8f72cf0af560007c0faf99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4284-4296 | crates/native-sidecar/src/stdio.rs:4362-4374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4284}}}],"partialFingerprints":{"codehealthFindingId/v1":"78578d72447de1d923a08ade8d0f85e774a5d083acf34e950d9b24b95a42d17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/vm.rs:4787-4799 | crates/vfs/src/posix/root_fs.rs:857-869 \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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":4787}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bf66335d669ca497d8df59e2fc98a9b7fced598bfc4d600949a26644782162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:259-271 | crates/vfs/src/posix/vfs.rs:648-660 \u2014 before extracting anything, compare \u0060crates/vfs/src/posix/mount_table.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d35b39f2243e2e4e53a02f098847a49866cf6e8bf22fab01d024067877b19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:464-476 | crates/vfs/src/posix/overlay_fs.rs:501-513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"72554d83896866a27cc09067a511c9c98ee3e135ecdce0ce5c5d2d883b2d9ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1866-1878 | crates/vfs/src/posix/overlay_fs.rs:1891-1903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93acc68a4253aa1625ea2ed16af45637d74a086311a833559eee3cb809ef8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): software/tar/native/crates/tar/src/lib.rs:808-820 | software/tar/native/crates/tar/src/lib.rs:823-835 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cd1d3067817ab714fff435130127f10ce3e5e8b7134b8feef3aea7fa04ba74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): toolchain/crates/libs/wasi-spawn/src/lib.rs:302-314 | toolchain/crates/libs/wasi-spawn/src/lib.rs:315-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-spawn/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f98f32ab680d79e135589794db8512ce121396abd97878d5b60c531d1d923e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): toolchain/crates/wasi-ext/src/lib.rs:1531-1543 | toolchain/crates/wasi-ext/src/lib.rs:1573-1585 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/wasi-ext/src/lib.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"705ad538ea99e7e58bf144455d329212a9627945be6fbe5be7980c96fc92e590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/execution/src/javascript.rs:134-145 | crates/native-sidecar/src/execution/process_events.rs:425-436 | crates/native-sidecar/src/filesystem.rs:1460-1471 | crates/v8-runtime/src/session.rs:583-594 \u2014 before extracting anything, compare \u0060crates/execution/src/javascript.rs\u0060 and \u0060crates/native-sidecar/src/execution/process_events.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"crates/execution/src/javascript.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15336294d66ac96ed85d83d466a7875ed1277117fbb2e47421cd2c7e5ffc727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:9246-9257 | crates/native-sidecar/src/execution/child_process.rs:9652-9663 | crates/native-sidecar/src/execution/child_process.rs:9700-9711 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9246}}}],"partialFingerprints":{"codehealthFindingId/v1":"00920004e73cc7b9737f2224b2e0a9ed4c623fdeee052c75663a75acb56b9eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/src/kernel.rs:901-912 | crates/kernel/src/kernel.rs:965-976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eead667c4a002c957c20928cbd93b0f537cb04d7ed58093d9af1d65ee4840c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/src/kernel.rs:2969-2980 | crates/kernel/src/kernel.rs:3267-3278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c21939278c648230bb963d9d53d501015ede2f2285a13b671129cc0f912dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/kernel/src/kernel.rs:5876-5887 | crates/kernel/src/kernel.rs:5969-5979 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5876}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409bd1cc4795a4001083013e9caf21c17be22e4b34e7266bd044d8da1560245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:578-589 | crates/kernel/src/pty.rs:645-656 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3cc3d3536b2ac97cfa834197e464df9a56cd710b9847cd0c35ab1dd6e904ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/src/pty.rs:158-169 | crates/kernel/src/pty.rs:184-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"522771479045e8ac355b35c97a4b5467cae01e8c7106d84a90e2629bae2baac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar-core/src/guest_net.rs:298-309 | crates/native-sidecar-core/src/guest_net.rs:409-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/guest_net.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3081f1c44e9e12421e70fb50e1f3c3582e5db26af2ecbe3268e21f2a3463bda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4091-4102 | crates/native-sidecar/src/execution/launch.rs:124-135 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4091}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac69f179ad882496a66542bb7985d5210aee67a052073ee5a1e99efe040a3867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9357-9368 | crates/native-sidecar/src/execution/child_process.rs:9462-9472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9357}}}],"partialFingerprints":{"codehealthFindingId/v1":"75903d399089a16e2f124bb25d6c92a379db84d18578baa83d10e843c940c389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:115-126 | crates/native-sidecar/src/execution/javascript/rpc.rs:195-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5d2ecac860642ffe880b884a71ace8391ae2dc38706f2a6b5db0617e45efd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:373-384 | crates/native-sidecar/src/execution/network/http2.rs:628-639 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bd244149b7f978a96433d7b5622d47f4fec96d220d21544c38267487fc987d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:955-966 | crates/native-sidecar/src/execution/network/http2.rs:1001-1012 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"847d3698b26dad7b71551d96f6d9a354750465adf734d3f5032a57b348b11f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:1088-1099 | crates/native-sidecar/src/execution/network/tcp.rs:1138-1149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1160ff73d097d2c6ce07b3d7eafdfde93dde8fb5008d2d29a02f435cb5bd4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:2668-2679 | crates/native-sidecar/src/filesystem.rs:2724-2735 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3654998f69546f3d6a2d9c5c9b33367d65d5ceac7c056642f7b21a57f5b80e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:4607-4618 | crates/native-sidecar/src/filesystem.rs:4657-4668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":4607}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5222eb0ebf3c2156cfc44f55e707eb99ed529db30222a6bb346bff6f5a4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:542-553 | crates/native-sidecar/src/language_execution.rs:571-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"3888046b1b264dd07cefc7d9e32841b80c6ae61307f127ab43c9e52f185fdaf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/plugins/chunked_local.rs:79-90 | crates/native-sidecar/src/plugins/chunked_sqlite.rs:328-339 \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":"crates/native-sidecar/src/plugins/chunked_local.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41268933b8b409b4fb87e84dd6fc209b6791df32b6419c98e2baa5f825aa1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/plugins/google_drive.rs:977-988 | crates/native-sidecar/src/plugins/s3_common.rs:19-30 \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":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76656ef9b9ca6241fe8087a5affcf9d2acd29233af2cb3d1eb668dd3f6ea9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/process_event_broker.rs:586-597 | crates/native-sidecar/src/process_event_broker.rs:759-770 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"779f07046b1f667dbbe7acaa1db7058918e58b2c7efbbf379c762fcc24e3efa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/service.rs:2935-2946 | crates/native-sidecar/src/service.rs:2969-2980 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"864e9797d7beb382d1735081f974302d386035fa563f2e55d591bd4d2a9f0c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2027-2038 | crates/native-sidecar/src/stdio.rs:2042-2053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"048798d7894ca13f19fb2aef39242684e7ddc104135e259483ac36df70a0cfa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/runtime/src/lib.rs:1462-1473 | crates/runtime/src/lib.rs:1524-1535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81516938ac588bbf1c6fb8570d16884a8b86ac1b5e92f2cd1e751395771b48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/runtime/src/metrics.rs:621-632 | crates/runtime/src/metrics.rs:635-646 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/metrics.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"191d9f6b9cb2dcdc6261fa0b390409bf19e54d87c78f71fecfe68161a85dd068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/v8-runtime/src/execution.rs:1433-1444 | crates/v8-runtime/src/execution.rs:1463-1474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3316fe1a5af558c3f7fc58426deb63eccbc65d38700d3221733c9f4c8a83a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/v8-runtime/src/host_call.rs:1117-1128 | crates/v8-runtime/src/host_call.rs:1145-1156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/host_call.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbc5f6023c819e86cfba830e9a066537ef5ae4aa9e6cdff5d789090a3e00991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/v8-runtime/src/session.rs:1610-1621 | crates/v8-runtime/src/session.rs:1704-1715 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be30be911131e7b30a2ae48cda18b018577f49e12f284478c3b38a0cd0279bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:555-566 | crates/vfs/src/engine/engines/object.rs:180-191 \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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5142e96650e99c3d8ef3bc86339a4bedffe509e32c5d3d94ac56a6f21188445e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1276-1287 | crates/vfs/src/posix/vfs.rs:2405-2416 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/engines/chunked.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d471c44d9e1addf55efcecf8dd89c5902cce13e5b9f68e85cf6ad54464a35ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:205-216 | crates/vfs/src/posix/vfs.rs:555-566 \u2014 before extracting anything, compare \u0060crates/vfs/src/posix/mount_table.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af37bd5ca9e47fb3e4ff1d9b40b139bc784f71fa1b185c2f2349a930af4d78d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:612-623 | crates/vfs/src/posix/overlay_fs.rs:1671-1682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"506183ee07f7a9234d76e5957bbfc09c74a9941fbc1270adc71f4b599b304536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1926-1937 | crates/vfs/src/posix/overlay_fs.rs:1945-1956 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"828fb69fbe874b2edbedee715797d879d9ea554f2a6a22e352a73218917a7381"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/vfs/src/posix/vfs.rs:962-972 | crates/vfs/src/posix/vfs.rs:1492-1503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46c58fb8e6d5b9a5d7dc845201d1093b11283e2869e4721a50b4416f88dc715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/posix/vfs.rs:1921-1932 | crates/vfs/src/posix/vfs.rs:2042-2053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"101f939decbf11ca8a56f3548778ccfe1bd0016f24477a89b7045185b170ff9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): software/jq/native/crates/jq/src/lib.rs:59-70 | software/yq/native/crates/yq/src/lib.rs:81-92 \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":"software/jq/native/crates/jq/src/lib.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"de74bbb87e714fbca0ef4b83a7de26ad02b1244f037f247a274269be3f6915d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): software/tar/native/crates/tar/src/lib.rs:211-222 | software/tar/native/crates/tar/src/lib.rs:223-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c545399a55fdbf69c0eaf6c6ccd4df337e1832d3e36d80f1bffcd51abfa53ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:355-365 | toolchain/crates/libs/wasi-spawn/src/lib.rs:537-548 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df8d08dc758a1267a6374194a85917d39a374b7942bd94a4ce7e933aadbe64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/native-sidecar/src/execution/child_process.rs:3518-3528 | crates/native-sidecar/src/execution/child_process.rs:3550-3560 | crates/native-sidecar/src/execution/child_process.rs:9245-9255 | crates/native-sidecar/src/execution/child_process.rs:9651-9661 | crates/native-sidecar/src/execution/child_process.rs:9699-9709 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d474cec977ab649077a2b4e012644038ae175f0623bc849f56a17860e3879aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/native-sidecar/src/execution/python/sockets.rs:511-521 | crates/native-sidecar/src/execution/python/sockets.rs:593-603 | crates/native-sidecar/src/execution/python/sockets.rs:661-671 | crates/native-sidecar/src/execution/python/sockets.rs:737-747 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd1abad2605655ba842fb1944abeb242c37a9a7aa603fafbe5bfe7ef95f000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/native-sidecar/src/filesystem.rs:3638-3648 | crates/native-sidecar/src/service.rs:5994-6004 | crates/vfs/src/posix/mount_table.rs:2679-2689 | crates/vfs/src/posix/tar_fs.rs:755-765 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8fbd069d38c48602fb61088204326695297a334652cd03031ad5163a7e8ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/execution/src/wasm.rs:627-637 | crates/execution/src/wasm.rs:663-673 | crates/execution/src/wasm.rs:693-703 \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":"crates/execution/src/wasm.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ec5913efa91b1da7e233cafb0e132efe2b9ebe0026e3dccf6e49a6b6e1f290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/kernel/src/kernel.rs:4481-4491 | crates/kernel/src/kernel.rs:4519-4529 | crates/kernel/src/kernel.rs:4590-4600 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":4481}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda141be8c93fe5ce7f85d0856a6235b23e0a9e6d89b2980c23b81829481039a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:9027-9036 | crates/native-sidecar/src/execution/child_process.rs:9096-9105 | crates/native-sidecar/src/execution/child_process.rs:9586-9596 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9027}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee47ae49ae596ac04399e5ffa370a9cc3b5ce7eebaccd9d5528294715e6a749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/native-sidecar/src/plugins/chunked_local.rs:84-94 | crates/native-sidecar/src/plugins/chunked_sqlite.rs:333-343 | crates/native-sidecar/src/plugins/object_s3.rs:69-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/chunked_local.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8624d590835c88a154d5718c110732e6ad8afaa65694c33c6fcbbf5f91f32c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/vfs/src/posix/overlay_fs.rs:1304-1314 | crates/vfs/src/posix/overlay_fs.rs:1580-1590 | crates/vfs/src/posix/overlay_fs.rs:2109-2119 \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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb670b97ff587b889511c48a47d9901fae07b8565074e892f0347a1bc7f2074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/client/src/agent_os.rs:1853-1863 | crates/client/src/agent_os.rs:1889-1899 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb76bb082f3fa742b404427c599e59675dfc7d3c7705d5216762676a414ad8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/client/src/language_execution.rs:1037-1047 | crates/client/src/language_execution.rs:1060-1070 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/language_execution.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e93645fdc6258e003d54f781713cf44e16767972b82f7083240ee7090527ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/execution/src/javascript.rs:207-217 | crates/v8-runtime/src/host_call.rs:85-95 \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":"crates/execution/src/javascript.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48490e6cefe40742b0768383b67a9570781fee5d8624ead0c3f389ab0d94fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/execution/src/v8_ipc.rs:175-185 | crates/v8-runtime/src/ipc_binary.rs:452-462 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b0c522e2275982fcb347fbe8635328840f4ed7fd27d75ba7b2c48cf745cb43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/execution/src/v8_ipc.rs:464-474 | crates/v8-runtime/src/ipc_binary.rs:606-616 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c8207d0780734be8740799b0b9a313ffcfa82a4836167c39d03cff019a497f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/execution/src/v8_ipc.rs:477-487 | crates/v8-runtime/src/ipc_binary.rs:619-629 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1d8682d9ff7577003427ba1a8f68e1695c5f6d73ce54df60c2ec19a4563686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/src/fd_table.rs:1726-1736 | crates/kernel/src/fd_table.rs:1742-1752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/fd_table.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebb1fb14bb371c1676ded95b4c29233a967f4226e23b1366d61a016ac7bc5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/src/kernel.rs:126-136 | crates/native-sidecar/src/execution/launch.rs:2542-2552 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d464d4022d324301c3abb553418ba92f7994658504d809e2f332713a84beb72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/src/kernel.rs:2745-2755 | crates/kernel/src/kernel.rs:2781-2791 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e924dc26540dfdc90444bf3d0dc1794b605ff3693af8a4e7a1d89fefeddd015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/src/kernel.rs:9325-9335 | crates/vfs/src/posix/vfs.rs:2496-2506 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":9325}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ca8b383df244056806d7502c9de56bdebd9fd08c02ed0d88958e443f98da0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/native-sidecar-core/src/router.rs:139-148 | crates/native-sidecar-core/src/router.rs:215-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/router.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"923e3c855370218f3e796c99cd7c47a3d4d19b2e3986c1a436cc552f49ffb315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4703-4713 | crates/native-sidecar/src/execution/launch.rs:5014-5024 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4703}}}],"partialFingerprints":{"codehealthFindingId/v1":"53770cda2c57a4c81e61d82c1a7d7ba5673b65819377dc64f189fd1c4f9e1b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:5495-5505 | crates/native-sidecar/src/execution/child_process.rs:5753-5762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f21054db33ad1e9678161b4e31536fa68e939193fc1560297fae44b5710a22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9327-9337 | crates/native-sidecar/src/execution/child_process.rs:9354-9364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41cdb19e7ecb04d459bb594aebe116ea805cf4cfebdadd8427104342fe9498e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9954-9964 | crates/native-sidecar/src/execution/child_process.rs:10316-10326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9954}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99d4e2fd1d099b85e45c5406af6b9322854846f3372e2339db6a74d235ba4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:1044-1054 | crates/native-sidecar/src/execution/javascript/crypto.rs:1095-1105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb623fa8b724638117a61792db247ff6d535059028a1f6c82d433a4ec45c971d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:1015-1025 | crates/native-sidecar/src/execution/javascript/http.rs:2611-2621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a3c1e16f9a4109f51c04f82579601a882fdc8ff8ff430e5abd77f937d7c519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3902-3912 | crates/native-sidecar/src/execution/javascript/rpc.rs:3965-3975 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e6b14d21b9513edad80cdfc471050d651aec6f7fd80191bab93bae9438a78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:386-396 | crates/native-sidecar/src/execution/network/http2.rs:651-660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c773d5b409abedc3051205c87a2a4e843470528702b2176e599a81ae39b371e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/process.rs:1865-1875 | crates/native-sidecar/src/execution/process.rs:1943-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"874a23283c88f16442121067ee7b13fc964587d40d3d546f58de71f18774c48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:477-487 | crates/native-sidecar/src/execution/python/sockets.rs:790-800 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"1873611d7d2586f728dbb1f1ae5b49b88061861413dceb2b838658a6517c0f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:595-605 | crates/native-sidecar/src/execution/python/sockets.rs:810-820 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"613cc459671a87242b139f47085c0b03f5e6f1735fd6ba29a66229bc7d403343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/plugins/sandbox_agent.rs:344-354 | crates/native-sidecar/src/plugins/sandbox_agent.rs:364-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/sandbox_agent.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af2e805e1a57d690f27e739df97e6de1f5c5ec1a5a0922efed91ae37e87130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/service.rs:2107-2117 | crates/native-sidecar/src/service.rs:2147-2157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7d115cdbaaa0e6402e12e09c199617096acea1515b1f33cda87df4c3eb4aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/service.rs:3467-3477 | crates/native-sidecar/src/service.rs:3582-3592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95a451395720b521c0721bb9ab0538a54c38cb8d952fe4a55b231cc6a2bce1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/v8-runtime/src/session.rs:1461-1471 | crates/v8-runtime/src/session.rs:1476-1486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e2a485f6b0d7a21c79e484ae68c467e3507eb23e1e04adad9ba366c30838ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1222-1232 | crates/vfs/src/posix/vfs.rs:2279-2289 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/engines/chunked.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e328e4fa50dca373b6e87bbf88ddcaea9b93760c4ba7aee2fbdccda8ac105dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vfs/src/engine/mem/metadata_store.rs:515-525 | crates/vfs/src/engine/mem/metadata_store.rs:551-561 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/mem/metadata_store.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5268e44db1186b1528812d8210d16666dfbde644bfbfd6d1d98f3d25df712165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vfs/src/engine/types.rs:529-539 | crates/vfs/src/posix/vfs.rs:162-174 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/types.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/vfs/src/engine/types.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f06419b5a5eeed3fd59c6313ea807fdccf331c8a9ee5e17d350fb83317df12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1767-1777 | crates/vfs/src/posix/overlay_fs.rs:1787-1797 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee1aa863fbc274ac0d7a4f7cc78fc3bf8902fad1512620ced5d40d766fad949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): crates/kernel/src/pty.rs:768-777 | crates/kernel/src/pty.rs:815-824 | crates/kernel/src/pty.rs:892-901 | crates/kernel/src/pty.rs:921-930 | crates/kernel/src/pty.rs:937-946 | crates/kernel/src/pty.rs:980-989 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c61aed7cd947fdbf0fc893ef588ac7e6eb7cf67c4ff7ad0206e0581a1635c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/native-sidecar/src/filesystem.rs:414-423 | crates/native-sidecar/src/filesystem.rs:457-466 | crates/native-sidecar/src/filesystem.rs:4053-4062 | crates/native-sidecar/src/filesystem.rs:4102-4111 | crates/native-sidecar/src/plugins/host_dir.rs:1017-1026 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c7878040058e5489c98baf049cfba64e57a0812c1b35ddbb6bfc37cfeb42fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): crates/vfs/src/posix/overlay_fs.rs:2007-2015 | crates/vfs/src/posix/overlay_fs.rs:2020-2029 | crates/vfs/src/posix/overlay_fs.rs:2034-2043 | crates/vfs/src/posix/overlay_fs.rs:2054-2063 | crates/vfs/src/posix/overlay_fs.rs:2068-2076 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a96f17215ab1164a286482963938fba8323cc9d39d8603279052f8bc4d93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/kernel/src/kernel.rs:5200-5209 | crates/kernel/src/kernel.rs:5320-5329 | crates/kernel/src/kernel.rs:5552-5561 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":5200}}}],"partialFingerprints":{"codehealthFindingId/v1":"07475e8309a3f073c1568018c4cd14d7c935d80ee4ccf8a93858ee396bc3ce09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/kernel/src/pipe_manager.rs:372-381 | crates/kernel/src/pipe_manager.rs:761-770 | crates/kernel/src/pipe_manager.rs:790-799 \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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d322934acec05378c645bcf7da2fb738cb027a0c01835d447d71fb598be7ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/native-sidecar/src/execution/javascript/http.rs:846-855 | crates/native-sidecar/src/execution/javascript/http.rs:1016-1026 | crates/native-sidecar/src/execution/javascript/http.rs:2612-2622 \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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b6fc38b945ebc34155cc47d777ade033c400eae39205f64f2f13038dba84a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/client/src/process.rs:657-665 | crates/client/src/process.rs:684-693 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8637a5bf937ca308b371c4bf016bedefda6bc519c7f1ce159fb1e3e3783b0890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/execution/src/javascript.rs:7430-7439 | crates/execution/src/javascript.rs:7493-7502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":7430}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d86115734e0feb45989f24ae01cf37bd5e1b6d0f09c8b3b3696e7a7495f1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/src/kernel.rs:3860-3869 | crates/kernel/src/kernel.rs:3923-3932 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":3860}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5561fb4cb0cd88e6d04a0736f181d01d288745866b1d87a1c894556a7e7a29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/src/kernel.rs:4136-4145 | crates/kernel/src/kernel.rs:4372-4381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":4136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8862ba4b62d98daacef3931612f3996fa644e24747082d53c9702ae5cc41e402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/src/kernel.rs:4219-4228 | crates/kernel/src/kernel.rs:4242-4251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":4219}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f7db4acfbc36e5511d34d4f4566394bcf87079244daa527450e751437eec3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:620-629 | crates/kernel/src/pty.rs:691-700 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"661c4044fce3a8d8977602a655c212ef834d725b033464e697c7bb3d4f9e6dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:720-729 | crates/kernel/src/pipe_manager.rs:736-745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f27b179e8c59ba31543f5d64d0584f506ca3743c2e120fd8eee4722bbf0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:2964-2973 | crates/native-sidecar/src/execution/child_process.rs:8635-8644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2964}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbc1f22d59c9e1a49b40585121575354a81eb7ea7fd79ed8f83b8bbccaef2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9667-9676 | crates/native-sidecar/src/execution/child_process.rs:9715-9724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9667}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a840b2f0deb1e760077ee3614571d14b87b7b0c3ee26e43a32078d8eb0604eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:10026-10035 | crates/native-sidecar/src/execution/child_process.rs:10082-10091 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":10026}}}],"partialFingerprints":{"codehealthFindingId/v1":"636a675497f364f2c1bf1ee2d434bbc87c4190abcc2381c2757934f0c80561fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:859-868 | crates/native-sidecar/src/execution/javascript/http.rs:2626-2635 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"0190ece987e789a65c6dc41e2bb92945e1b3df1d6c54ff55f6d3b5409cce31c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:1952-1961 | crates/native-sidecar/src/execution/javascript/http.rs:2567-2576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"95545f8dbf636556b7166e9c1fec5d18839638cb5cc90712d07098fac7ec5d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:967-976 | crates/native-sidecar/src/execution/launch.rs:997-1006 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e055dcad86d661582d1c873bfccb3554ab859145156cf9cc4d20a09f79e522c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:473-482 | crates/native-sidecar/src/execution/network/unix.rs:702-711 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c9b7aa269d43c0203867c88a3fc591a20137f3bc1a5b49f624c8086c3b728f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/process.rs:696-705 | crates/native-sidecar/src/execution/process.rs:735-744 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"152e14000d5225aed8345b961fd21bcebd2c4cb8c5a1a0c800f601fee2239f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/process.rs:1883-1892 | crates/native-sidecar/src/execution/process.rs:1960-1969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"45894da4a544abd52a5fabf385d07896c8854a27b51dc8a4a091e490940663e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/process.rs:1903-1912 | crates/native-sidecar/src/execution/process.rs:1979-1988 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5cc6ce8cb5d3d43617c5f5060c915a82cc5f276f6012f256dc804a3de24640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/ownership_coordinator.rs:938-947 | crates/native-sidecar/src/ownership_coordinator.rs:985-994 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/ownership_coordinator.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb3ecf9c6338831a0881e15f195f22f8ebcfbe28306f30a8a5f4528aa39d545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/process_event_broker.rs:403-412 | crates/native-sidecar/src/process_event_broker.rs:451-460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bab7a40acf533deba85afa442ee5725c22618cbad88f7ded56adca520b221d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/service.rs:3247-3256 | crates/native-sidecar/src/service.rs:3333-3342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf9da4b1c770bde95d68f493b800dc9e6cfd4feb07c9c9a4e1c1a8339485a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/vm.rs:966-975 | crates/native-sidecar/src/vm.rs:1869-1878 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ecf37d834ac223787798e34c554802e61b1d0a8b60731a7b56c396b82eaee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/runtime/src/fairness.rs:484-492 | crates/runtime/src/fairness.rs:501-510 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/fairness.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4648125ebcb2d7e67a97af0a82a2bd658dc00bc5527d7397faab2fd08016daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/runtime/src/lib.rs:1429-1438 | crates/runtime/src/lib.rs:1455-1464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0312a0093c393d1dc18f73c43245476566113c78cc119bf12f4869a218e888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/sidecar-protocol/src/wire.rs:863-872 | crates/sidecar-protocol/src/wire.rs:902-910 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/wire.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e00dfaa603896cbb8be98aeb67d63b0e7084dcd84d258933c28f6df270f524a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/v8-runtime/src/embedded_runtime.rs:245-254 | crates/v8-runtime/src/embedded_runtime.rs:325-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/embedded_runtime.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9127c6c57fe59d9589185037ae193ef06231c5fcc676671b5f599944ae7767ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/v8-runtime/src/execution.rs:1402-1411 | crates/v8-runtime/src/execution.rs:1415-1424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b835bbbefe6646944cfaf88935820f429b414e2704d07cead08b1f7da61cce02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/v8-runtime/src/execution.rs:2473-2482 | crates/v8-runtime/src/execution.rs:2515-2524 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"357f4b8f8c142825b40f53294a7c495d6a79ec3d6c3e691573f0a3e8e1f9319c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/v8-runtime/src/execution.rs:2838-2847 | crates/v8-runtime/src/execution.rs:2871-2880 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"381151bdae0b942bd9e345ba290746a73f2c033bcd3337f6c074e8f6f8b5f940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): crates/v8-runtime/src/session.rs:2907-2916 | crates/v8-runtime/src/session.rs:2964-2973 | crates/v8-runtime/src/session.rs:3116-3118 \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":"crates/v8-runtime/src/session.rs"},"region":{"startLine":2907}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cab45f9d8a5d1034eeec563658652c53c62081a39df08cf2711e0a218a9a141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/v8-runtime/src/session.rs:3850-3859 | crates/v8-runtime/src/session.rs:3868-3877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"062131bf5243377ce40acca487da9ce013c5144cea72bc78d01e1cb937a095af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/vfs/src/engine/types.rs:542-549 | crates/vfs/src/posix/vfs.rs:178-187 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/types.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/vfs/src/engine/types.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf97d04af345b5bd759717c8d3b3c2c8dbb7852b5086b5219cb79aa1934d3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:2078-2087 | crates/vfs/src/posix/mount_table.rs:2114-2123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"183ffdd8c2a3673be21f5b42b0b588725dca33db8d13c97dc87866a4491a92a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:546-555 | crates/vfs/src/posix/overlay_fs.rs:1002-1011 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37edb11fabec99ea51ee69b3f1820da21181a07dc42e1cdb5d9aae9a3a8a044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:820-829 | crates/vfs/src/posix/overlay_fs.rs:844-853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e297f9aa40ef7d8da0bbe2880523e27f6450ba69e221fdc3d668649534c23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1961-1969 | crates/vfs/src/posix/overlay_fs.rs:1980-1989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"54141d6e205de741488f655350f4a1e54aada758b16104d2b4d536e46fd887cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vfs/src/posix/root_fs.rs:928-937 | crates/vfs/src/posix/root_fs.rs:965-974 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/root_fs.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"440c7e85dc78d29a437ea3ad50e1de841917e3483bcb7d57c1256509c72a0504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vfs/src/posix/vfs.rs:814-823 | crates/vfs/src/posix/vfs.rs:1332-1341 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bbaf01d72c78677c39771c27128282809913ede798d8886ed11edd1a419283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): software/gzip/native/crates/gzip/src/lib.rs:155-164 | software/gzip/native/crates/gzip/src/lib.rs:196-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/gzip/native/crates/gzip/src/lib.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe039505d5fb3707ea8d06c0306d83651dd9ca5ba28db8c73bd873bfa84a2c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 18): crates/kernel/src/kernel.rs:3690-3698 | crates/kernel/src/kernel.rs:3753-3761 | crates/kernel/src/kernel.rs:4134-4142 | crates/kernel/src/kernel.rs:4164-4172 | crates/kernel/src/kernel.rs:4189-4197 | crates/kernel/src/kernel.rs:4277-4285 | crates/kernel/src/kernel.rs:4320-4328 | crates/kernel/src/kernel.rs:4370-4378 | crates/kernel/src/kernel.rs:4435-4443 | crates/kernel/src/kernel.rs:4565-4573 | crates/kernel/src/kernel.rs:4618-4626 | crates/kernel/src/kernel.rs:4643-4651 | crates/kernel/src/kernel.rs:4668-4676 | crates/kernel/src/kernel.rs:4693-4701 | crates/kernel/src/kernel.rs:4724-4732 | crates/kernel/src/kernel.rs:4755-4763 | crates/kernel/src/kernel.rs:4781-4789 | crates/kernel/src/kernel.rs:4804-4812 \u2014 all 18 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":3690}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ce80e9e8a3896be429c9cb5ab3788f39fa77c19aed84453d1317d752648bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): crates/kernel/src/kernel.rs:2598-2606 | crates/kernel/src/kernel.rs:2631-2639 | crates/kernel/src/kernel.rs:2667-2675 | crates/kernel/src/kernel.rs:2697-2705 | crates/kernel/src/kernel.rs:2739-2747 | crates/kernel/src/kernel.rs:2775-2783 | crates/kernel/src/kernel.rs:5061-5069 | crates/kernel/src/kernel.rs:5443-5451 | crates/kernel/src/kernel.rs:5875-5883 | crates/kernel/src/kernel.rs:5968-5976 | crates/kernel/src/kernel.rs:6105-6113 | crates/kernel/src/kernel.rs:6370-6378 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7746f65309f29cb0d36e94d9296c9b3a0eae8d2bfafa8e34e1cfdcc5390f250f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/native-sidecar-core/src/guest_net.rs:110-118 | crates/native-sidecar-core/src/guest_net.rs:145-153 | crates/native-sidecar-core/src/guest_net.rs:276-284 \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":"crates/native-sidecar-core/src/guest_net.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf45549b9378543465a9aa10e00406b0e9c26c0fa3509cdfe76c829e7b5f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/native-sidecar/src/execution/network/tcp.rs:2339-2347 | crates/native-sidecar/src/execution/network/tls.rs:924-932 | crates/native-sidecar/src/execution/network/udp.rs:200-208 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c11679a9e9eca11cd5edbc9bfbca9c90ea7b0f13407f673c9396493f571374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/runtime/src/capability.rs:475-483 | crates/runtime/src/capability.rs:517-526 | crates/runtime/src/capability.rs:551-560 \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":"crates/runtime/src/capability.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26372bd2a9d4528c0bc34884d125502d308fa3d4f1a48228f65d133fbf8b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/vfs/src/posix/vfs.rs:1309-1317 | crates/vfs/src/posix/vfs.rs:1448-1456 | crates/vfs/src/posix/vfs.rs:2133-2141 \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":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f6dda70af168363df2783c85ff8db53c97f0208fd5305080a5232f199c6db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/client/src/agent_os.rs:516-524 | crates/client/src/agent_os.rs:617-625 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"198d528b0267cf303828b80db8042075df1b2675d9db0fffc68abfa147ec4dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/client/src/agent_os.rs:2161-2169 | crates/native-sidecar/src/host_functions.rs:468-476 \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":"crates/client/src/agent_os.rs"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bd0eaa70752b14cf00fb4e1c91dae925bbbece3c8cb77387a21a18980b2e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/client/src/language_execution.rs:190-198 | crates/client/src/language_execution.rs:214-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/language_execution.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaf5bbdb1ddab1ed081a87d9f62094eb436f99127f050b8a3d437dd75108eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/execution/src/javascript.rs:196-204 | crates/v8-runtime/src/host_call.rs:74-82 \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":"crates/execution/src/javascript.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c15520b4aff6238e3c433a15bdb878ac091e0899511406ab6e3429c0debad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/execution/src/python.rs:1163-1171 | crates/execution/src/wasm.rs:1129-1137 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdcc3a66d8e4cf9cff40c22f6e77dd6ef288f5e2059a7859e6274df2c6f7e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/execution/src/python.rs:2736-2744 | crates/execution/src/wasm.rs:2306-2314 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"523939e80e462f4d772a3e4f0a314b87d5643d7f6165ca706a8d26c92ca34e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/src/kernel.rs:2806-2814 | crates/kernel/src/kernel.rs:2824-2832 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a441f5a2c77fd4d000006003e8c22fdd1b95164266170481ab331df8107e2977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/src/kernel.rs:5064-5072 | crates/kernel/src/kernel.rs:5503-5511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5064}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1c71dfcac3151bae167e44359561521693ff37c9a394cfa09744f463b6b5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:610-618 | crates/kernel/src/pipe_manager.rs:628-636 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d3356a501747fde0ff268c2cb8d2816dec309dc490d89c96c8301a7ad47b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/src/pty.rs:681-689 | crates/kernel/src/pty.rs:700-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":"crates/kernel/src/pty.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd56ced31d806ebe361d1336a983fbdf356423a4eedc1e84973eea7e27d0bf59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/src/pty.rs:952-960 | crates/kernel/src/pty.rs:966-974 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e267f923dc0adc1cb276c6f98bbf8d646dfc2c19936005a157d26a17911f7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar-browser/src/service.rs:800-808 | crates/native-sidecar-browser/src/service.rs:832-840 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3abd985df9b8cd67f4a687e5745b643bcbbc5a73d235b69dc5bb90f8006606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4136-4144 | crates/native-sidecar/src/execution/child_process.rs:4285-4293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf362ad3b77c46b877d80bc35780e6b4d5d71e633c681c58e7ce92ff73f32558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4881-4889 | crates/native-sidecar/src/execution/child_process.rs:5564-5571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4881}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c9ac57a0ed89cf3f44b4dfdbe4c448cfb93058e3a4e66eabae1e5b225f1d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4975-4983 | crates/native-sidecar/src/execution/child_process.rs:5639-5647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4975}}}],"partialFingerprints":{"codehealthFindingId/v1":"b245a161bdc661c244ec16ad9579c43f3205725aef5ed9f397ad68bbc58fd431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:9495-9503 | crates/native-sidecar/src/service.rs:4712-4719 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":9495}}}],"partialFingerprints":{"codehealthFindingId/v1":"717d93a87952adc6a08ae1f2e21da1156f647cffb4cdc4f75aa399b782146874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:10147-10155 | crates/native-sidecar/src/execution/child_process.rs:10179-10187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":10147}}}],"partialFingerprints":{"codehealthFindingId/v1":"013746701a03607d5056c364633fcbe9b6b7a0099c71f1c5e00e5f90824ebfea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:2263-2271 | crates/native-sidecar/src/execution/javascript/crypto.rs:2292-2300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a9ee6f6613741168b75d72ad468ed03fe34afa4a8aba195c261d9ed665a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/sqlite.rs:812-820 | crates/native-sidecar/src/execution/javascript/sqlite.rs:836-843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/sqlite.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd59cc15209c9ba7ba69ef74625283714d4e24b35fd2d265752f2d2ff2a1c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:256-264 | crates/native-sidecar/src/execution/launch.rs:303-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0242ff6e82d2c8a7dad3cdec87a268b4d05e40fba4c72c21b0162317d4f332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:2192-2200 | crates/native-sidecar/src/execution/launch.rs:2208-2216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebc432a568efb7245723a21a32fed446c5fbe4b000d9eda732f8e1160189f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:2809-2817 | crates/native-sidecar/src/execution/network/tcp.rs:2843-2851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e449b727ef38dd8b23cf4ffec09d9ce9dee4127debcbe7d27ee79d8baf97607d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/process.rs:1273-1281 | crates/native-sidecar/src/execution/process.rs:1307-1315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3440be69b172749c389335f28fab125dcfeb0668123c280ffd7a0d23b919840d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:2580-2588 | crates/native-sidecar/src/filesystem.rs:2618-2626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"257319a52dc583f400e80e8f6da3ef8dd2a823b4240111b150c4f226ef9044e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/native-sidecar/src/plugins/agentos_packages.rs:82-89 | crates/native-sidecar/src/plugins/agentos_packages.rs:97-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/agentos_packages.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c0e7e2e0a858a24ceed18546a39be780e62a49f3c46718d4873d84d66d809b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/process_event_broker.rs:576-584 | crates/native-sidecar/src/process_event_broker.rs:749-757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f287fd05a355ab50821a08a718b5ca0f27558cba677c4440d30576cf1156939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/runtime/src/lib.rs:1490-1498 | crates/runtime/src/lib.rs:1518-1526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c440925a83f85d59171ca9374b83d3f33ab674a1e48ff276de4f321d5e1fa6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/sidecar-protocol/src/protocol.rs:2499-2507 | crates/sidecar-protocol/src/protocol.rs:2591-2599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"100066301e2758454ca41e7d74efd2eeb9548900a6dbc676c603d3ebad92ac04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs-store/src/s3/block_store.rs:168-176 | crates/vfs-store/src/s3/object_backend.rs:271-279 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/s3/block_store.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc32c6722264df12881ee5b8082cb99a80baceb94cd01e906a48c49a246a6c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1237-1245 | crates/vfs/src/engine/types.rs:146-154 \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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e9dab33ff2dfd314ba9da858de55c2d2e03a621950a01b55c5e0ea44bb1736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1320-1328 | crates/vfs/src/posix/vfs.rs:2456-2464 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/engines/chunked.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef479f316f613b61f4491acc9a21322fc6038e07f1e65238e015f093f3144bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/vfs/src/engine/mem/metadata_store.rs:388-395 | crates/vfs/src/engine/mem/metadata_store.rs:406-414 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/mem/metadata_store.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dd7589c40542989ae0795c49296ce32182138b3aafdc3fe7d2b981788531e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:1906-1914 | crates/vfs/src/posix/mount_table.rs:1925-1933 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"617809e0093c8694fe4f47ce6c3531772c0c9d8820df2973231f151a37d36f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:2089-2097 | crates/vfs/src/posix/mount_table.rs:2125-2133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"914f0f9eec8f0de4a8263cab370485bfaf7b626fd9c1934eb6a87ba61f67ebe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:149-157 | crates/vfs/src/posix/vfs.rs:957-965 \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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"06127ea0ba8c18f6d0154594b1b750549b005513917d61b7ab1b256e27577925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1494-1502 | crates/vfs/src/posix/overlay_fs.rs:1520-1528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"12503ed5b5ac5193696306e539b991cfbc074a65866e8d67e67f6283a4e931ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/posix/root_fs.rs:918-926 | crates/vfs/src/posix/root_fs.rs:955-963 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/root_fs.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f6fde331db7a62f5f6ef87f2552a2f2a36492974d12394b3718c0127b21ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/posix/vfs.rs:1961-1969 | crates/vfs/src/posix/vfs.rs:1996-2004 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d6201777d5156456cddc08ff5af31f2eeecf0d811f2a30497723b850a5bd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): software/diffutils/native/crates/diff/src/lib.rs:356-364 | software/diffutils/native/crates/diff/src/lib.rs:370-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"c772e418124df7132d7016f04b5eeb727a6ff9514b2277829d6e536e2095d431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): toolchain/crates/libs/shims/src/nice.rs:39-47 | toolchain/crates/libs/shims/src/stdbuf.rs:42-50 \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":"toolchain/crates/libs/shims/src/nice.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3ef49d3ec0deb5da3e8f2f1dce937bf6ea67eca2ede693402b9d0e50a5ea71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): toolchain/crates/libs/shims/src/nohup.rs:25-33 | toolchain/crates/libs/shims/src/stdbuf.rs:48-56 \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":"toolchain/crates/libs/shims/src/nohup.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"950f9b7e0263f0c87af4a1aea608e578cd0be852eb22505bff26b3fb9f62b067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/kernel/src/kernel.rs:2632-2639 | crates/kernel/src/kernel.rs:2668-2675 | crates/kernel/src/kernel.rs:2698-2705 | crates/kernel/src/kernel.rs:2740-2747 | crates/kernel/src/kernel.rs:2776-2783 | crates/kernel/src/kernel.rs:5062-5069 | crates/kernel/src/kernel.rs:5501-5508 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa0c5f31ca93238e38b075cc7d045ef9702e4d09de1cd0c2176ac20aaa90197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/native-sidecar/src/language_execution.rs:1131-1138 | crates/native-sidecar/src/language_execution.rs:1182-1189 | crates/native-sidecar/src/language_execution.rs:2538-2545 | crates/native-sidecar/src/language_execution.rs:2588-2595 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68ef1dc1c9efdc5c6a8cd8679c704165a3de787f644c0b89bb8ba486f2aa120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/v8-runtime/src/session.rs:3850-3857 | crates/v8-runtime/src/session.rs:3868-3875 | crates/v8-runtime/src/session.rs:3987-3994 | crates/v8-runtime/src/session.rs:4047-4054 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffb9cff8853cfa018cce0bb0776d3060540399e2d651a9b479826b248c2ff88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/execution/src/javascript.rs:124-131 | crates/native-sidecar/src/execution/process_events.rs:415-422 | crates/v8-runtime/src/session.rs:573-580 \u2014 before extracting anything, compare \u0060crates/execution/src/javascript.rs\u0060 and \u0060crates/native-sidecar/src/execution/process_events.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"crates/execution/src/javascript.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e03ba9926d601999030613f3418ffea3beecf282b9ba85ce0197017ed08952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/kernel/src/kernel.rs:2599-2606 | crates/kernel/src/kernel.rs:5202-5209 | crates/kernel/src/kernel.rs:6371-6378 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"2216fc357f42f81c05f16caec33c4afd59adc6e384f7d198739f4dcd485fd688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:3337-3344 | crates/native-sidecar/src/execution/process_events.rs:770-777 | crates/native-sidecar/src/execution/process_events.rs:1230-1237 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"045c925202fef63b655a5bffc7b9e24ec8d72b1dc0ceb6c9743178dc029407e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/native-sidecar/src/execution/network/tcp.rs:742-749 | crates/native-sidecar/src/execution/network/tcp.rs:761-768 | crates/native-sidecar/src/execution/network/tcp.rs:1281-1288 \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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0062eb95e073185bd6b0b069d731a41506b0ccd1d73b27884c9254fd8a4c49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/native-sidecar/src/vm.rs:4789-4795 | crates/vfs/src/posix/root_fs.rs:859-865 | crates/vfs/src/posix/root_fs.rs:987-994 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":4789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8440beb720ba63b1f2cbdb6ec3ae38c25ec1f3d09e7380bd5b228afea82efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/client/src/agent_os.rs:2336-2343 | crates/client/src/agent_os.rs:2366-2373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/agent_os.rs"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af09501bf21460188638a3adce33cdb1d3f9b62c555415dca148f151a45703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/execution/src/node_import_cache.rs:2570-2577 | crates/execution/src/node_import_cache.rs:2614-2621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/node_import_cache.rs"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef05f19e23393981b57de6b199a93ea61685bf883c0def4e67768799907b000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/execution/src/v8_ipc.rs:128-135 | crates/v8-runtime/src/ipc_binary.rs:168-175 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fab689b788ab03fd299186afa002c3a4ec10c04a36db85ef553b3a64571b863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/execution/src/v8_ipc.rs:159-166 | crates/v8-runtime/src/ipc_binary.rs:432-439 \u2014 before extracting anything, compare \u0060crates/execution/src/v8_ipc.rs\u0060 and \u0060crates/v8-runtime/src/ipc_binary.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 317 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":"crates/execution/src/v8_ipc.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b8480de188c305c5b2707f92fc004f93b0fce84570ae1a661c4b3698c3e2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/kernel.rs:276-283 | crates/kernel/src/kernel.rs:293-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfd81db8a4b5538cc07edd1465f4aa81b302565915bcc0f866ae09c110a4a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/kernel.rs:4842-4849 | crates/kernel/src/kernel.rs:5751-5758 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":4842}}}],"partialFingerprints":{"codehealthFindingId/v1":"092f552ea905d6a051e44dc8fb79fdc2b47e34b43d48c2ab96558e91870b7018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/kernel.rs:9559-9566 | crates/kernel/src/kernel.rs:9576-9583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":9559}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a3f212711457d1233ac408286cfa1eebec5093e84f2d860bac7e268a0ca41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:654-661 | crates/kernel/src/pipe_manager.rs:664-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e565f029a05d412c143e5278aa0889d607f7bcd7a80faac8a863777b99c6321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/pty.rs:580-587 | crates/kernel/src/pty.rs:609-616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae10524d2c3c152a29720e2dde31eb721758d945978342018bb8808d103e380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/socket_table.rs:1467-1474 | crates/kernel/src/socket_table.rs:1476-1483 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8834d31c9c159f8ca3f9dfb141682a1797c9f9b03c4bf39053716a983517dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/src/socket_table.rs:2222-2229 | crates/kernel/src/socket_table.rs:2365-2372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c914d85476b0a9bfdffcb0284e4c3bf723de2e391777d03f9e91362ce980644d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar-core/src/vm_fetch.rs:155-162 | crates/native-sidecar/src/execution/javascript/http.rs:234-241 \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":"crates/native-sidecar-core/src/vm_fetch.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5b45f94cf3059438ac423cce10e761605f64b244bcb54496929c4b7154798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:5361-5368 | crates/native-sidecar/src/execution/child_process.rs:5893-5899 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05b44047f8aa2acd8abbc833500c24d734c3bf58c4f202e32ca1ae633336b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:461-468 | crates/native-sidecar/src/execution/javascript/crypto.rs:1454-1461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"21add4459fed3ac7443f10e4fb58eb78fd367df30ffa9557cce43aae2d0d615b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3725-3732 | crates/native-sidecar/src/execution/javascript/rpc.rs:4403-4410 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7297e4405cb3ecf7d4f23d87ea97f4f076c377381941bb74ef31d97870b93254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:423-430 | crates/native-sidecar/src/execution/network/unix.rs:655-662 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"638afac40f8e4407bf0c9e9a8f508f2494ca997bab03c26326df9e03742b98c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:758-765 | crates/native-sidecar/src/execution/process_events.rs:1218-1225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"435454af747431f2c77650c52e27af1d85ed40fddcf938fb094567a2579c5634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:5573-5578 | crates/native-sidecar/src/filesystem.rs:5609-5616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":5573}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c906e215bf5ce596d89aae77ba1abea599a489e318f85334cfccf88f3ed7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:1216-1223 | crates/native-sidecar/src/language_execution.rs:2627-2634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d401e1875dbafa20e8d93af727b6c03629a3a58c9ee2cec340817105431736f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/plugins/chunked_sqlite.rs:768-775 | crates/native-sidecar/src/plugins/chunked_sqlite.rs:790-797 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/chunked_sqlite.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4acf12e7ff0ced414ee7ccc378ed28e5bfa761382bdf07bf96f7cda2da4fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/native-sidecar/src/plugins/host_dir.rs:1676-1682 | crates/native-sidecar/src/plugins/host_dir.rs:1721-1728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c7849ab2e8a8562682ad4f4c7f832a273079de30905eaf71a6261627cb922b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/service.rs:2861-2868 | crates/native-sidecar/src/service.rs:2873-2880 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"17579e775ae64b7d3850845767a034e283a37d5385c1fff6744d5a92456f1fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:1010-1017 | crates/native-sidecar/src/stdio.rs:1183-1190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e320a2b595dbbdeee99eacb9c663e3469c69d05f17b955c0e18b4071aea025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/vm.rs:815-822 | crates/native-sidecar/src/vm.rs:1730-1737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc01dd407fe9b534335b66aabdacc8ad4d952dd1748667c833c57c9a3caaa3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): crates/native-sidecar/src/vm.rs:1499-1506 | crates/native-sidecar/src/vm.rs:2256-2261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea4e94f98dcea31e4b4cd2b8ad210c7fbdc2a974e6193e88b16ea430caa2991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/runtime/src/lib.rs:1436-1443 | crates/runtime/src/lib.rs:1496-1503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c378d6defbd09ea24d1381e3c4d1b20be355905312f8f05b4b92862378718236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/v8-runtime/src/bridge.rs:797-804 | crates/v8-runtime/src/bridge.rs:872-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc1e6ff1c0fbce32acd4a8b0497351487b711b7d33b2a66d3e876bfd96a0b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/v8-runtime/src/execution.rs:1039-1046 | crates/v8-runtime/src/execution.rs:1050-1057 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"982060dcebe4ec7f3ae65fb168c7ae9018d353252bd290f62e05cce888a989fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/v8-runtime/src/execution.rs:1666-1673 | crates/v8-runtime/src/execution.rs:1702-1709 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa903d6c066ccce0a27bbb9707b546fe61891dc5786b8ea3a2bc7bd1ce3a000e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): crates/vfs-store/src/local/file_block_store.rs:129-136 | crates/vfs/src/engine/mem/block_store.rs:42-49 | crates/vfs/src/engine/mem/object_backend.rs:77-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/local/file_block_store.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"72549a7b3d86a5fc038baef7870f75df1af6344bd04d6956344944b7a1b8e4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1310-1317 | crates/vfs/src/posix/vfs.rs:2439-2446 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/engines/chunked.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00d454ed02f47e8957a836ce01c9c5569129a8447d9ec09df37800b34969d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): software/diffutils/native/crates/diff/src/lib.rs:400-407 | software/diffutils/native/crates/diff/src/lib.rs:439-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2282b3368c4e4656d8d335b481c976a0d5d789596f24f742ee171ddc61fa5cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): software/jq/native/crates/jq/src/lib.rs:290-297 | software/yq/native/crates/yq/src/lib.rs:893-900 \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":"software/jq/native/crates/jq/src/lib.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a01e3fdc5e7f828701dfbe25487f43a5d9a0d47f1a808374df898c6f1a931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/vfs/src/posix/vfs.rs:1927-1933 | crates/vfs/src/posix/vfs.rs:1961-1967 | crates/vfs/src/posix/vfs.rs:1996-2002 | crates/vfs/src/posix/vfs.rs:2048-2054 | crates/vfs/src/posix/vfs.rs:2074-2080 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cd168c40250ef9fc687e198e564487394874abea9a6b995a87203795789e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): crates/vfs/src/posix/overlay_fs.rs:153-159 | crates/vfs/src/posix/overlay_fs.rs:232-237 | crates/vfs/src/posix/vfs.rs:961-967 | crates/vfs/src/posix/vfs.rs:1491-1497 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeff789fe351f3b8bfb5a5a22a5163f92fd904d034cd4099f3a760c150bb3143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/kernel/src/kernel.rs:2712-2718 | crates/kernel/src/kernel.rs:2751-2757 | crates/kernel/src/kernel.rs:2787-2793 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc963ed885e91f980f82e59c5fdb10cac67ec04d60802a8fed18b9bd05634e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 3): crates/vfs/src/posix/mount_table.rs:2053-2057 | crates/vfs/src/posix/mount_table.rs:2065-2071 | crates/vfs/src/posix/mount_table.rs:2101-2107 \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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dd51c685a9a107e310844d11a3ec8e756e76a2987bd997729ba281fa81b21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): toolchain/crates/libs/shims/src/grep_alias.rs:25-31 | toolchain/crates/libs/shims/src/nohup.rs:27-33 | toolchain/crates/libs/shims/src/stdbuf.rs:50-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/shims/src/grep_alias.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"23081faf013c49fb3cf453937003983fbb56ef371c1af77e3309d400396d726d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/client/src/software.rs:1458-1464 | crates/client/src/software.rs:1487-1493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/software.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3c572ebf6510207c55bdc5112fa45160bbba73db27642f0bfa6133d6c648ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/execution/src/javascript.rs:7422-7428 | crates/execution/src/javascript.rs:7485-7491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":7422}}}],"partialFingerprints":{"codehealthFindingId/v1":"5506a671546bd4de41a6ff8c456c216c4bc4940902989b037c1532cfda87e6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/execution/src/python.rs:2747-2753 | crates/execution/src/wasm.rs:2317-2323 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6765c09dc3efc148fd418b04d77f45d20a152413e8e78317af2a9cd5556c3d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/execution/src/wasm.rs:3043-3049 | crates/execution/src/wasm.rs:3075-3081 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed4050185c201199acf3b59288eacb89f2942b0be71413d58870f8351654859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/src/kernel.rs:3978-3984 | crates/kernel/src/kernel.rs:5088-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":"crates/kernel/src/kernel.rs"},"region":{"startLine":3978}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a005ef7ab761d451e3a4badeb9eccdb46b3ab5396d1b86d6243e06b479d9975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/src/kernel.rs:5514-5520 | crates/kernel/src/kernel.rs:5563-5569 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":5514}}}],"partialFingerprints":{"codehealthFindingId/v1":"098f2c3f319da9d9ffd22fcfe285f1c1b25db4f31d64a4701d267cfec5a5a04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/src/kernel.rs:7338-7344 | crates/kernel/src/kernel.rs:7376-7382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":7338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed7ff8c5dce7bec398acd1987df80ae9649fb372ea4eacf7737fe9b07fb5546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:12498-12504 | crates/native-sidecar/src/execution/stdio.rs:269-275 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":12498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2932a011c51079616c8b5149467a3b81499c6bf69daf98341d20a64c86545fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:2520-2526 | crates/native-sidecar/src/execution/javascript/rpc.rs:4739-4745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"26765e08da8a2f9da9fe4aa0f9679236b3c0934a084725c707723a8d7b7922bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:4196-4202 | crates/native-sidecar/src/execution/launch.rs:4260-4266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2479933cb31f19f034f036ae2943b7790748f50a589ca9e24d926479847bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:442-448 | crates/native-sidecar/src/execution/network/unix.rs:672-678 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcae492e8a0773bb7986a638866080ba98ac44f87ba3ca408632524c5a96bc07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:2588-2594 | crates/native-sidecar/src/execution/network/unix.rs:1729-1735 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9452b3564fb3777acf1ddd8494bb2aef5cb6694f437ef42d9cbd38b8848af2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/network/tls.rs:1339-1345 | crates/native-sidecar/src/execution/network/tls.rs:1596-1602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tls.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee44ea0d2a714ec79a4605b491cea5fefdb3701e321ad25ad5f31f33764d6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:1043-1049 | crates/native-sidecar/src/execution/process_events.rs:1590-1596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2942aa7bd75234553291f1187adfe838c953cf7a51caeca835260e1a9e648b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/python/rpc.rs:413-419 | crates/native-sidecar/src/execution/python/rpc.rs:570-576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/rpc.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"11147d30c52ac52875c2d1db9b8ad38bc291971c9291ca095b3cbcfaa65559bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:981-987 | crates/native-sidecar/src/execution/python/sockets.rs:1095-1101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"658e89c549392c378c94ff399982b8adca5fca9aeae50ac63211002664c80ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:1000-1006 | crates/native-sidecar/src/filesystem.rs:1009-1015 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"e996edd3a17cac367419b736c4b9aefc09632ff02898e111b2bff827ca442278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:3847-3853 | crates/native-sidecar/src/plugins/host_dir.rs:1052-1058 \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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3847}}}],"partialFingerprints":{"codehealthFindingId/v1":"55230343d5c636b62974736af68b939f1927362786cbb8b507268a65cf4a5833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:277-283 | crates/native-sidecar/src/language_execution.rs:370-376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"746b66c779cdc80dfbdd9ad7619caf5b9a712277700aa9dec3464b34a9d15b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): crates/native-sidecar/src/language_execution.rs:567-570 | crates/native-sidecar/src/language_execution.rs:601-607 | crates/native-sidecar/src/language_execution.rs:619-625 \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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9606e664d3ab0b32583bc02a4c1c0e4c871604af1b608c2f8209facdc550c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/service.rs:1848-1854 | crates/native-sidecar/src/service.rs:1892-1898 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8fe01e4a6791ae23789e2394590cba912d9f82ffd7973de286c38fa43be8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:956-962 | crates/native-sidecar/src/stdio.rs:1001-1007 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a77fb17478a0f69ae03fb25ac46f175c18b2d6be905d9265ca85d27ea88c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/vm_sqlite.rs:407-413 | crates/native-sidecar/src/vm_sqlite.rs:490-496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm_sqlite.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1c851e67eeb488c117aa4dffa1240632162d8b17ab59ad57800c16705bcbff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/sidecar-protocol/src/protocol.rs:2482-2488 | crates/sidecar-protocol/src/protocol.rs:2574-2580 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd68b35fd31e3d7b4c74b22b8bb4ab564525c1d9d9f5a9b7a332e49fcb12dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/v8-runtime/src/execution.rs:1109-1115 | crates/v8-runtime/src/execution.rs:1266-1272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b407788248bbb9a5346bdcaab205ffb846e76f5a96b37824100f286275ec99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vfs/src/engine/cache.rs:102-108 | crates/vfs/src/engine/cache.rs:130-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/cache.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4901a71edd6a1898bb5f821b9e24453e9db45b9bee859a9cb9b8f97697387b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:2466-2472 | crates/vfs/src/posix/mount_table.rs:2484-2490 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72d549f5b582d0470bb1d75e59bfcc58b093920c5bdb42bbe1c862bc668d2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): software/diffutils/native/crates/diff/src/lib.rs:421-427 | software/diffutils/native/crates/diff/src/lib.rs:448-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc4249b7061b3767ee2944ceefcd1dc6ec5edd52bac1020feb310cd5c301c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:253-259 | toolchain/crates/libs/wasi-spawn/src/lib.rs:398-404 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce9052f04eef6ae6f27894db51597d1bce96e26a05a9913156d907cf3c8c653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/vfs/src/posix/mount_table.rs:247-252 | crates/vfs/src/posix/mount_table.rs:264-269 | crates/vfs/src/posix/vfs.rs:634-639 | crates/vfs/src/posix/vfs.rs:653-658 \u2014 before extracting anything, compare \u0060crates/vfs/src/posix/mount_table.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c751c7963257e25062c0640a1aaf5357308cb4a334c5d60e3a070c92b6aac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/kernel/src/kernel.rs:5453-5458 | crates/kernel/src/kernel.rs:5513-5518 | crates/kernel/src/kernel.rs:5562-5567 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":5453}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa8e622d5e1f2f283ee284f48c84bba96b8cbaf6dc25b13e2db90c0c51d16d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:4880-4885 | crates/native-sidecar/src/execution/child_process.rs:5563-5568 | crates/native-sidecar/src/execution/launch.rs:5188-5193 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/child_process.rs\u0060 and \u0060crates/native-sidecar/src/execution/launch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4880}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e38e2c79fea4afd0b4ae51ebed858d4d99f7171d5cd0f0bb11ea0da3786ec8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): software/tar/native/crates/tar/src/lib.rs:808-813 | software/tar/native/crates/tar/src/lib.rs:823-828 | software/tar/native/crates/tar/src/lib.rs:865-871 \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":"software/tar/native/crates/tar/src/lib.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"4782d8605138bc1ff3aeec52d06a6cc3c7a524ef7ed4852e73a2b5c0c3822454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/execution/src/javascript.rs:2301-2306 | crates/native-sidecar/src/filesystem.rs:1357-1363 \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":"crates/execution/src/javascript.rs"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c1946db100f09dd646ae1de076164f4eed4d51a23ebd269dcc6dc4e5553093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/src/fd_table.rs:346-351 | crates/kernel/src/fd_table.rs:357-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/fd_table.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"099015e0745feed01a6f5adc82099df77a76630cc6d14886a3f40c4e40703821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/src/kernel.rs:4950-4955 | crates/kernel/src/kernel.rs:5691-5696 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":4950}}}],"partialFingerprints":{"codehealthFindingId/v1":"0440f45132be623e5458cf80eeb2f79c2edd71485a80b156d380093c3c7eb0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/src/pty.rs:1252-1260 | crates/kernel/src/pty.rs:1299-1304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/pty.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36c1bc58f992397a164db45967fcd7cb62dbe4c1b805baf08e02378aac8c979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:3471-3476 | crates/native-sidecar/src/execution/launch.rs:3493-3498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4880d4ab7d0af3e1d99835a0d8017a35cd767e4bc291d3943f33a27df31a94df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:967-972 | crates/native-sidecar/src/execution/network/tcp.rs:1346-1351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24bf23e4ccce71b180781ba5b1d0c2bbf9846085c7183d7dfa98bdbb56f76bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:382-387 | crates/native-sidecar/src/plugins/host_dir.rs:972-977 \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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f413c82a4666267b3bb1b41fda4942eb9abf1bcfd27f1bd1d94e361a1e3c8be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/sidecar-protocol/src/wire.rs:984-989 | crates/sidecar-protocol/src/wire.rs:1013-1018 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/wire.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"3815f9a8a3be711131d2943594f625d34df54fe6a8ceafcedfba3b00ab1b3649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1881-1886 | crates/vfs/src/posix/overlay_fs.rs:1906-1911 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"394a8ef8986f2bae929cff84c3426daaf6f3a112ae8f4c5d5a3c3360264dd05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vfs/src/posix/vfs.rs:2098-2103 | crates/vfs/src/posix/vfs.rs:2113-2118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/vfs.rs"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8c5a15db9b5cf152fb5da9245841ea1511e229dcabefe3e3ec1bc5d9358337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): crates/vfs/src/adapter/mounted_fs.rs:259-263 | crates/vfs/src/adapter/mounted_fs.rs:276-280 | crates/vfs/src/adapter/mounted_fs.rs:301-305 | crates/vfs/src/adapter/mounted_fs.rs:359-363 | crates/vfs/src/adapter/mounted_fs.rs:405-409 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/adapter/mounted_fs.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7863b3764186c0bc6a535dc25acd287feaa5b59816cc549ce95352f21c9a1aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:5363-5367 | crates/native-sidecar/src/execution/child_process.rs:5894-5898 | crates/native-sidecar/src/execution/child_process.rs:7979-7984 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf51ad628652299693b85074fff10d7bce99f26b617634e4fd6f975b14635794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/native-sidecar/src/execution/launch.rs:4915-4919 | crates/native-sidecar/src/language_execution.rs:853-857 | crates/native-sidecar/src/language_execution.rs:1854-1858 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4915}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28e41b76e801d4cea11a1593461910eb8077f191bd66e057c517f5725014f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/execution/src/python.rs:1550-1554 | crates/execution/src/wasm.rs:2859-2863 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"040d5e9c920cd887505744568221c3eec56a1f8a4ecae30314021f9035fc9ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:4928-4932 | crates/native-sidecar/src/execution/child_process.rs:5605-5609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4928}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9719817005534064ee6d3eaf7ff75cee53263def57755da12e7c85c7f04c11f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/http.rs:1072-1077 | crates/native-sidecar/src/execution/javascript/http.rs:2275-2279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df263fcc87d1b315a81f0bb15e00c5f5c7a109bc614e3fcf042a8340ad5789a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/execution/process.rs:2510-2514 | crates/native-sidecar/src/execution/process.rs:2554-2558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":2510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af7b0947b6b0334580889b94c980f24556981aeec637ab5ac44256294e2f56c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/plugins/sandbox_agent.rs:432-436 | crates/native-sidecar/src/plugins/sandbox_agent.rs:521-525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/sandbox_agent.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"64915b76647241e3881d39d2b47263517abacd09cd875f6ee8eab6f4b254cb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4238-4242 | crates/native-sidecar/src/stdio.rs:4325-4329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aec00c55dfe1f164b3768c787de7e8a458e6726a5b5c6eb9d3accfb02915c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4251-4255 | crates/native-sidecar/src/stdio.rs:4338-4342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4251}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff4f3c7d4ac9e43600f37dbdcabd87cd6e90f3570a8a74ec5761113e1e58277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/v8-runtime/src/bridge.rs:1324-1328 | crates/v8-runtime/src/bridge.rs:1330-1334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee501558d5db8e6b10df0e1ef173216e1bdc2be4957af62b405b7f5f33e86ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/v8-runtime/src/execution.rs:2248-2252 | crates/v8-runtime/src/execution.rs:2301-2305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e6829864f8949cc436caf8f5a0fddf4ae404ee68dcca78f2959df53129bc4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:442-446 | crates/vfs/src/posix/overlay_fs.rs:482-486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cbd8192260e79006d2f6a46afb35d8b4d6075bbe6821a79aa7a261ce0ee62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/vfs/src/posix/overlay_fs.rs:1112-1116 | crates/vfs/src/posix/overlay_fs.rs:1334-1338 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"172cbdf8a157e566dc1912ff364b95dcec6c30388bf08dd9bb6ccb260a038abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): software/coreutils/native/crates/cmd-df/src/main.rs:134-138 | software/coreutils/native/crates/cmd-findmnt/src/main.rs:206-210 \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":"software/coreutils/native/crates/cmd-df/src/main.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73a8c139dd054b59274d3d88fd7ec978303d0edf78b89c01fd4f4c52f3d7f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): software/coreutils/native/crates/cmd-df/src/main.rs:153-157 | software/coreutils/native/crates/cmd-findmnt/src/main.rs:226-230 \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":"software/coreutils/native/crates/cmd-df/src/main.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66bfefddebe7cc5aa95cbbc74e5196a529c65248915bdd231bdbdbd7f3f41e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/client/src/command_line.rs:14-20 | crates/native-sidecar/src/execution/launch.rs:4451-4457 \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":"crates/client/src/command_line.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f8c938a61254531dc35ba3e4bf2e0fc834642378c7ddbb803c8bd43a8d7187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/client/src/fs.rs:421-427 | crates/client/src/net.rs:305-311 | crates/client/src/process.rs:1577-1583 | crates/client/src/shell.rs:294-300 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/fs.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d93509203b015a8f6d1d6936fff659348cc33923e446f87d1cc24a34d16fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/execution/src/javascript.rs:1475-1484 | crates/execution/src/wasm.rs:2106-2115 \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":"crates/execution/src/javascript.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb0a291f4d59a0739646536a54170c9b6536177802cb184970b98b6fa8f7d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/execution/src/python.rs:1106-1116 | crates/execution/src/wasm.rs:1099-1109 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f29ee6ab1da5c493b7a095f718c36007159ed283d719f90e329a58b2ddea780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/execution/src/python.rs:1187-1194 | crates/execution/src/wasm.rs:1154-1161 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5695d6fe9975291b95416e8d2b05a036f5ead3ccf38da64af5e315a9ce02ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/execution/src/python.rs:1400-1406 | crates/execution/src/wasm.rs:1422-1428 \u2014 before extracting anything, compare \u0060crates/execution/src/python.rs\u0060 and \u0060crates/execution/src/wasm.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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":"crates/execution/src/python.rs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bb7591c1484ff84ac6e8acb1f7c8105b9937b07f8622ccd16259bd253624a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/execution/src/python.rs:2807-2816 | crates/native-sidecar/src/execution/javascript/rpc.rs:339-348 \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":"crates/execution/src/python.rs"},"region":{"startLine":2807}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9a122d5fada9f3a7696ddc1efdfa273bf0823f1d0901fa3be15f6211167037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/execution/src/v8_host.rs:219-224 | crates/execution/src/wasm.rs:4395-4400 \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":"crates/execution/src/v8_host.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d9d62fd8c88bef68273900971dfb3fa417ac2c24deed642fbedad8a0637f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/kernel/src/kernel.rs:9178-9183 | crates/kernel/src/pipe_manager.rs:887-892 | crates/kernel/src/poll.rs:250-255 | crates/kernel/src/pty.rs:1485-1490 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/kernel.rs"},"region":{"startLine":9178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a578187674e64f2d4f708ac7af2341384551591c75d938063d76c9ca935c1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/src/pipe_manager.rs:822-827 | crates/kernel/src/pty.rs:1036-1041 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caa5f339d327ca69f334820f2c89a693583f62cc2bf094b4b082fcbb7d84be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:4983-4990 | crates/v8-runtime/src/bridge.rs:2229-2236 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":4983}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a445e792f7cd3c869f5ec5d3cb639cb214d4d56c9d0e89974772d9865d7b723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:1928-1934 | crates/native-sidecar/src/execution/network/unix.rs:1425-1431 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"659b870fba763bbb66b0a40374146bd2632336ef4ca38bdc2172c363596794ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/extension_services.rs:1323-1333 | crates/native-sidecar/src/service.rs:5766-5776 \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":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa790431f6e1afe7bbbde1217857f2d505815b33e976a9dd2d236a9f8b3fd36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/native-sidecar/src/filesystem.rs:3650-3656 | crates/vfs/src/posix/mount_table.rs:2691-2697 | crates/vfs/src/posix/tar_fs.rs:767-773 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":3650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411749cb196df99ac64f9aeadb1cdd0ea504337b5371dce9a3bf6b03a095aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/plugins/host_dir.rs:1901-1907 | crates/native-sidecar/src/plugins/sandbox_agent.rs:1282-1288 \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":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12902f1665e031688071b3ef94e7910f9ecdd958bc9257b34d75d9f95139e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/request_operations.rs:748-754 | crates/native-sidecar/src/stdio.rs:4205-4211 \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":"crates/native-sidecar/src/request_operations.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"c620fef64c7c36ba127f1dcd43bbc49466f24eb3ebe1c09a58fa230f614c9c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/sidecar-protocol/src/protocol.rs:3265-3274 | crates/sidecar-protocol/src/wire.rs:1222-1230 \u2014 before extracting anything, compare \u0060crates/sidecar-protocol/src/protocol.rs\u0060 and \u0060crates/sidecar-protocol/src/wire.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":3265}}}],"partialFingerprints":{"codehealthFindingId/v1":"046664dfb9a46c8e9b5fb7e6ce5de71168a01ff224133004d01cb074002cf438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1207-1213 | crates/vfs/src/posix/vfs.rs:2262-2268 \u2014 before extracting anything, compare \u0060crates/vfs/src/engine/engines/chunked.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c444e9b3bc9d08119f215b4bb3cb2039e41d2c1fae86960b771da3128c0af36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:19-30 | crates/vfs/src/posix/vfs.rs:296-307 \u2014 before extracting anything, compare \u0060crates/vfs/src/posix/mount_table.rs\u0060 and \u0060crates/vfs/src/posix/vfs.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4754553fd6ca6b5eb9a2bc1ce183a726c18e70c041a21c360ce17c441948ecaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:2662-2668 | crates/vfs/src/posix/tar_fs.rs:738-744 \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":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b6fe623029f065c6e74d5fc90fa8a0a5e913b7518cbfa70be4e9b76a7840ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vfs/src/posix/root_fs.rs:203-210 | crates/vm-config/src/lib.rs:669-676 \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":"crates/vfs/src/posix/root_fs.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e8b6f850de12fecb8c69b1eb7945e319f9744317c47a5ca268c21d7c6337e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vfs/src/posix/tar_fs.rs:241-247 | crates/vfs/src/posix/vfs.rs:1319-1325 \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":"crates/vfs/src/posix/tar_fs.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8727a38a8336d784bcb83f7d0b44a019f7d2a6ae8168390eb2870d74a4874b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): software/curl/native/crates/cmd-curl/src/main.rs:153-158 | toolchain/crates/commands/http-test/src/lib.rs:14-19 \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":"toolchain/crates/commands/http-test/src/lib.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dae6b3e7a67fd3cb993a7edb6e3ec2bfbb05a4c270cfa52ac75ca2204343b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): toolchain/crates/libs/builtins/src/lib.rs:69-76 | toolchain/crates/libs/shims/src/timeout.rs:133-140 \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":"toolchain/crates/libs/builtins/src/lib.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0dabf9495d0b9f76be8c8d74aeab811e7f6c56833de8cb4a8b399b72183082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:59-64 | toolchain/crates/libs/wasi-spawn/src/lib.rs:70-75 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b0136616f769eebc6a5ed4fb8fc45266218778c85fd3a0ee33b1597c5200c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:121-130 | toolchain/crates/libs/wasi-spawn/src/lib.rs:125-134 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1a553ee05ac01086b8168729d4820d5f0e20da1557f7365355dcdc00566982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:132-137 | toolchain/crates/libs/wasi-spawn/src/lib.rs:136-141 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83331a759175f3168b053e047ff702c866cd1d1fe2de6dcb65178d3602b9ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:139-147 | toolchain/crates/libs/wasi-spawn/src/lib.rs:143-151 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1de84c088b5a6bb0d09320734ba0be603b9af61fdb383f91c66fce81e6dc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:155-159 | toolchain/crates/libs/wasi-spawn/src/lib.rs:159-163 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45073cc7014f0cc367c594245bd991b38e3403242b2798f46985f9dd58c51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:161-171 | toolchain/crates/libs/wasi-spawn/src/lib.rs:165-175 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b10ef066d54b9f57906a79d25b167a7a2bf2fe3e86665169e26630bd6df8e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:232-240 | toolchain/crates/libs/wasi-spawn/src/lib.rs:382-390 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec7207b08289c1da16addeeb620c003beed5a0de944da20ef5e8590ac50fe9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): toolchain/crates/libs/wasi-pty/src/lib.rs:377-386 | toolchain/crates/libs/wasi-spawn/src/lib.rs:562-571 \u2014 before extracting anything, compare \u0060toolchain/crates/libs/wasi-pty/src/lib.rs\u0060 and \u0060toolchain/crates/libs/wasi-spawn/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"toolchain/crates/libs/wasi-pty/src/lib.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e215fad653c769e6018f113d313ee0d474c5824c205813162a7ea2ef40732f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/kernel/src/pipe_manager.rs:781-787 | crates/kernel/src/pty.rs:1002-1008 | crates/kernel/src/pty.rs:1010-1016 \u2014 before extracting anything, compare \u0060crates/kernel/src/pipe_manager.rs\u0060 and \u0060crates/kernel/src/pty.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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":"crates/kernel/src/pipe_manager.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"518414d997de4c381d25d3ad7cef519c5ed9c05a8585a502eb48c659f0a29298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar-browser/src/service.rs:1788-1794 | crates/native-sidecar/src/execution/javascript/http.rs:9-15 \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":"crates/native-sidecar-browser/src/service.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80917e6396cac687ea969e6691f6be792222905b7514e995dfa3677fe96233e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar-core/src/guest_fs.rs:332-340 | crates/native-sidecar-core/src/root_fs.rs:491-499 \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":"crates/native-sidecar-core/src/guest_fs.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad4cb52596af9d4b48345551620ee9a4c88f9de730cbc5e2a66b0ae056ef1aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar-core/src/guest_net.rs:190-197 | crates/native-sidecar-core/src/guest_pty.rs:108-115 \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":"crates/native-sidecar-core/src/guest_net.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f566e8244b92b4139405829e03507fef7a30ba10e41c27312936d7b6d8381a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar-core/src/guest_net.rs:525-531 | crates/native-sidecar-core/src/guest_pty.rs:125-129 \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":"crates/native-sidecar-core/src/guest_net.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea264e7d9b7d3196fb87f0d2c6ebabfc811c9f693cad380522d338c0f34ca3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/native-sidecar/src/execution/coordinator.rs:537-541 | crates/native-sidecar/src/execution/coordinator.rs:565-569 | crates/native-sidecar/src/execution/coordinator.rs:815-819 | crates/native-sidecar/src/execution/signals.rs:605-609 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a72592b988f76154ec2aee869a8be7b99a852d9bce604da07a4aa2cb8bf64d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/ownership_coordinator.rs:917-925 | crates/runtime/src/supervision.rs:246-254 \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":"crates/native-sidecar/src/ownership_coordinator.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b13a7d1c394cc10bf293efb761bc2a53415adc40c8efac8265f887c4c8d4b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/adapter/mounted_fs.rs:142-150 | crates/vfs/src/posix/mount_table.rs:42-50 \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":"crates/vfs/src/adapter/mounted_fs.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a3e54e88581f4da30b26f507ed27da5a2abfffd229e28d3100e10b10bbfa6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2740-2758 | crates/native-sidecar/src/stdio.rs:2789-2807 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefba8f97c0152d1949d5a3ab9205545b64b948cc4cf5a245aed2d4c712d9d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:2291-2308 | crates/native-sidecar/src/stdio.rs:2339-2355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabbf1793c7eec5da394e5631785c044dc16597c421ff61ad7bfaa3af82c1b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/runtime/src/lib.rs:1108-1125 | crates/runtime/src/lib.rs:1145-1161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/runtime/src/lib.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"676a79121293aedc262e48245e129a132351819180913336be6c1963b5466980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/native-sidecar/src/extension_services.rs:599-616 | crates/native-sidecar/src/extension_services.rs:666-683 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"da95173baa112a11f2cab35abf30624df0e4157570ecbf3fe40e42a7ccca23d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): crates/native-sidecar/src/stdio.rs:2106-2122 | crates/native-sidecar/src/stdio.rs:2137-2153 | crates/native-sidecar/src/stdio.rs:2168-2184 | crates/native-sidecar/src/stdio.rs:2204-2220 | crates/native-sidecar/src/stdio.rs:2237-2253 | crates/native-sidecar/src/stdio.rs:2448-2464 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"178c2c2bcb9d0a3ef847035310dad9b2ba8937c0460ab22bfa82173db51afa4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:2052-2068 | crates/native-sidecar/src/execution/javascript/crypto.rs:2196-2210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82a56ebe5473cf3ca1636e27366daa9d269c4b9ea8b83cfef61b8aa35e901f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/native-sidecar/src/stdio.rs:2415-2430 | crates/native-sidecar/src/stdio.rs:2739-2754 | crates/native-sidecar/src/stdio.rs:2788-2803 \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":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":2415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a982f6f964ee08f4d30c965378573d1b4094c34026b4a4ed5806fdf5b4d9cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/extension_services.rs:506-519 | crates/native-sidecar/src/extension_services.rs:696-709 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9012c184517869bf4cf81f0e714c3146c71e9fdf62a7862e7ed9c06fdf829d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:2186-2199 | crates/native-sidecar/src/filesystem.rs:2773-2786 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a80280f8c7bf4bb0e0a2a633f6840a64bba348c6d7a797781df44e8f0660d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/client/src/process.rs:718-731 | crates/client/src/process.rs:740-753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/process.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef055e6d8ab03fa50dc5b4882883d0c5fc95c2368c36de8b9b5fae22a125f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:1046-1058 | crates/native-sidecar/src/execution/python/sockets.rs:1130-1142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"f238c13c40dc1604ddd19533fc43d2d39b2a8abaa5bf339ecde8cc7132615aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/coordinator.rs:576-586 | crates/native-sidecar/src/execution/coordinator.rs:759-771 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a215af45ee59c8cb62b36340db20baaf47a5a0207fcda19dcd0f8a387dfe0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3048-3060 | crates/native-sidecar/src/execution/network/http2.rs:3243-3255 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3048}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce05aa00c3f91921d4f3bf3248db7ce6b55401a505925424319b281f9db1bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:940-951 | crates/native-sidecar/src/execution/network/http2.rs:986-997 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e60e0627e12dbefa9f2d3a569730129dc74ddd26a3d2b84a330918ef9025cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/native-sidecar/src/execution/javascript/rpc.rs:3707-3717 | crates/native-sidecar/src/execution/javascript/rpc.rs:4379-4390 | crates/native-sidecar/src/execution/javascript/rpc.rs:4572-4583 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2c9c11618edee3ab1e2adf5a7b380dc3610a6461f5e094c3fc92c43a3c2089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:135-146 | crates/native-sidecar/src/execution/network/http2.rs:1742-1750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5d2c530f014afd1c8a36bef8dd800e69b30195e8b5cf85af4d614b92ad82cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/coordinator.rs:275-286 | crates/native-sidecar/src/execution/coordinator.rs:320-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a75018121c4a57655e10e424639abc49568f6cf8d81a85a16614c2615b3544c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/native-sidecar/src/service.rs:4249-4260 | crates/native-sidecar/src/service.rs:4337-4348 | crates/native-sidecar/src/service.rs:4353-4364 \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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8a8039b5ba3985fcaa0c9212b88db6a56b67077ba8fa877f97caba0563aa79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:8906-8917 | crates/native-sidecar/src/execution/child_process.rs:8938-8949 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8906}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b69e572abcacb1484c13c9f0ebbe0bc7c040f6ddf926fa0cba3e40bc7f9fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:4213-4223 | crates/native-sidecar/src/execution/launch.rs:4237-4248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c721ab1b54c3ed932f39eff152ba914fec6c9c180daf591559f0af66f1bfab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:3572-3583 | crates/native-sidecar/src/execution/network/tcp.rs:2084-2094 \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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7755129265c81b1a4760b6d16b69f4238d2626cd515a7b272876a342a864fe0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/native-sidecar/src/execution/process_events.rs:823-834 | crates/native-sidecar/src/execution/process_events.rs:862-873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe0b419d5bb12378608fc0a03efe201cab90af64d61b184f0cd82c2109373de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/execution/src/javascript.rs:2035-2046 | crates/execution/src/javascript.rs:2096-2107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4a9384691bd79e0766a558f4e91eacbae2982a6b767eae2c350bef2cd0e848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/v8-runtime/src/session.rs:2711-2721 | crates/v8-runtime/src/session.rs:3257-3268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":2711}}}],"partialFingerprints":{"codehealthFindingId/v1":"157a7f1b314c824e80102647a77b719e58f2fb88d80a6f5b1ac4d03157784890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/src/socket_table.rs:2889-2900 | crates/kernel/src/socket_table.rs:2905-2916 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84bc892d6e76590fafb90ba74dbe6fadd36b6d1009d3fae0dded6b847720337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:5105-5115 | crates/native-sidecar/src/filesystem.rs:5132-5142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":5105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1543382d1a06c75b0deb85fd9afc54f063166e8faae0de6c93d2f97aaad95f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:5492-5502 | crates/native-sidecar/src/execution/child_process.rs:5941-5950 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":5492}}}],"partialFingerprints":{"codehealthFindingId/v1":"923febdb022384a11a889fc2754ddd5f39d2b350d9972a067ed54f0983b3a3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4298-4308 | crates/native-sidecar/src/stdio.rs:4376-4386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4298}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab06a8c36d391761ada4ba570be083ceb07829149423b844137e4820472fd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/vm.rs:4439-4447 | crates/native-sidecar/src/vm.rs:4464-4474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacfc7a2d2b7cedc9032bbeb42a8164487bedfd4e53d4dd93549a5b4fd6eb823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/plugins/chunked_s3.rs:109-119 | crates/native-sidecar/src/plugins/object_s3.rs:47-57 \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":"crates/native-sidecar/src/plugins/chunked_s3.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9d7f56f7e0c82b8598bf09e2b82e0204363eb9cae3bd005acc7a98a6c1336b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/native-sidecar/src/execution/child_process.rs:1478-1488 | crates/native-sidecar/src/execution/child_process.rs:1512-1522 | crates/native-sidecar/src/execution/child_process.rs:1550-1560 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ae9905725d54d04035a1fab4b85d33357b39c445dcd25b708c9654d2a7532b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/crypto.rs:1770-1780 | crates/native-sidecar/src/execution/javascript/crypto.rs:1786-1796 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e2619532a24073ff881392551df994e07d252d296d2e8301bbf49bc6d33881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/execution/src/javascript.rs:2080-2086 | crates/execution/src/javascript.rs:2107-2117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/javascript.rs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e67ab84ad17324d00e6e202a845870078ee180f00bbec6d5663b8b73d7def65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/native-sidecar-core/src/host_functions.rs:229-239 | crates/native-sidecar-core/src/host_functions.rs:247-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar-core/src/host_functions.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e9695275504f974c058fba9b56a2f6df9cff84dbf44b7ba724f53348968715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/src/socket_table.rs:2666-2675 | crates/kernel/src/socket_table.rs:2863-2872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/socket_table.rs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d3721571909fde8db540f68e084f61de0bb5f3eae370f12556d0b9d0624ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:3016-3025 | crates/native-sidecar/src/stdio.rs:3043-3052 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a92f4d0be3d49ef3ff60eb86036e513ce027d5f815935184c4fc80428adc2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/client/src/process.rs:1179-1188 | crates/client/src/shell.rs:877-886 \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":"crates/client/src/process.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3febd06e126b3cc4c20c7b628113e94ac1ff26771c70a829c745dfd33ffd4862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:1482-1491 | crates/native-sidecar/src/execution/network/http2.rs:1509-1516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba5aa15411b93728ce1f7f00736a865c915bc6cb598a6d44f820743bb0526cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:2967-2975 | crates/native-sidecar/src/execution/launch.rs:2978-2987 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be514c82d08239d7527b104cf9b534e0404a5ebb2363adf084ff9b34dd4152c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/execution/src/wasm.rs:1746-1755 | crates/execution/src/wasm.rs:1786-1795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20cea7991abc2204f13b64a3087dde2640b0b07454eee85bbd162a205a37d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/v8-runtime/src/bridge.rs:1482-1490 | crates/v8-runtime/src/bridge.rs:1494-1503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ceac196f6e86815d8a9062740c257d7dc6f2cc20b7665f2d1b7071133cad73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): toolchain/crates/libs/wasi-http/src/lib.rs:686-695 | toolchain/crates/libs/wasi-http/src/lib.rs:705-714 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/wasi-http/src/lib.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59cbea1186d04a497cfe47c9bdab64a4a2858adeff3c16c6e5edb43f06b7e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): toolchain/crates/libs/shims/src/nice.rs:49-58 | toolchain/crates/libs/shims/src/nohup.rs:29-38 | toolchain/crates/libs/shims/src/stdbuf.rs:52-61 | toolchain/crates/libs/shims/src/xargs.rs:226-235 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/shims/src/nice.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f61cef97308f6f99ead4ae47a9e783740e471a5243a9e5ef7cec73ca81e6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/network/udp.rs:818-827 | crates/native-sidecar/src/execution/network/udp.rs:868-877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b47685e93d5bd7d9769728b0bfb4f5d5040d33e6095e7d0bed930dc4b5fcf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/v8-runtime/src/snapshot.rs:530-539 | crates/v8-runtime/src/snapshot.rs:550-558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/snapshot.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ba20e7ab1a0da8e3ad4be743c48e10f4b40783d8c500e66fd1d8cad810ded0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): toolchain/crates/libs/builtins/src/lib.rs:32-41 | toolchain/crates/libs/shims/src/nohup.rs:11-20 \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":"toolchain/crates/libs/builtins/src/lib.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4067a627fdfcb196da8dfeb176a76dfec66a0235f61b57a2d2bad8c06af667b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): software/coreutils/native/crates/expr/src/lib.rs:13-22 | software/tar/native/crates/tar/src/lib.rs:111-120 \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":"software/coreutils/native/crates/expr/src/lib.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dec7d41d37977c668d97fe0cdce0fbaa218cb93ae85523fc4cb59a54d6fc8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:823-832 | crates/native-sidecar/src/execution/python/sockets.rs:874-883 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"315f69f4cd500626aa7d07ea9e00b0e3033baf042be2a2c4266aba8dfd58d805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs/src/engine/engines/chunked.rs:1058-1066 | crates/vfs/src/engine/engines/chunked.rs:1104-1112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/engine/engines/chunked.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3e2d95d9f421874b40eb7af7b73640e7d1642b1c6d467f5b6dfb09744fdc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/v8-runtime/src/bridge.rs:1818-1826 | crates/v8-runtime/src/bridge.rs:2004-2012 | crates/v8-runtime/src/execution.rs:230-237 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad99435978e9b67a3044403d556afacff4dd247cd73bcc6bc2c586b1c83d53ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/v8-runtime/src/execution.rs:1953-1960 | crates/v8-runtime/src/execution.rs:1968-1976 | crates/v8-runtime/src/execution.rs:1993-2001 \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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb47c225e394a0e82fa44c82b3d52bdc8a668fd8563dba571d377f17d694c2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/network/http2.rs:1877-1885 | crates/native-sidecar/src/execution/network/http2.rs:2323-2331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"26945096b74d23704d6a2ad5a9a6ab0e7e85a90e1c3014f347696ef759fbc59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/extension_services.rs:500-508 | crates/native-sidecar/src/extension_services.rs:564-572 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88f6de3872398a474cd7f7bc0b1c3f29b1bac854e69201b76fcc26a1b60c422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/v8-runtime/src/execution.rs:379-387 | crates/v8-runtime/src/execution.rs:493-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7721c36127ec1cbadec7cbfe9cc9f7066edc322e58a52c96290b31fbb8fa072a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/sidecar-protocol/src/protocol.rs:2490-2498 | crates/sidecar-protocol/src/protocol.rs:2582-2590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sidecar-protocol/src/protocol.rs"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f1557d5235450dba33259ab774de8904d9164110708361263e2e253cf12d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vfs-store/src/s3/block_store.rs:65-73 | crates/vfs-store/src/s3/object_backend.rs:219-227 \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":"crates/vfs-store/src/s3/block_store.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d569a10ea24d467d4b7985a01d73257c9c2793aebe5494dd162280ad439f6aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/native-sidecar/src/execution/launch.rs:968-976 | crates/native-sidecar/src/execution/launch.rs:998-1006 | crates/native-sidecar/src/execution/launch.rs:1470-1478 | crates/native-sidecar/src/filesystem.rs:5407-5415 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0383fc2d0e62dcd1a862f6fffffb2294461187acd2ed26a0b0dce14a418d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:1367-1375 | crates/native-sidecar/src/execution/network/unix.rs:772-780 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2fc2e05f879828530a25c3a46d7daa6c62c05605d851c88dd6e4442941aff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:7680-7688 | crates/native-sidecar/src/execution/child_process.rs:7717-7725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7680}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb823b6444ed5e4e5d70fd75aa7231c5de905590be5b8efdba7cc068dedf09af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): crates/vfs/src/posix/overlay_fs.rs:1816-1824 | crates/vfs/src/posix/overlay_fs.rs:1839-1847 | crates/vfs/src/posix/overlay_fs.rs:1961-1969 | crates/vfs/src/posix/overlay_fs.rs:1980-1988 | crates/vfs/src/posix/overlay_fs.rs:1994-2002 | crates/vfs/src/posix/overlay_fs.rs:2007-2015 | crates/vfs/src/posix/overlay_fs.rs:2020-2028 | crates/vfs/src/posix/overlay_fs.rs:2034-2042 | crates/vfs/src/posix/overlay_fs.rs:2054-2062 | crates/vfs/src/posix/overlay_fs.rs:2068-2076 | crates/vfs/src/posix/overlay_fs.rs:2129-2137 \u2014 all 11 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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f4685699729ce44213f9898c34c46a2f14284600f46aa5ad0e6835f4226d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/execution/launch.rs:957-965 | crates/native-sidecar/src/execution/launch.rs:968-976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"e113e05ce02da89815b402c4c5d7adbc7690368efaf69659842bdb2cadc2284a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/native-sidecar/src/language_execution.rs:1633-1641 | crates/native-sidecar/src/language_execution.rs:2118-2126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"3461fed67b2a50b9fa600cc2385379cc3bfcecb67930ead316cc3d50b41c5860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vfs-store/src/local/sqlite_metadata_store.rs:754-761 | crates/vfs-store/src/local/sqlite_metadata_store.rs:777-784 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs-store/src/local/sqlite_metadata_store.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b1f9d3c36f88daf103a131c86fabab26d260c9b087e1fe3d5ad2834e2a24c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-baseline/src/main.rs:904-911 | crates/native-baseline/src/main.rs:1006-1013 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-baseline/src/main.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c7612d3f8f7a7ae3bbaef0c5b8a27d9160f4c2ed79f021bb97e9f951503df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/vfs/src/posix/overlay_fs.rs:1507-1514 | crates/vfs/src/posix/overlay_fs.rs:1533-1540 | crates/vfs/src/posix/overlay_fs.rs:1561-1568 \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":"crates/vfs/src/posix/overlay_fs.rs"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d9da60f38c9ac08c8510af0b60f22d0245a78c80a21c868de14cf7733cdbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:2103-2110 | crates/native-sidecar/src/execution/child_process.rs:2218-2225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b489d2dc78c49a4d34a450f0e0b53d85fa21c108f4682ae31c49efd390905153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): toolchain/crates/libs/shims/src/xargs.rs:95-102 | toolchain/crates/libs/shims/src/xargs.rs:113-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/crates/libs/shims/src/xargs.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec53068376c825aea1ef7ff543ec896988b092d09d71dc57d4747db44532cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:2166-2173 | crates/vfs/src/posix/mount_table.rs:2327-2334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c93568550b0f00e29b925366ca64a15bd3923f52b422ee8eafface6cd3c9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/plugins/s3_common.rs:61-68 | crates/native-sidecar/src/plugins/sandbox_agent.rs:1127-1134 \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":"crates/native-sidecar/src/plugins/s3_common.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa186adff0b99e01ada203bb2c405b166e25e5b1c9dccf95b4fc297e53e0ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:130-137 | crates/native-sidecar/src/execution/python/sockets.rs:417-422 \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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5cfd714897de2c1e447704d89e1975f112c50cf1cc5c6a1e530e7d71b37a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/child_process.rs:7507-7514 | crates/native-sidecar/src/execution/child_process.rs:7636-7643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":7507}}}],"partialFingerprints":{"codehealthFindingId/v1":"385e5b98f1449257dd8f4a15fdc65623d9f04526f14892d1d5819021be49e1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/network/unix.rs:189-196 | crates/native-sidecar/src/execution/network/unix.rs:209-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/unix.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcbabe57945b8c78e2bc1620d27333b484d4f7c9e96cf9261f590792304bdcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/native-sidecar/src/execution/javascript/rpc.rs:2478-2485 | crates/native-sidecar/src/execution/javascript/rpc.rs:2496-2503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6542ed8f3fa5ad42a9e419803f102f43122ab4eb3de06fa00571da1fd39a7e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/v8-runtime/src/snapshot.rs:541-547 | crates/v8-runtime/src/snapshot.rs:560-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/snapshot.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2404f84ba0e855a59e794e7849ae1027c68095b31b69f0fae2cf7fb80dab89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4231-4237 | crates/native-sidecar/src/stdio.rs:4318-4324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5f679b794db756d713b3377be5753f4b8776b92708cb44e3b3bf6c29b95d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/execution/src/wasm.rs:1528-1534 | crates/execution/src/wasm.rs:1858-1864 | crates/execution/src/wasm.rs:1879-1885 \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":"crates/execution/src/wasm.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f987d0a2f65f32c3730e6dc87435ec5a6607492bf3bee5e58d33e5d09d2be0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/client/src/shell.rs:787-793 | crates/client/src/shell.rs:1107-1113 | crates/client/src/shell.rs:1184-1190 \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":"crates/client/src/shell.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d499301e391cf4cf8fc52b5e020e51db00e29838c15ade76d10fec46100894f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/filesystem.rs:5098-5104 | crates/native-sidecar/src/filesystem.rs:5125-5131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":5098}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8c092e13850b036a4635eefb276a3f72d6b4d885a616e94668d6a4ad9bfe45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/src/kernel.rs:894-900 | crates/kernel/src/kernel.rs:958-964 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313159db3ba460663a4a181adb8126f49c8eebdce974ccc1046a2086a9bf5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/v8-runtime/src/execution.rs:2183-2189 | crates/v8-runtime/src/execution.rs:2303-2309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c0a75caea3702ca77e425df62dde9388894bfd3ec9aa47b21a6e4c08b90d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/plugins/chunked_s3.rs:82-88 | crates/native-sidecar/src/plugins/object_s3.rs:44-50 \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":"crates/native-sidecar/src/plugins/chunked_s3.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae57fa3a2d4f45ac049755ee72f777c0bc209411c7539fb34c16367efe6bfb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/stdio.rs:4244-4250 | crates/native-sidecar/src/stdio.rs:4331-4337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":4244}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a8019e3b1da8262d5a94f1c4df1502a59688bccf974a89b6ce378a8b3d8557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/v8-runtime/src/execution.rs:804-810 | crates/v8-runtime/src/execution.rs:813-819 | crates/v8-runtime/src/execution.rs:822-828 \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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c86f6665427fa5c2c97d5f7ab72236b527e4d8f5358afc6d74d8268350523bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:1379-1385 | crates/native-sidecar/src/execution/network/unix.rs:784-790 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"528e49941fb3487a084cef3ab00a5fcb0b83e04d16c37605505bec59fbc79d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/execution/src/wasm.rs:1774-1780 | crates/execution/src/wasm.rs:1812-1818 | crates/execution/src/wasm.rs:1852-1858 \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":"crates/execution/src/wasm.rs"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e41508a1b08b0b16d2cc535a6fef8d6a193f7e2e1839c8b477f4fe3682045c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/src/kernel.rs:2641-2646 | crates/kernel/src/kernel.rs:2707-2712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/kernel.rs"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edbdc24314544f05500aae40ad08c774baf91e50a084196c8c1557b1f27e69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/plugins/google_drive.rs:476-481 | crates/native-sidecar/src/plugins/google_drive.rs:497-502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1dc1ed7b4f6f53bbac5e150e68d7e4f63269f2600eef9f5e87a8a7f5e6d0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/v8-runtime/src/execution.rs:115-120 | crates/v8-runtime/src/execution.rs:128-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd23db9e36bcfec0b23270c0c8b229431e8c28adbff0378d07740e238b5db4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/client/src/config.rs:413-418 | crates/client/src/config.rs:425-429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/config.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bcaba010ab9104501f5ba73ac5c836fb867ea826b61e6317f88abe0dd5d8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/execution/network/udp.rs:1995-2000 | crates/native-sidecar/src/execution/network/udp.rs:2024-2029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/network/udp.rs"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"4337c240be52ade8c1927b04a8c1598b484b028af5920c173503022a5a4542bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/v8-runtime/src/execution.rs:703-707 | crates/v8-runtime/src/execution.rs:729-734 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"2718ea9861e284b707fc08f585b3f6b41504fb0a7795c4e0ccab6d429a917d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/execution/python/sockets.rs:1066-1071 | crates/native-sidecar/src/execution/python/sockets.rs:1085-1090 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c9d96ec9e9f29ee94b45d2eda87a29b9e2a88aaf9c9da797c793a22c4b7dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/v8-runtime/src/execution.rs:2472-2477 | crates/v8-runtime/src/execution.rs:2502-2507 | crates/v8-runtime/src/execution.rs:2514-2519 \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":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b534eaead392e45d5943d5019a7e89d87b3a278f336a25f2c6427f706071af88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): software/diffutils/native/crates/diff/src/lib.rs:308-313 | software/diffutils/native/crates/diff/src/lib.rs:318-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/diffutils/native/crates/diff/src/lib.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f18ee38dd44b745bccb51cad890cd6d13570a0749984e1f891b874ef4cca4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/execution/src/wasm.rs:1740-1745 | crates/execution/src/wasm.rs:1780-1785 | crates/execution/src/wasm.rs:1818-1823 \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":"crates/execution/src/wasm.rs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aca17ae32716636c9a50133e8bed7669412cd0c7f2a0bb8fd1ec3eda3b87e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/native-sidecar/src/filesystem.rs:2226-2230 | crates/native-sidecar/src/filesystem.rs:2252-2256 | crates/native-sidecar/src/filesystem.rs:2483-2487 \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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0688018c78486e33825e5527f4132ea350ffa64527516b98270337a3f4340708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/execution/src/wasm.rs:1653-1657 | crates/execution/src/wasm.rs:1691-1695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/src/wasm.rs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"28829305fb4d3cacdc20eeb9dd60aaa6511282fcbb15739b08168e2f6b6e5ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/native-sidecar/src/execution/javascript/sqlite.rs:307-311 | crates/native-sidecar/src/execution/javascript/sqlite.rs:341-345 | crates/native-sidecar/src/execution/javascript/sqlite.rs:367-371 \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":"crates/native-sidecar/src/execution/javascript/sqlite.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf97d903d0fec97c2af774962b32244885be6e4c8734b074df2025075c43ee70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/package_projection.rs:226-230 | crates/native-sidecar/src/package_projection.rs:247-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/package_projection.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1badf1989ab7045b6ebca4acdc708c074977bed1b4554270ea9f784a106edd6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-baseline/src/main.rs:447-451 | crates/native-baseline/src/main.rs:462-466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-baseline/src/main.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf9ed35a73bf485da0faeb688cb709e8123442df5c13bfb2258796197218595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/v8-runtime/src/execution.rs:2795-2799 | crates/v8-runtime/src/execution.rs:2859-2863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/execution.rs"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4724bae07951e75186814a98fe5ddbf7bb58b6dd3aa9b901340cf55bb6efc9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/kernel/src/kernel.rs:8135-8139 | crates/vfs/src/package_format/pack.rs:382-386 \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":"crates/kernel/src/kernel.rs"},"region":{"startLine":8135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb156f7333a0d8df0038e7e77dfbd189390f95e286be505623fa976bdedcb12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/native-sidecar/src/execution/network/tcp.rs:269-274 | crates/native-sidecar/src/execution/network/unix.rs:565-570 \u2014 before extracting anything, compare \u0060crates/native-sidecar/src/execution/network/tcp.rs\u0060 and \u0060crates/native-sidecar/src/execution/network/unix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"crates/native-sidecar/src/execution/network/tcp.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fb5f05224c5e4e5e797ac1f56aac2203436bb7738d9dd420ac47da5589933d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/plugins/host_dir.rs:1255-1259 | crates/native-sidecar/src/plugins/host_dir.rs:1267-1271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/host_dir.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b491fea2bc7ea2e80de18eb6408b4c7ad53569cbac45a703e5b8bbe57d2cb6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/native-sidecar/src/state.rs:922-926 | crates/native-sidecar/src/state.rs:948-952 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"577eaecf0a781d21c175bd0fddb079a7efa17f3bb2cc65bbfb62a016fa0bb5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/v8-runtime/src/bridge.rs:1892-1896 | crates/v8-runtime/src/bridge.rs:1988-1992 | crates/v8-runtime/src/bridge.rs:2180-2184 \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":"crates/v8-runtime/src/bridge.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"7111902fdd649e1eefc5fa004f0118984b442fc5f9054ad4566c2e8a10d64edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:1977-1981 | crates/vfs/src/posix/mount_table.rs:1994-1998 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ea7c436298d180c2c491ecb7c8bdbda8014ab94f05d867778e7ed4a5c1719a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/vfs/src/posix/mount_table.rs:2006-2010 | crates/vfs/src/posix/mount_table.rs:2023-2027 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vfs/src/posix/mount_table.rs"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dd765121ca9f35c1e42f96da8a31724b6f81417d76e285c66e4f61fa6269ab"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project @agentos-software/common: @agentos-software/common has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"30dcf969dca618ed9debfe55231bc64d6c49ffd56d92fe2eeaceebe196e66901"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-diff: agentos-diff: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5182cfd27b1efcab42029803d27d270098bff3e7c16974ab42444669afbafb30"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-expr: agentos-expr: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3302f29b1ec745763060dd185404f549d02e44451124a90118970a439a3a0308"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-jq: agentos-jq: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5c57becbcf078b1603405d68f30f9d79622f62fcb789b3b1212591350cb88cb3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-runtime: agentos-runtime: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f9e19ea303be44daad784746f7d3d64db474e0403dd285d3d0c9a8a8a058434c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-tar: agentos-tar: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"42290530da914171bf4ab1b185be786b22c9ad0c0adb872f1e16c68858119305"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-vm-config: agentos-vm-config: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63a39b7af6bbcdc6b3311efb44ce1c22c45e75bcf9f9de5befc0f98c4f8d3799"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-yq: agentos-yq: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6abf01f5d4f03e97e9ab9d5fdb23ed209e833b35ab7d8a3a07cec15da624a706"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: wasi-ext: wasi-ext: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d23fae504d17a92129a9fa90ea237fd659c1326244ff44df1b69a239ade67354"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: publish: publish: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5ed529d54d7c5f3ab806c7eb5d9bb61c3345fbec18b6396ea40421c94eae026b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-bridge: agentos-bridge: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5d29847ac6a11e406b6ad2477fc5fcc4b6d5b30d04cf5e5246daf686a5d633e8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-sidecar-protocol: agentos-sidecar-protocol: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"11a76d195a1a5505d8d4dfd210493f0c7c67d1800e5b2a036e2511df03d92460"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: agentos-vfs-core: agentos-vfs-core: abstractness 0.10, instability 0.17, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"600f7e0766be9f62f3f15338c20681b7dd28f3578d141ebdf6843e88bb161d1b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActiveProcess (LCOM4 18): ActiveProcess\u0027s methods fall into 18 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 18 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"4079dbde5aed496221d65b92a2372bbbeb3f28a4ec57f7da05b0a8ce0e4b34d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoutedExtensionServices (LCOM4 5): RoutedExtensionServices\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/extension_services.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb8b93317782b395dc7b2f6f542acadb6e0e4d6a25a204b9a704cc0cce914cf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LoopbackTlsEndpoint (LCOM4 4): LoopbackTlsEndpoint\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":3081}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018001bfb74a2aac894c6788e06402918f57ff916eb5407cac4d0ce1eaac207"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: std patch: ExitStatusExt for wasm32-wasip1: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/std-patches/0008-wasi-exit-status-ext.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51149092f8bed3b9a72fa4c54dded1050c7619592fd632cc980aa1628a432aaa"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: std patch: implement env::split_paths for wasm32-wasip1: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/std-patches/0009-wasi-split-paths.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c0848c4d3522eb073352355ddf8cc97458ff764d8041c4948643806e9d3f29"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: tokio fs asyncify inline on wasi: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/std-patches/crates/tokio/0002-wasi-fs-asyncify-inline.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83570861549afa55d21b8fe10014f5a19c77162b8ae6b77d33623b1e9c50ddde"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: tokio spawn_blocking inline on wasi: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/std-patches/crates/tokio/0003-wasi-spawn-blocking-inline.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4852bdfe5c019ee55cfb4aed5ad093205c1f4bbfe1cfa5acbc1f2abe5804ab4e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ${String(name)} [missing Google Drive credentials]: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/google-drive-backend.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a72a3dd44b1473e88f8a63085e116b1ca179d249a6be4fadffc0d0e17e88d00"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ${testName} \u2014 ${exclusion.reason}: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/conformance/libc-test-conformance.test.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f51d622c50c13e001222fdd58f25a5cd29de1457f5ae4891ef83a5c2423a07"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ${testName} \u2014 ${exclusion.reason}: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/conformance/os-test-conformance.test.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"77254e6cf3e4b301d4c195caadd92a0d0e49b40cc9e35929ec75447774ee718b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: passes on the current tree: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-fixed-versions.test.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d440ee3566c17cc606f24dfe2535f4644d09c9817a3cebf4cf9ac41ae2c0885"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ignores generated package caches: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-fixed-versions.test.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7778f6dc1cbe4a9ce54d18201b5ebd36a41f18fc2d71102c884b850583bb6b7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when a product package drifts off 0.0.1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-fixed-versions.test.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8033e192e5e499d811b1bff849951b82370dd34aedbd7a06ee20b7fcd56b5fd9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when Cargo.toml [workspace.package] drifts off 0.0.1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-fixed-versions.test.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a290adce9e7ef27f434171018afc567f32f7ac4efdefeec6b823a04cc9dc333"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when an internal crate dep requirement drifts off 0.0.1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-fixed-versions.test.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6132b40eec3b2836cadd6c09c3591368b906703273a93854b044c4ad7ecd53af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: multiple ^C in a row does not crash the shell: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/ctrl-c-shell-behavior.nightly.test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda3ffb2e45dbb4a4b00b04ab310644d67528a4413bfc39b5c4166f0c9c8a7fa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: disposing immediately after kill handles the pending signal request: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/signal-forwarding.nightly.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a4cd86eca28c4f1ffb9c8a6162620796fa8ab56adf20bbcbc19291953a2ebc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: delivers SIGSTOP and SIGCONT through killProcess: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/native-sidecar-process.nightly.test.ts"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"248c844bbd4042cb392f63fc000a616067e78a2d138f61a99316c058fe41a0f6"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): a sidecar outlives more VM create and dispose cycles than its event buffer holds: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/sidecar-exit.test.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86699982d580b6f20255f34e1c5a7e73b5fd5ff6c1014434bee7601462a5723"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: interactive shell: tree / produces output and prompt returns: This test starts work it did not wait for (\u0060shell\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 1500))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tree/test/tree-test.nightly.test.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1e0c524f8f9241e5a2d0138efe018d77deb2eef801afd887407a9a9c10e036"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: tree does not hang when stdin is an empty PTY: This test starts work it did not wait for (\u0060shell\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 1500))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/tree/test/tree-test.nightly.test.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"89657ea812627b391f6c56e927d9d1bc7b5e47df018d4f4cb76acc1fd4bf65c1"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: idles 60s\u002B in raw mode on the default CPU watchdog, then consumes a keystroke: This test starts work it did not wait for (\u0060waitForScreen\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(65_000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/vim-interactive.nightly.test.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c75865cecd01698bb174abe4067bb86402b7322ab431adbf110095efb0e9dae"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: packages/posix/: The vitest suite in packages/posix/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bec331e517d113a181cb00a7d4ddc7f079b45e1236ba512c540c46822b5e60cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/child_process.rs: crates/native-sidecar/src/execution/child_process.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 141 in NativeSidecar::poll_descendant_javascript_child_process at line 8752. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/child_process.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":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8752}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a546483d7d1d363098ba6a8582b2d8cd926f7ed7b2ed34323555db96d2ec18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/javascript/rpc.rs: crates/native-sidecar/src/execution/javascript/rpc.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in agentos_native_sidecar::execution::javascript::rpc::service_javascript_sync_rpc at line 613. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/javascript/rpc.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":"crates/native-sidecar/src/execution/javascript/rpc.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"1641a65dd7684e82d23075994c48899d3d91ef65a791ad092a421a7ead23ba7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/v8-runtime/src/session.rs: crates/v8-runtime/src/session.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 98 in agentos_v8_runtime::session::session_thread at line 2238. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/v8-runtime/src/session.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/v8-runtime/src/session.rs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa69828e293071c913758bba4d70eaf2ab26f3e84341a4e002cabad95d30788"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/language_execution.rs: crates/native-sidecar/src/language_execution.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in OwnedLanguageSidecar::execute_language_operation_owned at line 1235. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/language_execution.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":"crates/native-sidecar/src/language_execution.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21269a49a66090a5b40fe2c352e2cbdbe22b22a5fea76b2dd858353e59ff61b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/service.rs: crates/native-sidecar/src/service.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in NativeSidecar::handle_javascript_sync_rpc_request at line 4206. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/service.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":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b7a08ca4388bfbea7571e326f2f0bd90bedbba6e6ba842ebecd0640ac6c776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/stdio.rs: crates/native-sidecar/src/stdio.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in agentos_native_sidecar::stdio::run_protocol_engine at line 1840. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/stdio.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":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"712cb3fb694892938948119d5ae5e9efa9d09991375cd4094d24275a7aec9786"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/core/src/agent-os.ts: packages/core/src/agent-os.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in AgentOs.create at line 2935. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- packages/core/src/agent-os.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"90adef8042c21010203ad56965f8d5c8051e0603175e692c20fe76f7ab2004e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/execution/src/javascript.rs: crates/execution/src/javascript.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in agentos_execution::javascript::spawn_v8_event_bridge at line 3921. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/execution/src/javascript.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":"crates/execution/src/javascript.rs"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a2b3708d264066e5a71e6068baf55e3dbee96cdc73745508a7bbf3874e43b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/launch.rs: crates/native-sidecar/src/execution/launch.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in agentos_native_sidecar::execution::launch::execute_owned at line 4939. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/launch.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":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"0079a3d9cd2cc20f8d922d8e84795bfd4831ac17221c1519f63d2c2288f3ba00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/signals.rs: crates/native-sidecar/src/execution/signals.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in NativeSidecar::kill_process_in_vm at line 627. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/signals.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":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cae225be3fc6eb40b99329acfb5446a7d8f8d921ceb906dab99e19567e98bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/process_events.rs: crates/native-sidecar/src/execution/process_events.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in NativeSidecar::handle_execution_event at line 1584. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/process_events.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"737fd8ab69dc529d9cf05f79703b9ff538b056cf6eba1aec55a79f3b765ed630"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/client/src/agent_os.rs: crates/client/src/agent_os.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AgentOs::create_vm at line 282. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/client/src/agent_os.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":"crates/client/src/agent_os.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e850e349c0d519ffa934e2183a6a26d4d624795373132fd6808608608a40f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/runtime-core/src/request-payloads.ts: packages/runtime-core/src/request-payloads.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in request-payloads.toGeneratedRequestPayload at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- packages/runtime-core/src/request-payloads.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/request-payloads.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"845224a9a60f67d2bcc241b974c60a10a6f24ee3e1937d27f96bd3e91b3c9931"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/filesystem.rs: crates/native-sidecar/src/filesystem.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in agentos_native_sidecar::filesystem::service_owned_python_filesystem_rpc_request at line 899. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/filesystem.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":"crates/native-sidecar/src/filesystem.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3dbff4f5f8bd9be363061da34f89ccdedb1d92545e97995870253214732847"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/client/src/process.rs: crates/client/src/process.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AgentOs::exec_argv_process at line 555. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/client/src/process.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":"crates/client/src/process.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b300b49b628a4c4363f10ddc8731b653c4a169a58386c2c60f115f34da0738f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/vm.rs: crates/native-sidecar/src/vm.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in NativeSidecar::dispose_vm_internal at line 1233. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/vm.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":"crates/native-sidecar/src/vm.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c3c126e5b69ff8464d3b5120e79c6b85d385fd756f7d1897058deb93c6b71f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/javascript/http.rs: crates/native-sidecar/src/execution/javascript/http.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in agentos_native_sidecar::execution::javascript::http::read_owned_kernel_http_fetch_stream at line 2181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/javascript/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":"crates/native-sidecar/src/execution/javascript/http.rs"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11add020e42105bb284095584b738dc2349045550c5ef5bc125493696959989"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/process.rs: crates/native-sidecar/src/execution/process.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ActiveExecution::poll_event at line 1840. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/process.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":"crates/native-sidecar/src/execution/process.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"df007fa45239e688ba942a07a45583f136f989bc6d8ff9b053d703c91592cd40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar/src/execution/python/sockets.rs: crates/native-sidecar/src/execution/python/sockets.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in OwnedPythonSocketService::python_socket_op at line 470. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/python/sockets.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":"crates/native-sidecar/src/execution/python/sockets.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b9c1b9763552ab8efd7687bdcaf7f3fe2870c4167d48433564335efec73903"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/core/src/sidecar/rpc-client.ts: packages/core/src/sidecar/rpc-client.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in NativeSidecarKernelProxy.spawn at line 863. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- packages/core/src/sidecar/rpc-client.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3b6786eba5c7cdf4faedf0793689a36fda4569d208a0797de8d5a47c58051c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/runtime-core/src/host-functions-zod.ts: packages/runtime-core/src/host-functions-zod.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in host-functions-zod.validateSchema at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- packages/runtime-core/src/host-functions-zod.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/host-functions-zod.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e55da321d894266731ebb23a2e37aae471d10a69e82794fe5ed468b74fcc29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/bridge/src/queue_tracker.rs: crates/bridge/src/queue_tracker.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in TrackedLimit::as_str at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/bridge/src/queue_tracker.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":"crates/bridge/src/queue_tracker.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"013d8510e0df50f8743e31f1f17d13d0ac45cfc9731172148c7e514e250a73ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/native-sidecar-core/src/limits.rs: crates/native-sidecar-core/src/limits.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in agentos_native_sidecar_core::limits::validate_vm_limits at line 1134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar-core/src/limits.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":"crates/native-sidecar-core/src/limits.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e090abb3226f9f29a9ab89e7ef58e099153782889b2afe073251ed4d5b9677"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/runtime/src/lib.rs: crates/runtime/src/lib.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RuntimeConfig::validate at line 503. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/runtime/src/lib.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":"crates/runtime/src/lib.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a6335b840bd727536de48f8fa65bfcf02a9cadc260f3192dcaa4e0d5a0c81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vm-config/src/lib.rs: crates/vm-config/src/lib.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in VmLimitsConfig::validate at line 981. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/vm-config/src/lib.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":"crates/vm-config/src/lib.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9992e52824d30d29d9768733c937996634bf4992e3a348a3a72a69a107c520"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/client/src/shell.rs: crates/client/src/shell.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AgentOs::open_shell at line 380. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/client/src/shell.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":"crates/client/src/shell.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e46aacd1497a125110e09b008f1df5eb7c15028c7fc52e1d86a88dcace78735"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/publish/src/lib/version.ts: scripts/publish/src/lib/version.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in version.bumpPackageJsons at line 126. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- scripts/publish/src/lib/version.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/version.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5943ff9fea7e239285771b6b8cef954119a6c1c70789d30c438e8bc6cd5c0966"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/native-sidecar/src/state.rs: crates/native-sidecar/src/state.rs changed 11 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ProcessOutputReplay::read at line 123), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(native-sidecar): keep guest writes to API-seeded files (#2070)\u201D; \u201Cfix(native-sidecar): make interactive terminals work as on Linux (#2053)\u201D; \u201Cfix(runtime): give process stdin Linux semantics (#2046)\u201D; \u201Cfix(agentos): report V8 limit terminations as typed execution errors\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/state.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c20f23978200fcc8c81810b357995a228182fad4f5225a299309375f959844d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/native-sidecar/src/execution/mod.rs: crates/native-sidecar/src/execution/mod.rs changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is agentos_native_sidecar::execution::reactor_io_limits at line 301), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(native-sidecar): keep guest writes to API-seeded files (#2070)\u201D; \u201Cfix(native-sidecar): make interactive terminals work as on Linux (#2053)\u201D; \u201Cfix(agentos): run host function calls as async tasks\u201D; \u201Cfix: restore clippy and rustfmt on main, restructure secure-exec docs\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/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":"crates/native-sidecar/src/execution/mod.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de881394b85f862d6f93203167ebd6951e1dd98bd5a436cc82d6e04b9b33c07"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/native-sidecar/src/execution/coordinator.rs: crates/native-sidecar/src/execution/coordinator.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is NativeSidecar::vm_fetch_legacy at line 847), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(native-sidecar): make interactive terminals work as on Linux (#2053)\u201D; \u201Cfix(runtime): give process stdin Linux semantics (#2046)\u201D; \u201Cfix(native-sidecar): unblock Rust 1.98 clippy\u201D; \u201Cchore(clippy): apply machine-applicable Rust 1.98 lint fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar/src/execution/coordinator.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":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5210b1768198e1c38f8c56f9a817b9fa228c9970df37337934079589794845"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/native-sidecar-core/src/permissions.rs: crates/native-sidecar-core/src/permissions.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is agentos_native_sidecar_core::permissions::fs_permission_capability at line 485), 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(permissions): keep VM-local networking under scalar network deny\u201D; \u201Cfix: restore clippy and rustfmt on main, restructure secure-exec docs\u201D; \u201Cfix: deny default provider egress\u201D; \u201Cfix: allow VM-local networking by default\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/native-sidecar-core/src/permissions.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":"crates/native-sidecar-core/src/permissions.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0711dc5eb54811e31b5389c8e30d4c633928cb35768f4427ba3ba5aca3b4817"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/v8-runtime/src/embedded_runtime.rs: crates/v8-runtime/src/embedded_runtime.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 14 (its worst body is agentos_v8_runtime::embedded_runtime::dispatch_runtime_command at line 838), 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(v8-runtime): stop guest js whose wasm memory passes the heap limit (#2080)\u201D; \u201Cfix(runtime): complete a context call when its result settles\u201D; \u201Cfix(agentos): report V8 limit terminations as typed execution errors\u201D; \u201Cfix(runtime): decouple VM admission from CPU count\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/v8-runtime/src/embedded_runtime.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":"crates/v8-runtime/src/embedded_runtime.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ffd40c58519fdd338c65259a66c42a1f9ada848295e43f180135ad8aced33f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/runtime-core/src/sidecar-process.ts: packages/runtime-core/src/sidecar-process.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is SidecarProcess.execute at line 1382), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime-core): reject oversized frames before they reach the sidecar\u201D; \u201Cfix(client): recover when a shared sidecar exits (#2044)\u201D; \u201Cfix(agentos): reject pending executions when the sidecar exits\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- packages/runtime-core/src/sidecar-process.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4423dd543bb30a8cbb6c5aa336735120090296c4cc170a9330482810568fbaf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/v8-runtime/src/isolate.rs: crates/v8-runtime/src/isolate.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 6 (its worst body is agentos_v8_runtime::isolate::budget_reallocate at line 345), 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(v8-runtime): stop guest js whose wasm memory passes the heap limit (#2080)\u201D; \u201Cfix(v8-runtime): cap each isolate\u0027s ArrayBuffer memory\u201D; \u201Cfix(agentos): raise the heap limit past one oversized allocation\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/v8-runtime/src/isolate.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":"crates/v8-runtime/src/isolate.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4511ebe7307aed93cd3fed0bbc2d263b042849048a41395cfc1855be8d1e104"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/v8-runtime/src/runtime_protocol.rs: crates/v8-runtime/src/runtime_protocol.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 11 (its worst body is RuntimeCommand::try_from at line 182), 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(v8-runtime): stop guest js whose wasm memory passes the heap limit (#2080)\u201D; \u201Cfix(runtime): complete a context call when its result settles\u201D; \u201Cfix(agentos): report V8 limit terminations as typed execution errors\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 03:56:04 \u002B05:30\u0027 --until=\u00272026-10-28 03:56:04 \u002B05:30\u0027 --full-history --no-merges -- crates/v8-runtime/src/runtime_protocol.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":"crates/v8-runtime/src/runtime_protocol.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46bd2f077a663fa0077f31fe855edaac360620be31a738e8ea56092590500e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): requires the ssh WASM artifact, intentionally excluded from the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/ssh/test/ssh.nightly.test.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"502935c4ec05e87c84f21b4923b0813a55b92d5a90ecf7f099c24927635db072"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): requires git WASM artifact, intentionally excluded from the fast software-build gate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/git/test/git.nightly.test.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"865c8a5a92d05be936b34f8707267d1b87e815c8ad1cf07fa216c7d5d7a58954"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): requires duckdb WASM artifact, intentionally excluded from the fast software-build gate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/duckdb/test/duckdb.nightly.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e48980da023ae0d829a4b854cd242f7cfc0ffea38faf6092441d2e098faaaf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): concurrently E2E depends on registry/network package resolution. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-concurrently.nightly.test.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a334f916e782a1520aa8500823022b0ae4a6da86420b28d879b1fadd976548e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): Next.js build E2E depends on package-install artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-nextjs-build.nightly.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"29781ec9c6a569d28b6b3ae00e8a5a4273a71cc6b031bd0312d49415948746af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm install E2E depends on registry/network package resolution. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-install.nightly.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b84dd2680f57e61bca9c770821003afedc74d0e9fc2bb701e06813bbad52840"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm lifecycle E2E depends on registry/network package resolution. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-lifecycle.nightly.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78058a56bc963535e6421021b5981c85365ef0fdb07acac80c103c9bae099e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm script E2E depends on registry command artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-scripts.nightly.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de4236a00b4329b5a3411e0a3d0195542936f8b539ac7d1a8d0324302308842"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm command suite depends on registry command/runtime artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-suite.nightly.test.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdbc3b3cfac4ea10d55fedd00234a2852e80e0d17fb306830e1d279ba2cc2bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm install suite depends on registry/network package resolution. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-suite.nightly.test.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdccc89e3f335b94019668555876aead3173c039231c38ed1384848b111703a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm error-path suite depends on registry command/runtime artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-suite.nightly.test.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"17532f69caca18b473893ebfcc5b40a2d6eefc859c0acd6a16c876d1b1976c89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm/npx command E2E depends on registry command artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npm-version-init.nightly.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"63578ce9c4a1ddb42815f913d648a9b5994749b3204c70435367c2c740ca9602"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npx resolution E2E depends on npm registry access. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-npx-and-pipes.nightly.test.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6275b03ef12fb051829b4619baa9c078b52bae8748912a4e4cac276c4ed9c430"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(P6): npm-backed pack flow depends on local npm/package resolution artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/tests/pack.test.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87ffac11b2437cf65a9f520f0647e744f21c678f1e7f6c4cd2e69486a1e7fe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/tests/service.rs"},"region":{"startLine":4209}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eda5f80da0baab243c1b6cdaa0f9a4dd7200810ae6f4451fe9fd4200062a0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2b81973273e92b40b74d6c58f6b95971a4f8c1f29ca0a11ea9c5009b6c125d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"509ab9bfab3143624bf14efb3e49bb7226e06a3647489019c70ab818a8ac22c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea20d19a751650c9de54490041235ab36ca574a48b8a66414500e7fa52571db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e17972b402eed926f5732bfca2533710b1d4438b98cf00a609ecf593c29a309"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d12b451711a1036a419cb5f55223f5be1187f22a2e384c3aed4517040f29410"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d83eeb18d19179baa8de7ef0f9265765369b60634a747099f36f6726815c938"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"338d50213533f04f52dcf5612b3cac5029f4593b2e5654d9e75c6f27a122a8cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): broker API awaiting unified-sidecar-runtime migration callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/process_event_broker.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9638fc36f5cc5f0b13aed6f988b8647894dcb6e502f4e9c3a98e8138d634f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): unused; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6c90c3a481176aa0a20896cd45ed0b5b81673d651cc1695267c58152ff341f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): unused; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e67f81be569768a5375c3657a08d2ec9d64e64fec5d38f5ed9e896175720bfe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): unused; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7e89f8d0c8edec0e8d322fbafce4eba0dfd4fc1a60fc7855642dc7f27460f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): unused; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/state.rs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb3cdcca4f9bf3c8c4b99580ffe0d2844663966a2a14417d30cbac5f92314dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): unused; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/signals.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"be676f4a46911c66c5ee87e498cac48c077059b537f0f1d22e768fa6a14dcf13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":4204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e104728fe58d85c9f0beaf8af54b5effa5d269c0268fed45ea8c684f5a3c0b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":6130}}}],"partialFingerprints":{"codehealthFindingId/v1":"128641a317048e684a3570938849862ea45e16750e8adff208434e7ed96a47d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4450}}}],"partialFingerprints":{"codehealthFindingId/v1":"34af1dc3821cc170b32e38b367535182e54c113c449a93f714e484227f55b526"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":6002}}}],"partialFingerprints":{"codehealthFindingId/v1":"0549b3cb464b9ee06232bd92e3b360cd5e24535781b7f2092ca2159b8545009c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":8750}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b371313bd7a6f81a4fe1feb20c5dd25cb5b397e2ba52a06569dfd1f4667b97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/coordinator.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0e027877f34af2d2a5f4f07f113394f936ea467336730a8b3793af908f3d98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/launch.rs"},"region":{"startLine":4937}}}],"partialFingerprints":{"codehealthFindingId/v1":"66979048d18e5eedfe04d50f325c7bf4c4f27aca59f75af7f3f7352624270efd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): release the VM/engine RefCell borrow before awaiting; holding it can panic with \u0022already borrowed\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/process_events.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef83cf970d0a05f137b8bf225019e78b06994f3f3d25b29fa9ab1ceecabfaf2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): only reached from tests/service.rs; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4390}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb92744c97a389c064dad9d021ca0f09a2f02a3c2ee37fc445d620d2761fdee0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(clippy-1.98): only reached from tests/service.rs; wire up or remove. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/child_process.rs"},"region":{"startLine":4448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f42fef2ac745061f509c6cf08c8c6c63570caed469235dfe957a31a07de9da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(parity: confirm exact method set/signatures against runtime-compat.ts before first impl). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/client/src/fs.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151ab8065eeb187444f490de62901c60ea36ffc1fa2d298634a6b284f35fd8c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 205 project(s) overshoot their size bounds, lowering Project Cohesion to 9.6/10. The most over is \u0060crates/kernel\u0060 (22754 LoC, 138 module-visible types across 1 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ca802ec6bee95dd78f2c91f408856d9f066f872e606c7e3f2e27c88e1ff3439"},"taxa":[{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dffa846af9000cd196e553b7459f56375fdaeeb841cbde97a8ac8d33a6c0c980"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3557b3d0d1a570b66773754ecc7ee15884b258901c1dffc12b977aa68e520022"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"651a4fc3da603aa105f235a6217dad8f44787886b21069db7afb30f0610ccdd0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"317a2b0884592c5dcaf77b4eaba62e98c9340461e9840e77434cb2a7ee2780fa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e00c49d36dc27158f2d612fa2fff061d9f20d471a27bd973d31fe71070540d2e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be2a522c4cb5995c8111949636782b8950da591089a0f84a618a7d17dbf53d80"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21b260ae01fd24abc92527c8eb6a14c11cc1b29a6989a473a810d3bb14ffaea7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f89c0cb018474f80863e8650960f75f3641987588652563bb1687c118f9954a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"149195754490af9cff89053cf8d9df5bb17cb006677f059e4cd36f1db16425a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6df1216a66a5665a998a2f39a30d6b577864cb39e56da2d5e12832e0b6a9f78"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"156d82a6fdca2bca609b19a9b4df4c3870ebcf9e20e639ce04489156dfd82a48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee72c8d5a9d92e8e77ae498dcfe9eb58c2ffd83680d55b8800103cfd1467dd78"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b04f9d2e3bb6d09b3f575c61efe397f39fe5cc23c844685b11a4c14b73110cb1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd89729cc2ba641af3ba3b61b65583d10fe3271e71dc654c4a09c6ca7acbc711"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3c5d3262642571eb86fb6dc739cbea7d01bb98f44e21f0cc3f4e745944454d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac8eb79dfa01848c9591d4d3d4639a6823be4bbb96d16a40df23728da77d6f08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b362aa4f8adb4306b3d145674ff15a61aacd3d276d618258794efce080a924e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8853b7616a27696111b19a085eeb58fa60711c1f2389627d23eb19e0ab4a1e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fdace52517967069682f4d541cf1db103d249850b9ff9e28bca1b7ce09cb58b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9d142f7848c789b3c463d58ff4315f584a4ac2b3fb75ce49c4abbb2cb5dc365"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54015389eb5f9a0beb6433e209224f32665bbffd45f48b4ac71eacdc7584cddd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61146628abcb14f96f83ba5669ac6e9257cac15b64555c6536dd7d4f400920ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04513b34ce01d2d0fa62aad624d98ff9ee56872df69e50fc8b00979beedc4b02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6a6d49203805cdb679d421a8043ac39e7b032144f8312d45a17e6946daaafca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c732cf09e02bf835aeff316aafc9e631dc23649bd4904642dacb1d0c84bf7182"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58416306c1a27a37c4768b939e55dd2865e8672774adab59964be2ffeffdd74f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f07ec2e89ac4b54707f3c0b0d03cd2c61e15b4b72a2bade5e46420d93f616e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4482c9b194e2d6daa569131f8ba86d90beb3279a564c05078f346972f114a000"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d20d5484e3d8277d58c5e682057bd6b1904f0e084c9ee1d8b57c31e441c0f02f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a913690fe8cab11c1bf034567b6278ece652067eabb5c1894d5604b413f319ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af36230d14dcca852b9dc9839e70be3cd5f42c454d65f415953d610a90396f98"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18b00879fee655567dd8207925f5e2e17ea411a4b0170978a232b309be39be8e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a06fc7e8c99b00c17c8d761fdcb500999d5f106805fc8aadd847dc4131ef8dc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54641d69f9fd310e1e6e109eb8c8c7bbf100e9cca02deb9ddcf89f516439975c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db7b9023ee4b0a10916087777a9e78e0f13842e21ee1ac9d1d8813dcd69ac550"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"053c964afb5e326fe7261cd070f4c15a2ddea9fccc8f6d798c8511db44c85cb5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eca1cfbb2c528c3d6e45dd8a92a4acb5c38fff07023a79a1f066980edd4527f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83fdc76f0a58cc8830a23143668e44d8c2f2e5a609977116af42dc7fbacd423e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae1306a133f7c382c7cf107bfbc42c68becded0f6a311e8d7a358c32d689c487"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6b4376b78a9c733eae7e506383648719d224e57c04cdc844dacbd23534b200c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c70c3ef912dfb12fcc7ca961109d5b2a26241a5179b9c591dc13bc71d9eeafb2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11bc1dc801d8739fb7f74b6b988225d3643c38a944f21d307bb11b5937c39029"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c174e57a28ec959434ca3afa9e4ff547ecd857cd7f437da3719e1125cea28d4"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a8a4684d38e7b8030617cdc43b0c814f60f94693392144e6f434871b63a93ee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fdc141d654ea4db89c89202ca3826ae06c58a7f0013b6c7ff4f40ad75b6f00d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4574b4182ec8df488481f3adb664e2fbf659035ce0350fe8e17ee44b7a87d0d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"516926911dfd3af5a4fdf18d361d8fe6862ce62eeed04dc072efecf31720d9d6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdf1b268db88fcf522cd9a54b1460ddf2c59552fc3224b71cf7c7812cfafa8bf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9d59ac9aad93273d3071bb14c604daac0ff9b805ff21c480e0f17156d6a9747"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"329c1c955aaeca8fedca4b2fe3d606a9664797202fd37048916c4b407b3211ff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c3b28a8e7c56441ffe697c20c637d682c5609b57901e03874651736a4e5d1de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e94e4015419f52a5dbcf4cefb0188095b7e349356fc6da81318c1d26a7b170e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f83f1a7b6ac294f5ee74662c79b0c2592f1b55c32bf6f9a723d5a003f998a4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4a9eb0c717c08acf498326dfb44aa080f2c94db9bcc536e65ef15d63b027fdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e732739fe805746267a10810f3ca01ea77a790d79201f55aa42fe890c84ca3c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d720dfa1b82c66aa5d45b75702e4f946b5ad5b66e18c3c23c1201020ef7f3cdd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"489401bd9e978039f83ee93309a8af92689e6cccff5c81f3c9f4995322c20a07"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"091111382c550062b3d1a672a9e9cc8b29c61dade14b5f9f44d59685f1061ef0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4fb4e9e82f99aca40458a17f254e86616ed6b896056d35509b23c83026fbc46"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"522900f428eba7fbf14609c73a2949c767a414b12233028014c97810852febee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9481193feb484e2e12ea439feccde11e20bcb8d84afa3b396680200b35976f90"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a437e04fee0bc83aac1712045ded313bb60756be978cf036e3eb2abd99fd0eb3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b66ec31eeb29d90ee5cceee28571d60e4bb41fa8ccd5c62edebb92df716f22b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3de372a928d3a67a078c06e50e38de3ad29d1e5b88df7118f2f372cb83b58735"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f8fde2ef12db04f85694cc2ec49be12754efb7d6bddf3797af97efcaa894c4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d833256cd19fc72f8338bf43b6f1ac2b88fd9597b5963c76ad9b4c09cdc3e610"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07eb7813e1070f49b58b3c8549b2fdc2764cb2656d1650a505ea4f4a387a0cfc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d3221976b8c477faddcdd5648f83bf24be2a8df4cbdce89c8cafd72f2ea906d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e6bb2ce948801619cd6f532381066c049fe7867b63d5b7ceb952dc0773b6a8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79c203b769639f7ab5b34a93fb4a78ded0b23c3dec9f7c0e6b82d033ac1014e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73620d66ae76395e4fb8adcfcb9f730c28d8e5976ba50e34b3a14b5d44e99b66"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cd20349795866f352d609b2feebf6c2a36a182c186d2142614911a05294c9cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"155bce94a663e66008e5d6d6438abb49da365ada8a8280e95e148c4c15e52319"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"870ff38b0c688d0bf6a6a807f5b4c1239bd69912f10852676e067039502dd757"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3554677879e28c54419ec1419a277f38da206849ec1d70d5387ab8171b9530f0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1ceddd7e7d17a756f8f44bd8511c86e03f41134ef96ab085a418ab98a64989f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0effd870354076ccfb0d9e510719a9e03ba3ff12eb759ac92ef1610d85bab7e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71e3c3139f4996db354a88a9055710aefcc78c63b6d686de8b9b06c788ee1334"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f3ccc7e4176a07c0efa439670df1915e816c2660b6b5f18122ac1d4f26895a0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fa9e4ba501495214561d9adbad3cabbde9c57172881167833adc06d766b9e89"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0859b86570ad1e0eb677f14b91c594ddd5e202c8b5d8c497a0e711bc34f83155"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b94c51c810989306af546045c75dc1924f7204c4f01f5b49862adc0fb302be6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c59b2adeaf35879ec1981458684b5255fb2e51e4b33537416b602852a6857d9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a3648fbf301420e3fabb58ad03fbfe8238561f432e761c0854719dc8a5b2cf8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac394e44e0e2bb8358d4366c24df245d24c1a92875efb96b281653099582747e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60b5bdb65dd2ac74f9c56318ea6268aaa65d6ce054b4e8939d6bf54f1b451721"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e023c29965df0a663c003ad15613f0607c51014b9301c5388f45c89e20d6915f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fc3ea5b04e07c6d88d686a2c7316c56477921cbb8aee6f2d8317db5c29ed981"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ce2ad2a8966bed9b090b26a1433d466458a224db76f5afd0cd89b811d2147dd"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f66f4edba8e2824a11af8f6d1842f5cf93730cc0aaf91e922b9f17cf27af74f5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"769f42d97a4691206a0130c68c2c17d88c967a098b859d2d619009d084167462"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0665a5de26ea47af43db249e19181664f5b640456062670b68c2783917621d3"},"taxa":[{"id":"CWE-415","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c74ed52bad63e562f88e3ea2d6cf95928c91045912db7547eb8346820aa63c20"},"taxa":[{"id":"CWE-415","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5e4dad44ecdb88e3dca467a2504716b059a55bacaf4c2d24168f84a06632d23"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"707994ac8f7fc9cbf744ed05ed498c1be9f75a8ad281ff38d24099ee56cf161e"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddea8f21acff32d8a724ccda92d96942707f1525abc8d228ec2285d5b39f3fd5"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d911e2dce8a65790a3315a9ef8b86e7449ae5992958ebbf518b65cbb2a9d68a5"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"846d33aebe221b201baa6b9ffa47be8404fa51185b127c3f529361ce471ccddf"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75d49d83b2aa2b137b2a2cbb5dc90cab9cb14440fcd6bc7d298e4720ddbef95e"},"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":"355ca3f41733022821332250cc1454d14459fa5bd4bcec08be722fa192952886"},"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":"0b3695a5c5300aa856fb4b42dcd00ceb6fe9949c304574572f7175a1de415ac9"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"356771caa150832daaa8ec747b9e9869ebd2ae1744ebeb44858ba2dc1578eec3"},"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":"1b12c4179556308dd81af48bbeb51238eb7f1df5681d956f39936da969fd31fc"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69f5f6000ccbd67654a6b7340fcd7c2c13265a2dbb0828f7d4c83f2475d1fc0c"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6111efc6e7cce5171da21564dfc2efd85d7ec451f77c2fa4fc52862157eb6b0"},"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":"537e69ed482212bae59db0c7cfdf5f913729c6fea295cb76a1ca31cb25147fbb"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62252797fa36145193193062be016b3dfd7ab243aa8b7ceee3ec022850e216a8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e220e1d077ef24e36dbed3f62c0ee5affa34faae067212f0526dba1336417fae"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8257a64f011e11245c5ba012c3dfb3a5603758272e3d77996ab8bbb68b557a2"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25f1d44ff9712314bfff185a06307d27d74a059dfaf587595d209e57e3375e93"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df7b716c5e57316d8b811fb2012ca143625ef85d4a428f05134e1ee302f1396c"},"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":"cfd6c07cc7bff03297537b0171241ce48b166913da00cb8d31accb695587d98e"},"properties":{"dependency":{"package":"protobufjs","version":"7.5.4","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":"production","file":"packages/runtime-core/tests/integration/projects/parsing-agent-pass/src/index.js","line":7}}}},{"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":"d74aeba34c20ef883320d58ae3a9ebc2ca37676b56ad245f77891a27afcd5d2d"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e73274327a59fde3d7525c32eb900b994ffa4778e21ba83ba71c18747bd32c8"},"properties":{"dependency":{"package":"vitest","version":"2.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/core/src/test/file-system.ts","line":10}}}},{"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":"a9cf5519a382e031ac5e96c757bca8e7cc0a1299cceca22707fd93e59aa4c387"},"properties":{"dependency":{"package":"hickory-resolver","version":"0.26.0-beta.3","advisory":"[GHSA redacted]","aliases":["[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":"0d3d2c2346bccaaa14c1bd0f0713c18ae4de849fffdc7282dbd533ab105c9398"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.101.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"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":"84478e16a12858ab2ebd7037ad3bc3d1975f9cebe46b89975eb341aba1217962"},"properties":{"dependency":{"package":"hickory-net","version":"0.26.0-beta.3","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2026-0118","RUSTSEC-2026-0120"],"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":"fb7ba558835c3d5776220b1ed46920ea1c03545fa2bef785ee0ace6ff4d30478"},"properties":{"dependency":{"package":"uucore","version":"0.4.0","advisory":"[GHSA redacted]","aliases":["[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":"a94b231aba697aa1ab57c2fa2474553d71a238d90766517f25caebaa7e359020"},"properties":{"dependency":{"package":"undici","version":"7.24.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]","[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":"105aea45843776c78a6d6d0fff5683d619f81f6c0e5189f069eb81317df81a94"},"properties":{"dependency":{"package":"@grpc/grpc-js","version":"1.14.3","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":"error","message":{"text":"A security 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.29.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":"production","file":"packages/runtime-core/tests/integration/projects/agent-sdks-pass/src/index.js","line":3}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a78356b0ee0e9244618236e9df97cfd1a8ab9b73166a885db92fa55b91f4382"},"properties":{"dependency":{"package":"basic-ftp","version":"5.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"1.1.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb052bd6a8a133a3e91aed3af60720c757f502d4931aa75048a986ac8c4b48da"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.3","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":"d6fea03fbc02308b3692897583840fd18e22e73c36f485c62d6fe32e8beb8453"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2293c5b7438af6e9b72fcd6de42f60336e9647543d0ec963a873c5fd77b6da43"},"properties":{"dependency":{"package":"extract-zip","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"01fc85053279d115ea033564d5712283763a31a120ba4ad4775e78b10049b1a1"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/runtime-core/tests/integration/projects/esm-import-pass/src/index.js","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"7d167929c4d93b2c2cb6652d489950d8f3883d76df4dabc68f5a40fdab971fab"},"properties":{"dependency":{"package":"langsmith","version":"0.3.87","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582","PYSEC-2026-2583","PYSEC-2026-2584"],"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","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":"635cde9860b68e56898d582225d882b3dab2d1ebe75d111465bf8a323e0e396b"},"properties":{"dependency":{"package":"minimatch","version":"3.0.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/posix/package.json"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b119d517ff16b1edbc441e60662a8065e02e36cc86ecac75b87b22cc76a3fff"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","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":"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":"7531eb5fa8b12bbac40121f69038f913c6ef844555a157b58db0a6ce500ba8f1"},"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":"production","file":"packages/build-tools/bridge-src/prelude.ts","line":18}}}},{"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":"7713653c1cd2e524df06e4e81d883565ceb6482ea97f6eea94f00d39b4a4d989"},"properties":{"dependency":{"package":"vite","version":"5.4.21","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":"production","file":"packages/runtime-core/tests/integration/projects/vite-pass/src/index.js","line":8}}}},{"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":"659b17df3a297d0c761f05e64fbd7a7fec481b8fec3425db0f2590512d5583b5"},"properties":{"dependency":{"package":"ws","version":"8.20.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"crates/execution/assets/undici-shims/websocket-lazy.js","line":7}}}},{"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":"a2438b321fe3f6389f9bd7caa4033d5910b31a3422efe1e24ce51da189040332"},"properties":{"dependency":{"package":"zod","version":"3.23.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/core/src/options-schema.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a483f4cdae292cb63c374c3b42d1ccd6210d18126df3a695ee9363f6962b4fd"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/core/src/options-schema.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eca4f8c8dd62af99991987e0b49d0af3ebbe431e7d0efa2baf8dc90343ea0293"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/core/src/options-schema.ts","line":1}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4418f84a9021f8795e0afb95860a9ded4b00ef98d47f5279b54588b4c689b20"},"properties":{"dependency":{"package":"ring","version":"0.16.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","GO-2025-3678","RUSTSEC-2025-0009"],"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":"be9977d5d7ddb867e7f2e9fb5ad301e217dd9c03427d8e948d094761434f4502"},"properties":{"dependency":{"package":"jsonwebtoken","version":"8.3.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":"232458f1e861a473d11b103db83010acd3c76ee2f5eb5b53069ae6f2eda9586f"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.8","advisory":"RUSTSEC-2026-0381","aliases":["[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":"7ec937081c3ad6882e9c07735996d40cd6d5332ac535d70bb5252c6040e1f211"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["[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":"c78c7c829ffb431fb928ff724c9cf0276a780b7b7d9be87f32343d1209a988f8"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.8","advisory":"RUSTSEC-2026-0383","aliases":["[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"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":"44876c6f6f6f450835a64d3aa981a20481df8eb8c33e4ab707c76c1a108deb7e"},"properties":{"dependency":{"package":"ring","version":"0.16.20","advisory":"RUSTSEC-2025-0010","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":"1a1e503af806e767f14c170c32073931de1d4295405a897beef69c919a99a60d"},"properties":{"dependency":{"package":"adler","version":"1.0.2","advisory":"RUSTSEC-2025-0056","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":"b5524f25221308ec94b7206b58afaa59996104c20abaa242285d451f5344e44b"},"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":"29657cae34dd8cde614417a5e63194c90262d7543de5763d566a22c44f87c6e9"},"properties":{"dependency":{"package":"scc","version":"2.4.0","advisory":"RUSTSEC-2026-0205","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":"1092cdc16bab90e26caa98781415518f2a1a0fec9b43d183894264e01dcc42b6"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","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":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.16.4","advisory":"RUSTSEC-2026-0253","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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","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":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.41","advisory":"[GHSA redacted]","aliases":["[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":"22995033016ae3861d571b2c92ada6244555e3aeec08bc870b909cda12b35c06"},"properties":{"dependency":{"package":"rustls","version":"0.21.12","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","[GHSA redacted]","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":"4e10191ee837860aac404221938b0e8c831174d7e48347a76bce4a79a0babbe1"},"properties":{"dependency":{"package":"hickory-proto","version":"0.26.0-beta.3","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2026-0119"],"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":"ca383df8f93c1fcb449201c7c47b9fc487e55acf31a9bb60212d29fe36dde189"},"properties":{"dependency":{"package":"block-buffer","version":"0.10.4","advisory":"[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":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"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":"b7201ee5578e0e6d2c97433f7ed3424395684ebccfe025c157bbafd4e94f2544"},"properties":{"dependency":{"package":"h2","version":"0.3.27","advisory":"RUSTSEC-2026-0258","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":"8628c9c79027c893121fcb338f707b6a73a4d31f30e413f3d90107e00501efeb"},"properties":{"dependency":{"package":"h2","version":"0.4.15","advisory":"RUSTSEC-2026-0258","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":"ffba3a9076a73cf66b6daacb5914c478fbdc74d1383d8d2e4003b6bf3aa7b43d"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.17","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0340","RUSTSEC-2026-0343"],"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":"109eb8c2be00952287a6643744da7dcc2c9a7a6618d7cac60ea6539c1687dfd6"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc4db900d7247116e90ac1f55322889d7c04a2f09430308fea72e799e9229468"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eeec3fb51b2ebb0d9d55a325c151ccb01d520926aa9c30e060426ada15227f43"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","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":"e97c5a246e19215fe992c3964b2dda3e184a165be86862ddf4ff846203319e83"},"properties":{"dependency":{"package":"number_prefix","version":"0.4.0","advisory":"RUSTSEC-2025-0119","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":"498e5a7c3ed4f2bcbd6b2b7614dbfe37e10a36dafa04df21fe524cc2ee0e78d3"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cfb8ed44300aa6ffeb661d7d41eef138284968eeca502d5c052a7ea3680bc31"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"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":"e60e9a58918183630eae6f51a1dffc4f5343df350a7804024771f587ed2e768b"},"properties":{"dependency":{"package":"anyhow","version":"1.0.101","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":"54c81a0c986c9ad13365395b408894c309cebcea10ac5d63bd5a8d989c37a53d"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/runtime-core/tests/integration/projects/hono-node-server-pass/src/index.js","line":4}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"459bf2296eccf8b99f1bf9379b3cdbd0ff6f717c30e867950bdacc19ffb48497"},"properties":{"dependency":{"package":"@protobufjs/utf8","version":"1.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":"b3d0afc611d5d7b36cd3dbb34ab0bb8b11bd365187e2a3204fbf3ec48a4a4acc"},"properties":{"dependency":{"package":"@vitest/mocker","version":"2.1.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":"572de3f7a88fd28ecc11762a7547e863305db1147efb07c7d9bab2085ca42c9f"},"properties":{"dependency":{"package":"@vitest/mocker","version":"3.2.7","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":"b7bda289298f8c7b577c3df21f51a6fc17f92b7e23b2a76b5f7c4731a8327d8c"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/runtime-core/tests/integration/projects/parsing-agent-pass/src/index.js","line":8}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ff4501a0b6eb84bb92385b6433ad1c9d658a3cd9dbc3a993388fb9e366aa074"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[GHSA redacted]","reachability":{"kind":"production","file":"packages/build-tools/scripts/build-browser-buffer-polyfill.mjs","line":1}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03fbcdf09a22d34ca5c914ad9fad017791b0721825e41366b71be3ace7a4642b"},"properties":{"dependency":{"package":"fast-copy","version":"4.0.3","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b87b6494a671427e7c27b6404760b1f45f9acd62e070f99912b9d4fbcbce18f"},"properties":{"dependency":{"package":"pbkdf2","version":"3.1.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":"00d0eb45c81c70cca167aab54fd64f595fa1925a111085d303735b82c9e824f8"},"properties":{"dependency":{"package":"postcss","version":"8.5.22","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":"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":"5195098faf77c255578453173c9756e85fb14347a8c3b35399684e48e4e14942"},"properties":{"dependency":{"package":"turbo","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/runtime-core/tests/integration/projects/turbo-native-blocked/src/index.cjs","line":8}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcaff5d1e287866fb15ab08f33c0744f85cfc07f596d7af736c916f57cc95099"},"properties":{"dependency":{"package":"uuid","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"production","file":"packages/runtime-core/tests/integration/projects/uuid-pass/src/index.js","line":1}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec5e2376758d0835fa1c7d28d2ea3bf7e019224f9ada1aedae99cd82a1813c90"},"properties":{"dependency":{"package":"vitest","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/core/src/test/file-system.ts","line":10}}}},{"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":"3d600f2b91c39a19653c0ab5a6ef9a0450fe02f1dffa466e11eb3b544c7666c9"},"properties":{"dependency":{"package":"uu_cut","version":"0.7.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":"815e0380460c11fdf62083f4f192471a7ec3718bf8002f0808b02dd54589d16f"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"3.0.23","advisory":"[CVE redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-404","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"3ea6d4229414f1c95b10073b883a706b793f8d83da70ed5c22f4100ac141f875"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"3.0.28","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-404","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"27d974ee3fd5dcbd0dc61a8a77f97951971d209729c9538c070e3cb1baa1af25"},"properties":{"dependency":{"package":"elliptic","version":"6.6.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":"3f54d1f4607fdaea22194262dabcf05db6136d2d813d8619ac129c6b6f33edda"},"properties":{"dependency":{"package":"esbuild","version":"0.27.4","advisory":"[GHSA redacted]","reachability":{"kind":"production","file":"packages/build-tools/scripts/build-browser-buffer-polyfill.mjs","line":1}}}},{"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":"bfeab82b48e3dbc2ad10c6d600929f97a80828a81173b10488b98af254361d7a"}},{"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":"87deb116522e23be7ee3c82de6dfa960e017b8826041a1a8c8cd1dc9e6177f46"}},{"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":"94319d70761e2ec53564df33b39b28ce5cba84201785540fdbea23a1c3b6d51f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05730eb09c10ef3dab05a488ef3b565befab1850a0e05b5ffb274e1e1ace73ef"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fad97769c001a5ca60624d8aa81c4f3b30beae375dd218f58b24f10546ec26b"}},{"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":"23d3fe0173139b525133e5559c0bd2fc2f2f5b904a85639516e5ce0fdc0233ad"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11c021c59ff529984d15f326bd9fd021245bcde95ac02cf324cda3d8ec891afc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54a8d7099a6c6768cf9b7ca7f91c69b55ebc639d45ed9eb9f2429cd066f89617"},"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":"0e8a9bdc6ad8027323b1e9927747657af7faee56cb764685ee935d9d77bf7a44"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df3abe9ec311b3d5b04dfc81f3258ae7cb07212072d3585411ca2a8fc55be283"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a2e365f853f5996d664fb1d2bb0fa7c557200de881e43ccb79af96384dd01e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77b975b244924c2378d5809d32093d3786d767d80af3ff0d551e387ae1aedbd1"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"2602021411ac41e142b7b36645c237e05bdc438600e8e8eed46707298cd3246e"},"taxa":[{"id":"CICD-SEC-6","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":"a914dd23ce54723e886885da52f34a0439a05c77754986d6d6a6745922f4a68c"},"taxa":[{"id":"CICD-SEC-6","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":"285bb7e41b3431f4f76aad7f7770c14e1451f77e90ed39d7245621d95a297774"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34fb6e19b78b4b29f65f4cf8765618395532e048ca83f7ebbe8a33e482ffdc02"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 your Biome config enables no a11y rules and there\u0027s no axe/pa11y/Lighthouse in tests or CI. Start by turning on Biome\u0027s own a11y rule group to catch issues at author time. What was searched, so you can tell an absence from a miss: the 1 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VirtualFileSystem (23 required operations): \u0060VirtualFileSystem\u0060 declares 23 required operations: \u0060readFile\u0060, \u0060readTextFile\u0060, \u0060readDir\u0060, \u0060readDirWithTypes\u0060, \u0060writeFile\u0060, \u0060createDir\u0060, \u0060mkdir\u0060, \u0060exists\u0060, \u0060stat\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060rename\u0060, \u0060realpath\u0060, \u0060symlink\u0060, \u0060readlink\u0060, \u0060lstat\u0060, \u0060link\u0060, \u0060chmod\u0060, \u0060chown\u0060, \u0060utimes\u0060, \u0060truncate\u0060, \u0060pread\u0060, \u0060pwrite\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"add7e21d79f5a6f960397d1745a2f4f9bdb2f26a5730eaa303e8415754057dd4"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Kernel (20 required operations): \u0060Kernel\u0060 declares 20 required operations: \u0060mount\u0060, \u0060dispose\u0060, \u0060exec\u0060, \u0060spawn\u0060, \u0060openShell\u0060, \u0060connectTerminal\u0060, \u0060mountFs\u0060, \u0060unmountFs\u0060, \u0060readFile\u0060, \u0060writeFile\u0060, \u0060mkdir\u0060, \u0060readdir\u0060, \u0060readdirRecursive\u0060, \u0060stat\u0060, \u0060exists\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060removePath\u0060, \u0060rename\u0060, \u0060movePath\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22f024ba91e7564468d1455b9fae0d7d89e74ea182062058946429c8248a267"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VirtualFileSystem (23 required operations): \u0060VirtualFileSystem\u0060 declares 23 required operations: \u0060readFile\u0060, \u0060readTextFile\u0060, \u0060readDir\u0060, \u0060readDirWithTypes\u0060, \u0060writeFile\u0060, \u0060createDir\u0060, \u0060mkdir\u0060, \u0060exists\u0060, \u0060stat\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060rename\u0060, \u0060realpath\u0060, \u0060symlink\u0060, \u0060readlink\u0060, \u0060lstat\u0060, \u0060link\u0060, \u0060chmod\u0060, \u0060chown\u0060, \u0060utimes\u0060, \u0060truncate\u0060, \u0060pread\u0060, \u0060pwrite\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5784c0f44d350077372c1ae8bb4f669501edc6ece69899e88fa96012829e0a17"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Kernel (20 required operations): \u0060Kernel\u0060 declares 20 required operations: \u0060mount\u0060, \u0060dispose\u0060, \u0060exec\u0060, \u0060spawn\u0060, \u0060openShell\u0060, \u0060connectTerminal\u0060, \u0060mountFs\u0060, \u0060unmountFs\u0060, \u0060readFile\u0060, \u0060writeFile\u0060, \u0060mkdir\u0060, \u0060readdir\u0060, \u0060readdirRecursive\u0060, \u0060stat\u0060, \u0060exists\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060removePath\u0060, \u0060rename\u0060, \u0060movePath\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4685d8e85b9144f3a1a439c00ed5fc54a09bcad8d7bd77c20eba0f306e416bf"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BenchVm (16 required operations): \u0060BenchVm\u0060 declares 16 required operations: \u0060writeFile\u0060, \u0060mkdir\u0060, \u0060delete\u0060, \u0060readFile\u0060, \u0060readDir\u0060, \u0060readdir\u0060, \u0060readDirWithTypes\u0060, \u0060exec\u0060, \u0060execArgv\u0060, \u0060spawnNodeCapture\u0060, \u0060spawn\u0060, \u0060waitProcess\u0060, \u0060execWasmCommand\u0060, \u0060getResourceSnapshot\u0060, \u0060dispose\u0060, \u0060sidecarPid\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/vm.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9f6fad311e219c953e5a86c1e56d458668f2a65d53f36cd5f7e135179b2341"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VirtualFileSystem (23 required operations): \u0060VirtualFileSystem\u0060 declares 23 required operations: \u0060readFile\u0060, \u0060readTextFile\u0060, \u0060readDir\u0060, \u0060readDirWithTypes\u0060, \u0060writeFile\u0060, \u0060createDir\u0060, \u0060mkdir\u0060, \u0060exists\u0060, \u0060stat\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060rename\u0060, \u0060realpath\u0060, \u0060symlink\u0060, \u0060readlink\u0060, \u0060lstat\u0060, \u0060link\u0060, \u0060chmod\u0060, \u0060chown\u0060, \u0060utimes\u0060, \u0060truncate\u0060, \u0060pread\u0060, \u0060pwrite\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9188f71342b4f6dad328e2d3a4a5ebb65fa3210c9b5be129da9402d8a80f61"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VirtualFileSystem (23 required operations): \u0060VirtualFileSystem\u0060 declares 23 required operations: \u0060readFile\u0060, \u0060readTextFile\u0060, \u0060readDir\u0060, \u0060readDirWithTypes\u0060, \u0060writeFile\u0060, \u0060createDir\u0060, \u0060mkdir\u0060, \u0060exists\u0060, \u0060stat\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060rename\u0060, \u0060realpath\u0060, \u0060symlink\u0060, \u0060readlink\u0060, \u0060lstat\u0060, \u0060link\u0060, \u0060chmod\u0060, \u0060chown\u0060, \u0060utimes\u0060, \u0060truncate\u0060, \u0060pread\u0060, \u0060pwrite\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/test-runtime.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8033d082ac18a94b644d7cd81fd7d6d324b151fdcb3dd7faca1eb3831ede43ef"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Kernel (21 required operations): \u0060Kernel\u0060 declares 21 required operations: \u0060mount\u0060, \u0060dispose\u0060, \u0060exec\u0060, \u0060spawn\u0060, \u0060openShell\u0060, \u0060connectTerminal\u0060, \u0060mountFs\u0060, \u0060unmountFs\u0060, \u0060readFile\u0060, \u0060writeFile\u0060, \u0060mkdir\u0060, \u0060readdir\u0060, \u0060stat\u0060, \u0060exists\u0060, \u0060removeFile\u0060, \u0060removeDir\u0060, \u0060rename\u0060, \u0060pwrite\u0060, \u0060vmFetch\u0060, \u0060registerHostFunctions\u0060, \u0060getResourceSnapshot\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/test-runtime.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"15de57a9c03457e2c4f378d6ed87bfbb5a9a740d4dc26290ac2f6102d1e17256"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: utmpx \u2192 systemd_logind: \u0060UtmpxIter\u0060 (slice \u0027utmpx\u0027) depends on \u0060SystemdUtmpxIter\u0060 from slice \u0027systemd_logind\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/stubs/uucore/src/lib/features/utmpx.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3e6b29c50c214b6bcd349fa0235a096af7c31fddb7000c74a2b6d4bbea8802"}},{"ruleId":"P12","level":"warning","message":{"text":"Tests run only outside the merge gate: \u0060pnpm test\u0060 is the only CI command that runs 304 test(s) in 80 file(s) (e.g. \u0060packages/agentos-sandbox/tests/provider.test.ts\u0060, \u0060packages/agentos-sandbox/tests/vm-integration.test.ts\u0060), and the workflow runs only on a schedule \u2014 a failure there is found after the change merged, when the only remedy is a revert. Run them on pull requests (or in the merge queue)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci-nightly.yml"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2e4c2bd3fac81516db357f92e4e19c3195f3f574a90bc65f237e8be827e625"}},{"ruleId":"P12","level":"warning","message":{"text":"Tests run only outside the merge gate: \u0060pnpm --dir packages/runtime-core test:npm-workflows\u0060 is the only CI command that runs 8 test(s) in 3 file(s) (e.g. \u0060packages/runtime-core/tests/integration/e2e-concurrently.nightly.test.ts\u0060, \u0060packages/runtime-core/tests/integration/e2e-nextjs-build.nightly.test.ts\u0060), and the workflow runs only on a schedule \u2014 a failure there is found after the change merged, when the only remedy is a revert. Run them on pull requests (or in the merge queue)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci-nightly.yml"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"58525d1cc6f7db00a4b45624200b50f46b7a34b41790ac38bff2a37871c19d57"}},{"ruleId":"P12","level":"warning","message":{"text":"CI test gate excludes suites by filter: \u0060pnpm --dir packages/runtime-core test:pr\u0060 drops 182 test(s) in 28 file(s) (e.g. \u0060packages/runtime-core/tests/integration/bridge-child-process.nightly.test.ts\u0060, \u0060packages/runtime-core/tests/integration/cross-runtime-network.nightly.test.ts\u0060), and no other gate runs them before merge. Run what it excludes in another job before merge (a complementary selection), or remove the exclusion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8266efd70e187bce6e25377ea3888b19c3f4e5c11575796ebb1108d5d4b67531"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/runtime-core/tests/integration/projects/jest-native-resolver-blocked\u0060 is a workspace package with 1 test(s) in 1 file(s) (e.g. \u0060packages/runtime-core/tests/integration/projects/jest-native-resolver-blocked/sum.test.cjs\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/projects/jest-native-resolver-blocked/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2486d4d3cd3d8c786d86e6099b8f7b0d921aedf17d82657119643910355d983e"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/runtime-core/tests/integration/projects/mocha-pass\u0060 is a workspace package with 3 test(s) in 2 file(s) (e.g. \u0060packages/runtime-core/tests/integration/projects/mocha-pass/test/math.test.cjs\u0060, \u0060packages/runtime-core/tests/integration/projects/mocha-pass/test/text.test.cjs\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/projects/mocha-pass/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698e5c97f9aee7184019abb3d3c9c39deacc0a4150f3ec112d34a52922190358"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 7/147 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060crates/execution/assets/undici-shims\u0060, \u0060crates/native-baseline\u0060, \u0060packages/agentos-toolchain\u0060, \u0060packages/build-tools\u0060 and 135 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060ureq::get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"014aeb694a45c0305b3f39d775d8d427fec9348c3465149f3add0b26e15ffbad"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060ureq::get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf2b6235e606e024dd5f937073a7e9913175ab90178921248403d1217560760"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060ureq::post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa004aea6672c65927eec3a4c7a17b1e4770ce2bc3f5cd0b8af18efa4167d714"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060ureq::request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54e264dee9ed34f6eb1864f33b06dc1a00673e92798787c084ca6838aa0a62e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060ureq::delete(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7c48a050a838421733031a78703ff7715dd88e1595ed160bf076bf26449522"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060ureq::post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/plugins/google_drive.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58f81103dacc4959aec13096aec9d774269c82da71e895c9a272cc539c99fed"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/families/net.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c60f4d2ba16a856b5f1639a8174466616cb0d3259ee6f7a090c3137f63f0a3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readSync\u0060 in \u0060read\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e869301a32bf9f19b00275a72b681954a097023f5dedd15026dafe76a10cbd1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060closeSync\u0060 in \u0060close\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f689fbda7f60d9d9002ea3aa6dd604654bf9ba60a47fe19f4dc5fd618cb2e4c0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.closeSync\u0060 in \u0060close\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"572b04459eee171a3f76cea4cdb462807f85c0e4f618701bc546f8f28913c0b2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.fstatSync\u0060 in \u0060stat\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d5397d4af7c271daeac50a6c9a1c4629d369d84a6b6d13451a6d276998ea17"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.fsyncSync\u0060 in \u0060sync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"06523a5de3973cf524a309fca555be0fb592308f7afe9f7977b9c31913f0178d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.ftruncateSync\u0060 in \u0060truncate\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40a434b80f0dc7f23a602fd41d290e993899b5e3ea16f178611da58963eae9e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060chmod\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"922721fc6a4d5c353ed4c8750b852137ec64d8bff45dedac19caaa0846842898"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chownSync\u0060 in \u0060chown\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"799188d38b11ff5fc539b8742a7247af1a5fb84c926777ee4a19b70366db9410"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.futimesSync\u0060 in \u0060utimes\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d206982a45527770ed4c8f48cd801551cc580aeda4be6c4bd71913ebea4614"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readSync\u0060 in \u0060read\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3892c3ce6e6a8f050affe2fbbff14b9fb8d420a3738f5f33dbed8247fc2be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeSync\u0060 in \u0060write\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd390d8c08f3ac1bfde55398de5b6dc192448cfd846fdefb808e32b744af171a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeSync\u0060 in \u0060write\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"800565bad863a14e4a02803011ed57218daa5dd030fbde4026032ba31809eeda"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readSync\u0060 in \u0060_readAllContent\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bfe531b420394c8ba2d31d20509cb4cffbd6466a937f56fcb8b5059d4e1b4b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writevSync\u0060 in \u0060callback to void\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ac1e904928f87cf97c97aab0fa82cc39a4ab7ca6373f706e05ea6918e3c35"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to void\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb6976fc611ac05917787473fc602e05678c9b84572a5b7146dd90783789d2c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060callback to void\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"be02c8ac5095f7a05cc26d41124dfaf1ff81535217ae1148dc8d0442b1a8d579"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060callback to void\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f26e9cc284ccbb850e5621acce0f5db1d112c26518427768bfd2a32d92a5dcb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.openSync\u0060 in \u0060fsReadFileAsync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5a58bcf9421c20205b8f309f7b55acdcd3a4f8c960621a9691a30291336f12"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.cpSync\u0060 in \u0060cp\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3905}}}],"partialFingerprints":{"codehealthFindingId/v1":"0971305a7f8e8a81aff884f9310d8cd8512ad592bfb7129274aa0c712a1b9c32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060mkdtemp\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3908}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1409eac9d60c810fc6ac60dd8b9d96e0ec333c709fd97c299006ad1165262c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.opendirSync\u0060 in \u0060opendir\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3911}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62dc1308311f197e24a4e23de3e5a8a0bd7cacab4504954b9310517eebc7247"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.openSync\u0060 in \u0060open\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3914}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88f89cb71a5a40a5b57924df0ddeabdbf4f2e6de017870bd813b6e5a1202b58"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statfsSync\u0060 in \u0060statfs\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6bce4ef7cbd0ae75f0e516a3a07ec9fee7865d54088a7d9e94262a38c8b977"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.globSync\u0060 in \u0060glob\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3920}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5751109dc3a9204192a97b100b98f62c9c921640d86ae553e14a70a7149f2b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060rm\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9cff315a51fca466b68b8a1c51745487cdbd0e8a1685895c533505b90dbeda"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.lchownSync\u0060 in \u0060lchown\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3935}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71b4d0353c07ed5ba82893e18e8eac5d4a393c5401c6573998110c2f9505ed7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.realpathSync\u0060 in \u0060realpath\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3950}}}],"partialFingerprints":{"codehealthFindingId/v1":"befb05f990885286e7d2ccf91cc6c36b40145790c5b9331c7d5c50ad4785fba7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060runNodeProgramMeasured\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/layers.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea96236bc3cf330765bd0e1eb837063a08f4c2b79f0ba47603e2bff73a10829"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060runNodeProgramMeasured\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/layers.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec9df16d5f4c10c2c5bf729ca0e94a5fa0f81ca34fc7e46a823f078fc564b44"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060runNodeProgramMeasured\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/layers.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6891e5ed99c672517e4e0cd57d0c82db3275e52f261a09497e442e5561dd3f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runNodeProgramMeasured\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/layers.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5dc171d73c447426e4c843f8ba6f4336ed184f377da4311d08b5b293f3a3e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060runNativeLayerMeasured\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/native.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"30068eca9bbb4376f0f3cad9f330e9433a0f3c4650080a9071ca1c58655bb965"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (80 clone groups): 80 duplicated blocks under packages/ have copies in at least two of the sibling directories build-tools, core, manifest, runtime-browser, runtime-core \u2014 68 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 80 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 80 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 80 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/os-filesystem.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3602113617128188871cb5a770a38970a0e2653422cc547477820fdf318d545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (331 matched lines \u00D7 2 locations): packages/runtime-browser/src/os-filesystem.ts:44 \u00B7 packages/runtime-core/src/test-runtime.ts:649 \u2014 the two spans are one implementation copied and then locally edited \u2014 2203 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/os-filesystem.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde57e7daeaab9ce7cab5152e4361bfac327774ab84a393dd909e9c76f2edd67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (278 matched lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1259 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1027 \u2014 the two spans are one implementation copied and then locally edited \u2014 1499 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"69622858145e2a96dc0b2418289b9748fd4c9ba6b7aa8c76cc1caf6c913bdeba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (270 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1759 \u00B7 packages/runtime-core/src/test-runtime.ts:2461 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa3f4ae8d38ac00ef6bf00e29bee78836cdcfa8989658cdf36abc5d855cbd9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (206 matched lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2770 \u00B7 packages/runtime-core/src/kernel-proxy.ts:2173 \u2014 the two spans are one implementation copied and then locally edited \u2014 1242 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2770}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c2dbb7e049c24ad9e7b2eec91164d0dd0996785f9d376574fb63065ce948f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (205 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:822 \u00B7 packages/runtime-core/src/test-runtime.ts:1385 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64ec2e255210df1ea952386abca94ef247848793bcf7f31f81091d80c3e022c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (169 matched lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:2205 \u00B7 packages/runtime-core/src/test-runtime.ts:2862 \u2014 the two spans are one implementation copied and then locally edited \u2014 983 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fc97e0612bd9b9523a4e41089470a6f15ab907ae6f4f91da7c13c847f8c098"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (160 matched lines \u00D7 2 locations): packages/core/src/runtime.ts:1 \u00B7 packages/runtime-core/src/test-runtime.ts:123 \u2014 the two spans are one implementation copied and then locally edited \u2014 1016 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfafb20c1d75f84cb001524adbb12473deb1d86065f69475dd02c937cbbed5e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (152 matched lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:2443 \u00B7 packages/runtime-core/src/test-runtime.ts:3217 \u2014 the two spans are one implementation copied and then locally edited \u2014 786 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6fcde7b03ff5002ab5ee29ab78c7db4e813d9fe60e1a6325169a1309b98b57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (135 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:322 \u00B7 packages/core/src/runtime.ts:203 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c1f6500d65c6b792b15da77efe47b5aaf0e9d7f27d7bb0cd73635e71c6f832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (115 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1052 \u00B7 packages/runtime-core/src/kernel-proxy.ts:839 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f2c753209cd3108124d3e3a8fba628ecf953bc632fb8e165de6f2d78c9abe7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (110 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:479 \u00B7 crates/execution/assets/runners/python-runner.mjs:706 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6332a13d586eebc8fb3fd746b635da6896efdf6748ae65b7ac9d2b69933599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (109 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:3835 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4012 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5740a1b832b9aedf039566f4a0288a2eec4fbdd7c6ea9dee5567cceb4aa8b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (109 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1572 \u00B7 packages/runtime-core/src/test-runtime.ts:2155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ac054d4e317330f754b394b428f3ba7fca7bd1b2e172f62a35e211a004ad2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (109 matched lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:352 \u00B7 packages/runtime-core/src/kernel-proxy.ts:236 \u2014 the two spans are one implementation copied and then locally edited \u2014 595 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acbcdfa33edb97a41277ecd3c60bfccc212e7adf73c06df5c0f20a8e8978941"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (104 identical lines \u00D7 2 files): packages/core/src/sidecar/cargo.ts:1 \u00B7 packages/runtime-core/src/cargo.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 104 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/cargo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c4c2816d9e8ab5d4e3be062fbe3b0726b3c35659acba516853607bb14c9e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (101 matched lines \u00D7 2 locations): packages/runtime-browser/src/converged-net-bridge.ts:70 \u00B7 packages/runtime-browser/src/converged-pty-bridge.ts:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 541 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/converged-net-bridge.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d0d108e4aa5a57f84304ee32631fb9356afa3a1c295e1331a36cd9012a807c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:809 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:948 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dd210827005073d109dc285971c24be5eb17718fbd75e8617f5ca88994a552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (95 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1890 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1490 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b61946ccd9553748e511cd9e904a9598903543cc6fbb41fc93553dd4e1f2a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2502 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1918 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"72272f4b36cf0180bee3f503c9e2992d938938fee642b4d1e63fc91a692db21d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:2087 \u00B7 packages/runtime-core/src/test-runtime.ts:2747 \u2014 the two spans are one implementation copied and then locally edited \u2014 578 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4949a56246cc9cfa38e669749e3f92e4ed4efde61aa957b1348b527fb0e027"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): packages/runtime-core/src/sidecar-process.ts:739 \u00B7 packages/runtime-core/src/sidecar-process.ts:1581 \u2014 the two spans are one implementation copied and then locally edited \u2014 352 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"85abb5cadc7327a56b1efffb3936810d2b47620d148e104c05a6bd8a93c2945f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:265 \u00B7 packages/runtime-core/src/kernel-proxy.ts:154 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef96197ccb13aed683ea2f3e6cb5c890b63fa895187e74dea3c14c25a1922c8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1387 \u00B7 packages/runtime-core/src/test-runtime.ts:1972 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b82d0290b76533598916dae9073f8a61e2b6b7064fb9fb6afc57da10c9ca115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2 locations): crates/execution/assets/undici-shims/http.js:3 \u00B7 crates/execution/assets/undici-shims/https.js:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/http.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"91780ed00c325a21bbe15c903214e5ac9c0dda39d1c8b6659981e5360342d19c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (68 matched lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/builtin-modules.ts:349 \u00B7 packages/build-tools/bridge-src/builtins/stdin.ts:379 \u2014 the two spans are one implementation copied and then locally edited \u2014 423 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6200bddf2fa7c0b93638e560449f92b08826531b172b802afee9e6d19f3f6a37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:763 \u00B7 packages/runtime-core/src/test-runtime.ts:1272 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc95d411f68a7d768f7e2112bc72d77860bd15411bf5acd055ddf68cb9788aea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:2709 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:12222 \u2014 the two spans are one implementation copied and then locally edited \u2014 342 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"268faf8cd15431a3f0dcf2ac5277631d58bac0ea72696e0ea3b6c658259f6e7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1231 \u00B7 packages/runtime-core/src/test-runtime.ts:1795 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"35382dd3e2d94dc83a9464609c7f982ef055748e2af8e4497d05212a509ab09a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:55 \u00B7 packages/runtime-core/src/test-runtime.ts:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6923496fd83c22aa6942c2ebc6c88f90322aabd8c737db96a7eb997486bb27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2672 \u00B7 packages/runtime-core/src/kernel-proxy.ts:2088 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e973f209b2290f508dbd00c21ed78c9cd8921d71bb6f28c8800e00f885542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): packages/core/src/options-schema.ts:61 \u00B7 packages/runtime-core/src/node-runtime-options-schema.ts:43 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/options-schema.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b15b2bdbe5c6a20685add79a4e262e6a651a6b34632b83a98606fc8e267a82e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:758 \u00B7 packages/runtime-core/src/kernel-proxy.ts:641 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b55bb71ec740c8847cd90e2a1790068fec6384daa3181c2d3dea56050b0e87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3428 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7354d9552d4a33229f9e4d571bf5b5f802b86378615639e05afe821b9c9410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:764 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:903 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ff0c7309fd6dca049f70a98bd313e989ffe487cf1c460c866b303bcce45b72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/core/src/options-schema.ts:15 \u00B7 packages/runtime-core/src/node-runtime-options-schema.ts:5 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/options-schema.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0797352360593eedbcb6df9d1e5cb2926663444698436595de0554667fe74c1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1322 \u00B7 packages/runtime-core/src/test-runtime.ts:1889 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d21e0590199a070dbeb95be267e73eaa2a05b4ae535923c24ccc95968462cee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:6699 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6815 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6699}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc75587a7d92f94b3af7d5e1ba1f86282b46650fefebbf8875cb0ab3a7064bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1140 \u00B7 packages/runtime-core/src/test-runtime.ts:1704 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7aea3cff120fb276ce621831f91e91578b4b5e3fece5203b609bd97873adbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): secure-exec/src/index.ts:55 \u00B7 secure-exec/src/typescript.ts:22 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"secure-exec/src/index.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e638a9128d22646089b2b845b0c54c8643fad7131c667b12a7760e51d93b45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:508 \u00B7 packages/runtime-core/src/kernel-proxy.ts:370 \u2014 the two spans are one implementation copied and then locally edited \u2014 326 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d882f9d1928c1c0e64ef66ee7940b671ebc4ba1722e1b1f9a3216b56e35c4157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:8865 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:8900 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8865}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb9f1edcfae2a65a9e85c106a7f885f1340a65876f7ae42c3a1f31cc42bad4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:10756 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10794 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10756}}}],"partialFingerprints":{"codehealthFindingId/v1":"512f8f8840fdbfc18d4c21ab503602319e1be902e1572b4f68ba960c36e4d610"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/dgram.ts:807 \u00B7 packages/build-tools/bridge-src/builtins/dgram.ts:854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafaa899cf380137b81a204d24b1de823cfdc3c41c20d4db289f48e756f54e70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/core/src/agent-os.ts:930 \u00B7 packages/core/src/agent-os.ts:968 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"db685d66fb72d5de27808df8095e52f736c402710b657f290785720063efe846"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:7280 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:7537 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded89bd7ead375d331fecf20d2d0774cf53dbb0ed44a36eb856e13c01f562a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2833 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2833}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85cf311baf1de756c8a8149e5f46fc8f2997a50af4399e165bf40e5498f0f18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:11009 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11041 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11009}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cada96174df98bcb84cd17c099f0ebb30e9d60f30e6aa959187f2b52030142"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:1209 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4379 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed218195ea473a4d8ee5734857c8de60feb66a1eb1cd733fd82c0b289294eb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http2.ts:1492 \u00B7 packages/build-tools/bridge-src/builtins/http2.ts:1713 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf4ca1a58bd4e44ffb76ac4559db40a90f47f82c166079cd21ecd3d7a772a0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:560 \u00B7 packages/runtime-core/src/kernel-proxy.ts:407 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"40349531ef1ff51e06aeb3aebc76935a780483af3f35667fd48e405e2d6b60b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1231 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1001 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf451ba6dde542f57c3d0cdf7de9d5dba0cfe22ac2643847eed91138db0bcec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:3517 \u00B7 packages/runtime-core/src/kernel-proxy.ts:47 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d88240b67169e4e3a23fb94413a8e4f762214a8341e81515f6925daa50d2da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/runtime-core/src/node-runtime.ts:809 \u00B7 packages/runtime-core/src/node-runtime.ts:849 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66980bf994eb6286e867a51858caed1872f05c0be3e81f6b0b30b54ee11f0aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:192 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:724 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d751bac7ed7ba6e01d8ad3e9d253dac11243442a08f8e59559ac6fea6c7dd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/build-tools/scripts/build-browser-buffer-polyfill.mjs:45 \u00B7 packages/build-tools/scripts/build-browser-path-polyfill.mjs:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-browser-buffer-polyfill.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4713959c50718d0960da699d0316b32557c895a5059e0b2acfe50323dfd4afff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2627 \u00B7 packages/runtime-core/src/kernel-proxy.ts:2043 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7018c00ec84e25cd6bf698b44899d7d275091f6bfb43718a00e1152a365deb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:7511 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:7571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd96bcb4082d4eaa97b4a113c11b80ca2971bc596924c9554b75235f6cb320"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/net.ts:1628 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:1652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a452f10fce45531c2cb5b9035ac2118dd0e89f517d15264606ce40d998076e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1536 \u00B7 packages/runtime-core/src/test-runtime.ts:2121 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f0bb4555246cb856856386d56778e9021b260649a0dcec74d8c7d3727b3b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/runtime-core/src/permissions.ts:73 \u00B7 packages/runtime-core/src/permissions.ts:98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/permissions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def6a47a419dd24d26810805796ba2b00469e6438907a3e2b33a26d19c5c759"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): packages/runtime-core/src/sidecar-process.ts:853 \u00B7 packages/runtime-core/src/sidecar-process.ts:903 \u00B7 packages/runtime-core/src/sidecar-process.ts:983 \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/runtime-core/src/sidecar-process.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbef2aedbfa1b43423c566b90d3b424268680cfd87fbf201d74bff3067e767d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:6647 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6731 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6647}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1af06d8aac31bd0bd237cc3ad63801613540b7a07b226ab348c9863ccce00c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/build-tools/scripts/build-v8-bridge.mjs:544 \u00B7 packages/build-tools/scripts/build-v8-bridge.mjs:581 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-v8-bridge.mjs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"389fffac796862b48836ac1ce8871aea02d434c66803ba296a541ef2aca0c2db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1198 \u00B7 packages/runtime-core/src/kernel-proxy.ts:971 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"289ad8918a95b5053678652136d26bc9e9e65c0568f2e3e7ec723d31c9d269b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:1138 \u00B7 packages/runtime-browser/src/worker.ts:1170 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"42329147178c428e68b3ab9061822af2a7585a423989086488f7eb17fe6dcdad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): scripts/pipboy/src/cli.ts:93 \u00B7 scripts/pipboy/src/cli.ts:149 \u2014 the two spans are one implementation copied and then locally edited \u2014 159 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/cli.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c43768c262ae62983b9c04b393e4a48e27b6f1f316d0ce0163fe985117ec44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:601 \u00B7 packages/build-tools/bridge-src/builtins/misc-stubs.ts:219 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf8007719e37dacd2b1ff7c35bed6ad32bcb7b475e3cf32675d2e0ce68e6e3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:566 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:648 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dab8c371fb10e8cb3b089cde922f15c053ef8b02a3a6abbe1b993ce448d9ab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/core/src/sidecar/binary.ts:17 \u00B7 packages/runtime-core/src/binary.ts:14 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/binary.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73d89f81dd39258c83d3faab9b24abc44d4974ee02d8dbea99d978fd67e316a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1154 \u00B7 crates/execution/assets/runners/wasi-module.js:1196 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9509e4dd3ed2f352399a9531dca2e2363448e34e5c1a9167f15e0e9d85386005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:136 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a21f361c18e5d7dc64adb4dbbbd46013b1eea28036ef92db24025eee101e15d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:2142 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad99a21eea2c8cb664235434605205457f43e1ec96f80d288f5bba188eb3abb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/net.ts:1238 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:1263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccda330217076315e9cc3fdaf57c1cb3a8f614f5a544a16599b67e1b8f2f9c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:2415 \u00B7 packages/runtime-core/src/test-runtime.ts:3195 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e458a2af866c255859c162a1cbacee65a5a1819b5429d78ddb860e3a7cc5488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1016 \u00B7 packages/runtime-core/src/kernel-proxy.ts:808 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1348eea798e58964f3113edee053096dc2b5fc87bc0e55c66e9a1641464c3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2737 \u00B7 packages/runtime-core/src/kernel-proxy.ts:2145 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfc10e2e79e2afe618987964a8ea72cb8034830152d73f7a79474e7cd00808d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:2244 \u00B7 crates/execution/assets/runners/wasi-module.js:2411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"792c2e4dc2ff5cd6f2b20666e6708f9f7e671c57dd273a6b499f0ade1c74a3e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:2514 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:12085 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb5d100a422a943c5a4b2f6cf8b0d77ea1ddb8b5d89c305be030cd3669dd84d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:6159 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3440df338225bb954ca647d60c089e0904c6452597d400f65981104fe61f9897"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9179 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9405 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b5f3a97c8fe8b3b13b392d7e074b6ae366f7a861ea83ce1176d9489dcc36a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/dgram.ts:1276 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:3634 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d2890388920c2a956ecbb71f4526745b9e630985b61d251499394c7ce1bd92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:1614 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32e7acff19de26e4a5a7dc8464955aceb4624fd83149bac4078bf605bdcf811"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3324 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcf734a13eeba1b22057befb83e44676b99a8fa9a53d66d9e52978de692d371"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3360 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4237 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3a532c7b9cb65a977566a2435c16ec623c0b07e59dba0f5ab23c262448d126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1695 \u00B7 crates/execution/assets/runners/wasi-module.js:1777 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d65625c94e0f72d346d7c922b854a99cb235829408426a7f010635a5b1bc47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3404 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d179de05ef3b97ee774a24f313761f1432c71bcd59365932dec7ec1c33d1fe22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:11411 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11411}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cad8f7cf6fb3dc44e7009d0cac8a7afdf0e8ae9273dbae0c97c338ed55b5b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/dgram.ts:751 \u00B7 packages/build-tools/bridge-src/builtins/dgram.ts:821 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c12847b889d68d6a0ce2a2569fd3ead012072e98ea2b7d655405ac52c96f3b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/fs.ts:922 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1566 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1918 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9551d39d4891edbad005af43cec6aac598fe1b57934773f246cf3c46dc9e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:1558 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1911 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfaef1bc54062da504504d375f89b1a238b3edb5f6981cca7c1835eb9c8b316"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3734 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3805 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37e170688d1464d91122698d48d16285f1a897bf1529910e2369b95bb65e391"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/http.ts:1119 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:1249 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4422 \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/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63818fecc15256ba99938e0f4a9d50be7d94a91f727e50939b775e8312a4d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/http2.ts:84 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:3615 \u00B7 packages/build-tools/bridge-src/builtins/tls.ts:212 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9d46a5ec2adaf7a05cfbeb1c32adcdcd6517941f10c9d54a9ac1b7875f003b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/net.ts:3615 \u00B7 packages/build-tools/bridge-src/builtins/tls.ts:212 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":3615}}}],"partialFingerprints":{"codehealthFindingId/v1":"099cafb1a480aa4f34ff13638ab8f2b1ea75e77afee41efb24c5e62b4f946204"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/timers.ts:146 \u00B7 packages/build-tools/bridge-src/builtins/timers.ts:174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/timers.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e73650664d45db001129aded98d4e201c5dd60867c984063483a9f3a0562103"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/build-tools/scripts/compile-package-format.mjs:13 \u00B7 packages/build-tools/scripts/compile-sidecar-protocol.mjs:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/compile-package-format.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea979d6ce7802171168fdf96e05afd1727f9201e8c54684f69c0c9e3170d576"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2065 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1647 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"327c08e2b83662205f25ba7f7ef5d7a2337fc7e122fe9e6eb19b77d0dfdf101a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/runtime-core/src/sidecar-process.ts:498 \u00B7 packages/runtime-core/src/sidecar-process.ts:520 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"13640b8c1907bdf19f011cb959c058426a6afa63b7cdab80551b7314621d507e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/runtime-core/src/test-runtime.ts:2908 \u00B7 packages/runtime-core/src/test-runtime.ts:3376 \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/runtime-core/src/test-runtime.ts"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b96ff587c23fa4f2f3f45a7738f114599806a739e560d8f68316982fab5977"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:177 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:213 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b40a4d4c1ac82d5a5ab35554c762c32426dd38f70baaef33dbbf4959c20272c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:6271 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e5bfe65d8a7d171aedb6542a02eda980085098a22c19195454409e643cf495"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:7255 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:7346 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e78493ee71982d940718087339d71210fd85c032006fd68bbbb8e3d368c7866"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:8385 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:8478 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8385}}}],"partialFingerprints":{"codehealthFindingId/v1":"001eee43f2465165e8940cc55d470f40d8bbf139a31416eecffbb09409d486e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:11156 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d644b8b98494c2066d6fa256e5f235db66bc5048aaeb6d0aa3a29008af029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:381 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:421 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb95b5536d8c8a2734f765f237d4b3e0a47b1eff6a0160ad3a9f65525c0b2ed6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:1086 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"48234a308c147008f05227ca85695ce4d686edcc0e48867862935c0b5b5a0aec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:4601 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4629 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4601}}}],"partialFingerprints":{"codehealthFindingId/v1":"8923a24992b681a9952d3bfd4075e74cf728b1cccb7aac078c350fbc15f59f73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/stdin.ts:290 \u00B7 packages/build-tools/bridge-src/builtins/stdin.ts:308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c4e65672676ca9104d238a290e04457d82e2ccdb64444cdd7dc22e9bb2ab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/build-tools/scripts/build-v8-bridge.mjs:617 \u00B7 packages/build-tools/scripts/build-v8-bridge.mjs:635 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-v8-bridge.mjs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d62c4babb2d309de3a8f313dc0b271db2983c3e8336169bd92c74b194bce227"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/core/src/agent-os.ts:4317 \u00B7 packages/core/src/agent-os.ts:4355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":4317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7c576b7a47987b138626d31ffb78ea7d5571942bd032c3cf5afa22668ffa00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/runtime-core/scripts/copy-wasm-commands.mjs:54 \u00B7 packages/runtime-core/scripts/copy-wasm-commands.mjs:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/scripts/copy-wasm-commands.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f254720de9d5748b6e591e6705e43bb05694f15c21ad9267fcbdf1d410b4383"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/core/src/agent-os.ts:1335 \u00B7 packages/core/src/runtime-compat.ts:1440 \u00B7 packages/runtime-core/src/test-runtime.ts:2026 \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/core/src/agent-os.ts"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a967bd41e7180ba7cfb487f3c22b476ab603dedde34fe279d736e199e34bba5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/core/src/runtime-compat.ts:2056 \u00B7 packages/runtime-core/src/test-runtime.ts:2909 \u00B7 packages/runtime-core/src/test-runtime.ts:3377 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64c3e0df2ae56c0812a6acfc41f805fc8e4f38b37af09758fa60e2f8e0def24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:873 \u00B7 packages/runtime-core/src/kernel-proxy.ts:690 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"857dd92d54d7f97c6af285a3b677315d1cf8188a80122933c03b2d528604ef04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1615 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1329 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ffe7e930b5fcb324401046cf555c8822a9dc9aa378c01b2de8e67dd20fea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2285 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1821 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d355c198cb8b1c2a4048ec44c11486c2b973b9164a0be29136236affd81d4c6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:636 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:4492 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0b0034bc85e0ef6adcc78ff11e4ec0aa643cfe954def2045a6b3ab821ee2fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:2394 \u00B7 crates/execution/assets/runners/wasi-module.js:2432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebebfadccce419fdfba2a184afc4f14d7f6575c748a4b769d450acb307c7562c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:2616 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:12268 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6284bb8d471fe15c5879128bf188e8c2d5767cba00b7bdcdc8881d09cfd2f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:8523 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10680 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd68f61e874873126e1ab2f9651ea62b8452f250d9e91c89e9855457395f593"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9350 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9651 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdbadc6f7c78311062025465ce49f245ed9c95c08a4cfc9de8d328ff0f6270e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:1369 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1704 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"308184547ed5a8e9553aed6630ef6e0c14b6f7d4d108f12af7e71d880f369040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2447 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:2504 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9530984c472a3ddc6aff67affc8df6d5f3db2d9e51be4420a048e6c5bf0d7810"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2793 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:2895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"175a12654e975b84ec025b27211e5de0f79dbd7ab07e53a58ebf779042bc494f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:4259 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:3053 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4259}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bb0b6b3b723c3ce6e841f80a9570d04473cca3f221dca3fc32634df4c9f683"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/core/src/agent-os.ts:3678 \u00B7 packages/core/src/agent-os.ts:3790 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7399f819f191e2125b55445507e96dfa124588f8e0b83bf1049035ec7e1458"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:3690 \u00B7 packages/runtime-browser/src/worker.ts:3716 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":3690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee6e5fac05ed67404186bab3449adcc8d130d9ae23d2b560c22059e7f11313b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/runtime-core/src/frame-rpc.ts:85 \u00B7 packages/runtime-core/src/frame-stream.ts:126 \u00B7 packages/runtime-core/src/frame-stream.ts:244 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/frame-rpc.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472c487292f0dc1faefb5ea97ea33a520f1d66432928e63ac073322743cef56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/runtime-core/src/test-runtime.ts:1332 \u00B7 packages/runtime-core/src/test-runtime.ts:1353 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/test-runtime.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"413a4c310797d205b3a1fe1d2eeb7cf2c205973ba2d7c3a83bd275f2f6465baa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1476 \u00B7 crates/execution/assets/runners/wasi-module.js:1557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e956d33d8228fa05e220e35365fa733996214c267b1c70fb244495720b710b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1516 \u00B7 crates/execution/assets/runners/wasi-module.js:1531 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb646b66899b70718e3a6a1a1b344f61666307efd029d531848cad9435dad745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:457 \u00B7 packages/build-tools/bridge-src/builtins/dgram.ts:398 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44e82561353f87b16608296f5c73c0c6d2114965f19e19dcc1e3c886454ac60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:10708 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10844 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10708}}}],"partialFingerprints":{"codehealthFindingId/v1":"40603dbe9d7c481576e53ed10c11d35a3a60bd96fccf094c1195959805d15d5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1258 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1680 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3807e1e3e8976df4ed5822afc824739593e24ceb8fb74bcf183f8894e1c4da8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3215 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0a5003629ae8451e9bca9949baeaa04e63975e86824b9478c6a6be57e8680b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3569 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3827 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3569}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f202f61c2f5ef20de5a4418ff087650ce80e1f0fb6141417fc0a0d06b10f70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:1986 \u00B7 packages/runtime-browser/src/errno.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 268 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"68013fa11e71e0cb9c632325b7b43ba251cf6092ba49f1fbf9bd9d914929d603"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/core/src/agent-os.ts:3722 \u00B7 packages/core/src/agent-os.ts:3959 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3722}}}],"partialFingerprints":{"codehealthFindingId/v1":"0523ae7d55b04a48b9572bd68f63321ae3b463d4bedcaad90faea58d1988c1a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/runtime-browser/src/runtime.ts:1029 \u00B7 packages/runtime-browser/src/runtime.ts:1101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c18aabec7ea2cb8f40399d3b443a2b6a97413f828b0811c4dff77c0e26b3412"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3505 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:4688 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3715502577060ce4e156e0b4f882f19ce3a978588d92f016706fefec648efc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:7318 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:7595 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd3428ab96ede4f702ac761fc81dd4cf05568e889d95e28bafa450b1f07096f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:7843 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:8041 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":7843}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d24c6a63527ba46d92662f6df63d6c3f9712f7a0e7aef53e56d21b69cbaae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:10982 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11074 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10982}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d90cf2f105bd643801f6277470076643558b33df8339055f0ba535da5a7e48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:11594 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11612 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11594}}}],"partialFingerprints":{"codehealthFindingId/v1":"609f2e1fd3910af4406b58709206510118822f14a43cc7d8d911b612945d3a54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:641 \u00B7 packages/build-tools/bridge-src/builtins/stdin.ts:423 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d9a2e79779acd35c24ddd46ae815ff021ed04522415b1197e59e0aabd6536"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/crypto.ts:219 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:285 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:299 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb68312904791261edd9ee0a8c751f7912741fb9f6f31836f10caddd55b37bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/dgram.ts:995 \u00B7 packages/build-tools/bridge-src/builtins/dgram.ts:1035 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9242347d4f387a8b08e3558c67ff6a54752f8aead0c1061babaf07eb42a6ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:338 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1545 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"423fc8817c71a788fe0eb3ca2a9b2abadbd08c7d0f3aa7181be17490df6ac3de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3401 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3499 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d1be1dd2aeddb7011561329e12fde858defd032301dd2a1433d8271d077826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:4150 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":4150}}}],"partialFingerprints":{"codehealthFindingId/v1":"62da6f7ebcbfa19c6ffaddd278de94f09afaa5f9a721eb14d6690ddabc48748e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http2.ts:542 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:1012 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee98cf48cb96048edca5485e2bc988f6d80880242214bddc0acff1993d0838"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/misc-stubs.ts:564 \u00B7 packages/build-tools/bridge-src/builtins/misc-stubs.ts:672 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56b02516c4ce9cacb5298ef0467a475fb033ec59a91a923c3758931552988d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/whatwg-url.ts:40 \u00B7 packages/build-tools/bridge-src/polyfills/whatwg-url.ts:89 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/whatwg-url.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de596f04d324d151ae798be281b7d78e79b8aa05bcb36b89ea68e2d882b3dcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/core/src/agent-os.ts:3623 \u00B7 packages/core/src/agent-os.ts:3727 \u00B7 packages/core/src/agent-os.ts:3964 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3623}}}],"partialFingerprints":{"codehealthFindingId/v1":"815be78bbfd9f1be8fb092a0a238975cbf0e593000a086b7817ff37d72b2ce2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/core/src/agent-os.ts:4633 \u00B7 packages/core/src/agent-os.ts:5777 \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/core/src/agent-os.ts"},"region":{"startLine":4633}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa61305c5c2057455c7fda5bb1caa6e9155f0b85a6e944f636fdbfa35be6a4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:698 \u00B7 packages/runtime-core/src/kernel-proxy.ts:525 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40720021f5f7fe85ca6b0f5107cfdebaa8347417546f5aaf2952fafec9beda2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): packages/core/src/sidecar/rpc-client.ts:1849 \u00B7 packages/core/src/sidecar/rpc-client.ts:1866 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1408 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1456 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a699ecd978c920eb9fb788f1a92b7c81524525957c94a65d5d04161dbfbbebcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2023 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1612 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"146b2c9b1fed295c36d6009d3015b49608e8b0f6d9a774fc80dff72c815aa46e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2218 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1733 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fc295dfff1763426240ac984401dee695d5511eadaef6cb8842d8800934f7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2654 \u00B7 packages/runtime-core/src/kernel-proxy.ts:2070 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb25c6e2ba77884fd5c4fa92e1c10fa1ce0ead03b34bcd662cd8c784465feba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/runtime-browser/src/runtime.ts:375 \u00B7 packages/runtime-core/src/test-runtime.ts:1385 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fee63fe52d42f36224eedb66ab1905369367c88cbe4ee2c190f3d21b3e24cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:822 \u00B7 packages/runtime-browser/src/worker.ts:1097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ce4d102d30a885ab48132fe7be55b895113ed79b9c344de13a5cf39d97530e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/runtime-core/src/sidecar-process.ts:848 \u00B7 packages/runtime-core/src/sidecar-process.ts:1702 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b585eb10bdbce6ab4be42f687e3db2395cc7c4ffe009b3a81bbf4c42494b5ad6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/runtime-core/src/sidecar-process.ts:1181 \u00B7 packages/runtime-core/src/sidecar-process.ts:1273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca15115daa68a6ebbe7a74ecf8ede3875542caa025b8eca54997cc89e5f38b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:740 \u00B7 crates/execution/assets/runners/wasi-module.js:762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a445f075d1259fe1e353f564e1270b4d96047244ebad1b691c17e0725378fec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:991 \u00B7 crates/execution/assets/runners/wasi-module.js:1014 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8e29a23cd048298a539f09fabd6a6c1352671a6a7553146a077a75be3cc5a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:2925 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:8416 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022c99b8de4e3048aa3614d816bedc72a9e7f455b823f23cb677f055d72ce69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3826 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3841 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3826}}}],"partialFingerprints":{"codehealthFindingId/v1":"76027948e6d2f7c14cd11da3a35ccd3865355ed7532e6c438e3a8610c3a74a1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): crates/execution/assets/runners/wasm-runner.mjs:9579 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9600 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9620 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9637 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9579}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea9d60ca26cce5b88e1e8688890fde408fb61b869925939b2322e085737de1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2211 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:2246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a632ae4685291de2d40787a7b779b20b923e0f55ee8b02e9a6a8ed91f3c6e14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:607 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:627 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f699c8b799681cb967a8c3e209338eb82f6bacda49b60e3bf7f740e49e0c22aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:1286 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4465 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5182931f736f5cb74c702c09c5bcd633f97439974c4f65574d54ad172a79126d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/process.ts:464 \u00B7 packages/build-tools/bridge-src/builtins/process.ts:521 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f248079ad51c28a2284e0eadd7f16367cbae525f4b2f3bc5344b811483b48d84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/timers.ts:443 \u00B7 packages/build-tools/bridge-src/builtins/timers.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/timers.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabb529920b2080502ee4c3ef46143bd5285450ab1978310e06783effbca9fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/src/agent-os.ts:5036 \u00B7 packages/core/src/agent-os.ts:5077 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5036}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc134fe0b9800e6b12b05f975700ac1eff496b78bbc73a1959a5349cd3a9c63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1516 \u00B7 packages/runtime-core/src/test-runtime.ts:2110 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e407c0be6d2de7b077a35861a504807d1a5555442b4810741d0e6ee8d424d373"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/src/sandbox.ts:283 \u00B7 packages/core/src/sandbox.ts:297 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sandbox.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9204041f0564aa426b30720c89aa75aa54dd429b0ebe60ea10424353e140f8de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/playground/backend/server.js:71 \u00B7 packages/playground/backend/server.js:102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/backend/server.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d2585366935c6450f267453218578ef31652f6630d05fa8084b21ed30e0fe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/playground/scripts/build-worker.js:52 \u00B7 packages/playground/scripts/build-worker.js:65 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/scripts/build-worker.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f384a71b8b5647f8252c6b3f8fee9b090d516cc6a768254adb8051f125d51e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/runtime-browser/src/runtime.ts:1064 \u00B7 packages/runtime-browser/src/runtime.ts:1126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ed5aa26852ab0d51a0db9bff71775a883d53fc52e645c7d4584098edcebbe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/runtime-core/src/frame-rpc.ts:98 \u00B7 packages/runtime-core/src/frame-stream.ts:123 \u00B7 packages/runtime-core/src/frame-stream.ts:241 \u00B7 packages/runtime-core/src/process.ts:117 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/frame-rpc.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8832c25de7c58f1a3f7ed926e085ce19e98e970e73596f126d61b28f159f923e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/check-agentos-client-protocol-compat.mjs:113 \u00B7 scripts/check-rust-package-metadata.mjs:96 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-agentos-client-protocol-compat.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c96f9dc76d10b784c5cedfd3b5dafddb67962fb2c990575db5f4a655b83a71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:581 \u00B7 crates/execution/assets/runners/wasi-module.js:610 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ada6d22e039d951b92b17de7acc0ad66723e383861c71df5a3319224d0e450"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): crates/execution/assets/runners/wasm-runner.mjs:10571 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10583 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10595 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10607 \u2014 all 4 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69e123d846463ca3b91e4ac81094cc37a1509bb2222cf1fbccb48cb3593b4b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:10639 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11754 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10639}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9368a2fd9c0bcc1e7452848dae31d45a826779ca0f61f6a27dc0529bb26137c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1588 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1601 \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/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3bd0b718dbafc4ae3acafd43024cfa2f1eaede974e9651046166ad85982774"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/crypto.ts:279 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:293 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:307 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3c29bd532d99188af4bf21c4c8b2d1d2e86674b67f24663d614236511435b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/crypto.ts:470 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:532 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"defa665cf3010e6761d6ba2c8f6599408c455b4027ac420da8ebc60742fa74f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/crypto.ts:1173 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:1201 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:1234 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"341cc92e5a76b9a63a6387a4f56c7aa425a907dafed7d5735946df6ed3a85b7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/crypto.ts:1185 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:1214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2205a64f6dd3633e66c4791af2172efbd776b444fc6e10e8989c57549c2cfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/fs.ts:4273 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4285 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4297 \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/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":4273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b7833b03fd349def5f5f07a8c7d32633fb0fb342e1b737e10987ba9dbc6d13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): packages/build-tools/bridge-src/builtins/http.ts:1101 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:1231 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2885 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2986 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b8b72441033c5ddaac273ca55083ae443e09b3a53c01c63464567cb5cc7f43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:2186 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2354 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc2ef3b2cd6a673b0c4af0ec1e74e0fc49638ebe48385d26ca42cbccd728c6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/net.ts:2805 \u00B7 packages/build-tools/bridge-src/builtins/net.ts:3680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"b211061e8b9b59a530d4bc7fdff28822a95c079bea91bcb247e6149e5fcd4193"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): packages/build-tools/scripts/build-browser-buffer-polyfill.mjs:12 \u00B7 packages/build-tools/scripts/build-browser-node-polyfills.mjs:7 \u00B7 packages/build-tools/scripts/build-browser-path-polyfill.mjs:12 \u00B7 packages/build-tools/scripts/build-browser-util-polyfill.mjs:7 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-browser-buffer-polyfill.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"092659f8fc8fe7981d65167aef113df8013a677d61b38701578e4f958b28bf06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/core/src/agent-os.ts:3531 \u00B7 packages/core/src/agent-os.ts:3920 \u00B7 packages/core/src/agent-os.ts:3988 \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/core/src/agent-os.ts"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"945b3bdf028fc9e02fab2b8702a90b2c4b8143e9a7271d9c16c5d7e05295ee90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/core/src/agent-os.ts:3652 \u00B7 packages/core/src/agent-os.ts:4001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3652}}}],"partialFingerprints":{"codehealthFindingId/v1":"da702d481f54021d895544facf1c523314395bc4a8a90f37b23a3c935437897f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/core/src/agent-os.ts:4600 \u00B7 packages/core/src/agent-os.ts:5240 \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/core/src/agent-os.ts"},"region":{"startLine":4600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c453554a385b2ae6913a7fee707a29ff4e119eadefd8eda87fd9d34e2d2fa727"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/core/src/runtime.ts:43 \u00B7 packages/runtime-browser/src/kernel-backed-filesystem.ts:148 \u2014 the two spans are one implementation copied and then locally edited \u2014 170 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef5b26f26b67b7b3951c8bdd0f85caba8b011d1080d36bdb567b39b1f62939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:592 \u00B7 packages/runtime-core/src/kernel-proxy.ts:433 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba3457f9d617e1a8b4ffef9bc3b10b3ee98e1471b7d77b24374b2239d59a374"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/core/src/sidecar/rpc-client.ts:744 \u00B7 packages/core/src/sidecar/rpc-client.ts:828 \u00B7 packages/runtime-core/src/kernel-proxy.ts:579 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e454420f4aa0b457e1ccd6c6d1e780067a1d8b1d428819b69985c4657caf662"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/runtime-browser/src/kernel-backed-filesystem.ts:148 \u00B7 packages/runtime-browser/src/runtime.ts:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 176 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/kernel-backed-filesystem.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ada0e1061abb5395bf62c11a07e58d4b213f70be2a0eab65232e472e5d0f31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/runtime-browser/src/kernel-backed-filesystem.ts:148 \u00B7 packages/runtime-core/src/test-runtime.ts:165 \u2014 the two spans are one implementation copied and then locally edited \u2014 170 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/kernel-backed-filesystem.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b877e17dd1284ae47ab8f1b4ccb6a5b64d793c7fb8f167bc97f55bb26a0afaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/runtime-browser/src/runtime.ts:739 \u00B7 packages/runtime-browser/src/runtime.ts:806 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e269549b3683079acee736bc990d5a2492bee5010afb054c0724935af6f7d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/runtime-browser/src/runtime.ts:887 \u00B7 packages/runtime-browser/src/runtime.ts:967 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6358c3f8808da4d2021047dab571b6c5d54610ad897fd40dc77380b2495389a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:2759 \u00B7 packages/runtime-browser/src/worker.ts:3159 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a32c7d456c173d9e15160c63b947c9a4a1042973358ba2f79ae45b3c779d48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/runtime-core/src/native-client.ts:137 \u00B7 packages/runtime-core/src/sidecar-process.ts:384 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad23da29d5124abe6bbd3d7db5fb3f9989de503f62cfc6fb5445102155306c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/runtime-core/src/native-client.ts:156 \u00B7 packages/runtime-core/src/sidecar-process.ts:1854 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6834aec70072ccadeb17cf7d5b0be1bee24abee0383232686dac8089611e51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/check-rustfmt.mjs:71 \u00B7 scripts/verify-fixed-versions.mjs:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-rustfmt.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02dc9f33304518549029305e17027de792dca46aa59caa327d2240d6db91d0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:537 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3657 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9602e738a02fd412aa4fa32a9600713ce296e6afe04dbf71de696f70dbe99905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:2078 \u00B7 crates/execution/assets/runners/wasi-module.js:2098 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"882892f4581a6e5f48cd7071288808ce4d4c738025586c8a68af30febf738bde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:4157 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:4169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b852ca824abcf812c1f8d49195b7544261ad7457d2f8fbb48a97aa9a6fc7cc45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:6194 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6233 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acffd213c90b7168b472192d55164ebe3802a605cb24855ec58b0efb54d1c58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9756 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9786 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9756}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4bd2a6907487be24e8a07435dab68f478b09fbe4d17b311a8cada88f53af7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9965 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9985 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9965}}}],"partialFingerprints":{"codehealthFindingId/v1":"69df35f629c2728897ff729c877c7f7b3da5f0c778183bf132122bc7297f63d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:10022 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10022}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8599e7124223c817ee06c0b7ebc755b9e0055f356a518ac5195675cd2bcb79c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/agentos-toolchain/src/build.ts:88 \u00B7 packages/agentos-toolchain/src/pack.ts:379 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/build.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4126177a626d2fb26cf54c1e8c817ff944d6803601b5423157a5e1cafde73220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fetch.ts:57 \u00B7 packages/build-tools/bridge-src/builtins/fetch.ts: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":"packages/build-tools/bridge-src/builtins/fetch.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc89d4c8c8951077764a29b85f5566d920734d4ac62ac4f58aba5299ab17b88d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:58 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:70 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"422f9550fd0ec978b017560c25af5fc2d608c55f7e44681968fc501516f24cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:891 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4402 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1cb0e1f6ea15612155e6131495ba4d4bb30c3a48b2445a56e3d416fcd49e07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:908 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:1552 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e90d48578107815d2c13cdbed72c2562d1c139b56de161ff3397e432b8d870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:1416 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2900 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe6a663f941b7de832358c710edb428f91c8fa0dd36d38595489e4b843d8d74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/whatwg-url.ts:2 \u00B7 packages/build-tools/bridge-src/polyfills/whatwg-url.ts:8 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/whatwg-url.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4edd4c28ed89324dfda945824f763771b3ebe4b17eaa8d7c0ae44b307bad4b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/whatwg-url.ts:25 \u00B7 packages/build-tools/bridge-src/polyfills/whatwg-url.ts:33 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/whatwg-url.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945fbc716e4df2e8ae9d5b3be717cca57b8bd567b2191cc85eb7778939024e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/core/src/agent-os.ts:3883 \u00B7 packages/core/src/agent-os.ts:3903 \u00B7 packages/core/src/agent-os.ts:4095 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3883}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e59beeda72976df4120efaf59bd398f70c7c4e4e5f8b88b8522d38edee688b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/src/runtime-compat.ts:1296 \u00B7 packages/runtime-core/src/test-runtime.ts:1861 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f482d44748598783534fe688018f035baac2d34a6e0320efcbf9caaa50fe696c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:645 \u00B7 packages/runtime-core/src/kernel-proxy.ts:514 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5f28a5a1667ea8eb5c95ea744913636c832d450dca4bdf774951333700473d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:931 \u00B7 packages/runtime-core/src/kernel-proxy.ts:745 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8952fcd3d7399bfe5f0796119bbf09514b6a1463bfcaae6c4b9d10bd0891ddf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/runtime-browser/scripts/check-bridge-contract.mjs:374 \u00B7 packages/runtime-browser/scripts/check-wasi-surface.mjs:52 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/scripts/check-bridge-contract.mjs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"593bc9b3f7f251984fd9e03615b14c21d6d2ef4aa22ee56e854754a49c8b5416"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/runtime-browser/scripts/check-bridge-contract.mjs:2 \u00B7 packages/runtime-browser/scripts/check-signal-table.mjs:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/scripts/check-bridge-contract.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7888e4ce5afdc22bb2b2e0aade38c5b86dc9ab341ee4b8f0ba8df8a047902bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/runtime-browser/src/driver.ts:388 \u00B7 packages/runtime-browser/src/driver.ts:429 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/driver.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfdb4812d14ac24cfe990e7497989623f1f99a2ef4f6fe583c56450367155c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/runtime-browser/src/kernel-backed-filesystem.ts:45 \u00B7 packages/runtime-browser/src/kernel-backed-filesystem.ts:57 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/kernel-backed-filesystem.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e135b11911cfdfae6409ddaf1cae331e1e4c05ead1185fe4d835eaa04904c3fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/runtime-core/src/node-runtime.ts:730 \u00B7 packages/runtime-core/src/node-runtime.ts:887 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad1182ed92c798c24d4ca8e282fa7234da8caf8c8c9ce9f8103a15d25d58c30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/runtime-core/src/protocol-client.ts:276 \u00B7 packages/runtime-core/src/protocol-client.ts:287 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/protocol-client.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6f0dca51fbb37c41d02a15eb39388a8b8cc5110bb8c786e41bb2d9e3ad0d93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/publish/src/lib/r2.ts:86 \u00B7 scripts/publish/src/lib/r2.ts:99 \u2014 both copies are in the same file, so extract the block into one function there 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/publish/src/lib/r2.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"100000ae6ce31a820a2b111c0cf5281767f83d7d40d9b16943c2d188ab5536a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:1853 \u00B7 crates/execution/assets/runners/python-runner.mjs:1915 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed34b5e8e62cccce2d39669b30378c3a5615e0ff9396f1393972a67a94b87c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): crates/execution/assets/runners/wasi-module.js:498 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3512 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:4695 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad43546ad8b299d9a454655dbf7148570e7973262bd2a92b17f9990cf205b12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1649 \u00B7 crates/execution/assets/runners/wasi-module.js:1663 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b6e5c91941c36eee4b31efbbcd018bf6bf7c6f4f42f1cc6351848586108f2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:232 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5d6bbd157296f2cb6457a512d1214e8ff411ef18e47a1fe514922789b81c6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:1506 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:1518 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85fec92a6689b954405b2a5bdc09e8123eede021cebce7a0074df2630946d74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3174 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b206b3d8ffffd7e394dc4be5b90da25586ad48abf6703451aed31ebdf90260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): crates/execution/assets/runners/wasm-runner.mjs:3361 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10712 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10761 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10799 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2f2447c28c99011b3b60358ab1bb2373eceb262fc81e934e8ded6e69d71f53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:5768 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6050 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5768}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3132b477357baa1f5c4f8f0c40f7f5386352c6a9eb7598d07fbb6adfbc9cde4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:5786 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9606 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5786}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe6ffbc154f7e4163875c433be74b563b73befb8c26575fdf3d08afd920f046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:11095 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:11770 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":11095}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cdf2ca23f1d3a66c61070c40fc0756f6d52b28029602f423e3acd90800975f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1242 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"971af6991f2721f483a4c5a8b939ac2aa04eab57f5e7a0e9c81da80ea63d4ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1359 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1533 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9416c6811ded0577d4ee2a38d4bb984264d67e6bbacaf4203f8a63b808f571c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/crypto.ts:582 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:639 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d6b46a40c1d9dc62d340485df99f04f404cdb0d1e8ee7479583446ea62cf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3118 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e048ca1cbacb60eabe9f0be40647aee43f8f65ff50876a7f0c94004babfd41ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/timers.ts:473 \u00B7 packages/build-tools/bridge-src/builtins/timers.ts:552 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/timers.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"385d89bae3858334c5d4d65b16f881537fef41aa91e91982366950f6bac54a3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/src/agent-os.ts:1648 \u00B7 packages/core/src/agent-os.ts:2214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"969684022e6e81769b655d8d114ba67af30e5062707f132fce3c7dff288754f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/src/agent-os.ts:5228 \u00B7 packages/core/src/agent-os.ts:5245 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5228}}}],"partialFingerprints":{"codehealthFindingId/v1":"988ece839aee10a2caba6642eeba1acf055fea528ef9f52a9033ec5f068d5990"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:969 \u00B7 packages/runtime-core/src/kernel-proxy.ts:776 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c15bc174267f9c8879ab609c5019e05906898aae0fee2ba6e81f596fc780df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): packages/core/src/sidecar/rpc-client.ts:1656 \u00B7 packages/core/src/sidecar/rpc-client.ts:1679 \u00B7 packages/core/src/sidecar/rpc-client.ts:1697 \u00B7 packages/core/src/sidecar/rpc-client.ts:2619 \u00B7 \u002B4 more site(s) not listed \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ea80abad34e82b9a54c358d97791e5f93a90615ed9d10150aa3ebf196db035"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): packages/core/src/sidecar/rpc-client.ts:1682 \u00B7 packages/core/src/sidecar/rpc-client.ts:1700 \u00B7 packages/core/src/sidecar/rpc-client.ts:2621 \u00B7 packages/core/src/sidecar/rpc-client.ts:2668 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"087e474b6474cf3bf53ce18e584e23f7bbdefbee400fce0cbdf1a2453d0bf625"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2004 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1597 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a658c64f86f2abbc47a1bcec78669f86d6c80bc9aca39f86ad30311a2b536b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2315 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1844 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d0577af584bc2f45239e034de764ab648a0a7389413d80072777467e552736"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/runtime-browser/src/converged-sync-bridge-handler.ts:197 \u00B7 packages/runtime-browser/src/kernel-backed-filesystem.ts:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/converged-sync-bridge-handler.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14a8be2a8781d00129f7ff9a426226947ae413ec02c584533a2431ed0c30570"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:1857 \u00B7 packages/runtime-browser/src/worker.ts:1881 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f11d909a6e1002acae5b8f8cc767ed9b7baed88b270f3deb775dbcc29976680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:2933 \u00B7 packages/runtime-browser/src/worker.ts:2943 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e4519417e3ae2e1723f7d9c4b7a8a6aff77239ee1ba50eeaba9f5e1bd3cf64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:554 \u00B7 crates/execution/assets/runners/wasi-module.js:590 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41c4e9a7961f87e07b76ba4a86d161aa2a1d1914958601dc2e66bec964b693e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1360 \u00B7 crates/execution/assets/runners/wasi-module.js:1378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6516969a30bccf77b808b3d268da4128bd519469be1dc7e8b3d5567ad23123e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): crates/execution/assets/runners/wasi-module.js:1497 \u00B7 crates/execution/assets/runners/wasi-module.js:1518 \u00B7 crates/execution/assets/runners/wasi-module.js:1533 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"debfbf1b70fd675be447e72e4a4d0ee62c0fd285792a99f41ed4c4fe345eab1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): crates/execution/assets/runners/wasi-module.js:2006 \u00B7 crates/execution/assets/runners/wasi-module.js:2059 \u00B7 crates/execution/assets/runners/wasi-module.js:2072 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"998c6f5a1a2b96ab777b7ae663e59ff444e6fe9ee43bfb6986f1255fbe34cced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1345 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:2520 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dc53a5b415c5089f6f35e49fb22404ac66f6064cbf3d4ffecfbc7f763513c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:2259 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:2281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be2392a1fbd4114391cdce054f60cb56b8c37d8e9223d01b61a35810629f07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): crates/execution/assets/runners/wasm-runner.mjs:3392 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3423 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:6305 \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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"872da300a625beede4cb60aa92fd65993c408f13eb940e48f95a81b09800b9d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3610 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3621 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e118994e249fed5ad16bd6d8c700e19c44ff665411fe44a12b3acf8f4e7f3ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/buffer-runtime.ts:12 \u00B7 packages/build-tools/bridge-src/builtins/process.ts:1150 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/buffer-runtime.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ece489d7c6631694e6287af0178a6d1bbf1a57abd57f23cac77efaaa3dbe0c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1047 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1059 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"003a7ef397ebbaa656411677d529c749699355eba50bf485ed652aadc2285596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1667 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1676 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7aca809d43a1eac103587574773534ea0de44ebd2c9b368b6b7c76550224cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/console.ts:43 \u00B7 packages/build-tools/bridge-src/builtins/process.ts:320 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88fa96907105d80ae1d91967232d8b6fc245bb6f9db1689a7d2e01dd62bd555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/dgram.ts:935 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:708 \u00B7 packages/build-tools/bridge-src/builtins/http2.ts:50 \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/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5452529b87355497ed1a9625e2686842e31e155a04592c459a628bfda19b1d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2050 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:2338 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da723f398543a416cadf15e7ada3e45e28edae390f7652eff818c26d0fcd72a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/fs.ts:3044 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3131 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3141 \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/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3044}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3112a89928e7246217df712b7fc82e58ef2bd3ad2e7e933030aa51a9246747a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/build-tools/bridge-src/builtins/fs.ts:3545 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4274 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4286 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:4298 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a0e035c3633cb89c7b225d7561ac29af238707c84af591a37131d16f7eced9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:3036 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3045 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c4b3a39f46d0adc74291f4a70da2937fae814bad3cbc7b1e464199b25c46e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/src/agent-os.ts:4116 \u00B7 packages/core/src/agent-os.ts:4224 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":4116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f022309994e238545bedc94994b46a83d1f87ab2a4afbe764b0b74e2d8696a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2328 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1855 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a5244b2b221a2db14da1d792517e5c2b5f7e0f958d3c648c3cdd9fe6b655cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/runtime-browser/src/driver.ts:76 \u00B7 packages/runtime-browser/src/runtime.ts:337 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/driver.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da79239b3b21a4d3f803d86d659e6969be4e95e4aec210393fd92cae93ec5db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/runtime-browser/src/runtime-driver.ts:384 \u00B7 packages/runtime-browser/src/runtime-driver.ts:393 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10c9aa995afb7b170ef2806a0cebabaecaddbefab94a8cbf14d1692e5f6a71e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/runtime-browser/src/worker.ts:1239 \u00B7 packages/runtime-browser/src/worker.ts:1249 \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/runtime-browser/src/worker.ts"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"485a53df1cb34d1227b103db2b48e4ba347b1dfe3ace314c257c34ce3e805b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:120 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:1874 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5b32edf8f7efa908c41e380a17c82787aff22200bbe1e2982dee9493eb3a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:374 \u00B7 crates/execution/assets/runners/python-runner.mjs:430 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"077c0ae91d430d69121acd79de9703481b2d9f2a6b3611f6aada8bfecd5a43e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:1963 \u00B7 crates/execution/assets/runners/python-runner.mjs:1971 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"219ab9ec1b772cd64cf493ce1037b1d7a0d136d3d502f75549fc9331c8032008"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:298 \u00B7 crates/execution/assets/runners/wasi-module.js:313 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b3b0732c48dece4f672809d93f96304dd70a26f2548f194667feddb2e4d20c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1870 \u00B7 crates/execution/assets/runners/wasi-module.js:1878 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e755c272c99919761fd21738f3ec18ae7c5e10ffb5151bb2978bc0820019ab2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): crates/execution/assets/runners/wasm-runner.mjs:1027 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:1035 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:1043 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf46265d85cbbf795802d4ee44564e3c2af7707b42f0412c9ad123e5767d9116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9663 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9703 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9663}}}],"partialFingerprints":{"codehealthFindingId/v1":"937dc4d70672357c2a805050306d559c316379e3a017602a57d87e507e881366"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): crates/execution/assets/undici-shims/randombytes.js:7 \u00B7 packages/runtime-browser/src/worker.ts:2086 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/randombytes.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a26890f8e92c337757c4267972fe9c738b7455083786e30858b13bc41033de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/child-process.ts:725 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:788 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:927 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"c075a622215b92b614ad4295fa16140f9c9530112d9742510ee91b1a96d51f29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1309 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1563 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30645137c5ec8cd762100fc4a1783b854b74bc683d5dc9e78920986298366cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1333 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c5d9ea96729b9a329b9e6710eb30dad2de008471733f59357529a34b38635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1398 \u00B7 packages/build-tools/bridge-src/builtins/child-process.ts:1561 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bb188b9320ae61d99b6e285e0670eba80ba12092fe357e76870f8b2eb2fba5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/crypto.ts:1104 \u00B7 packages/build-tools/bridge-src/builtins/crypto.ts:1120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"250032b930b2e0a91e20ef0dcded6aedcfbf63cedbef3a9c94c653395c880914"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/dns.ts:114 \u00B7 packages/build-tools/bridge-src/builtins/dns.ts:140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cbb70c84a7c0551f98c3fb90aa5ce589619f8ad8dbd42e8d1504292c111a29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2494 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:2526 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e2359ac011709e82eaf687be19ca409bb7498e023c35484a229b2602cd6cc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:3264 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:3272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2e8c80602e495ad8d3d92fbfdf7369e12dae3019f3a71448ea8517694d0d5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:2175 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2315 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a776dcdf623ba0ad5611a875380064385f0c19b809c03b5c81a9addb4f83d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/http.ts:2631 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3021 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3399 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f1b30efb8d6f64d4b0a822345370dc0fdbe5162952451169318309a691733d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:2665 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2676 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"490eb73bbe12aec9f54f2759ea535846920dd4f751209520ad5213037eb4772b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/misc-stubs.ts:530 \u00B7 packages/build-tools/bridge-src/builtins/misc-stubs.ts:594 \u00B7 packages/build-tools/bridge-src/builtins/misc-stubs.ts:644 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd069c68b34d8e9aa94a5ee751ba0fc84450b9d96bdcbe401cf71732206f027"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/perf.ts:117 \u00B7 packages/build-tools/bridge-src/builtins/perf.ts:125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/perf.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"40faf0168d1ba39c9d3e7f3cc70ec6f254fbbc498ba471b9c0d370cbfda03c30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:835 \u00B7 packages/runtime-core/src/kernel-proxy.ts:586 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31b32b3fb8318be15826416d48448c24b54d8543b9c753700e30885c861e1e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:1707 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1361 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"8341e83f6309acc3cf44a3a9686f140f1481cd906fb2a127e71dc72fef715073"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/core/src/sidecar/rpc-client.ts:2051 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1633 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc5c9d8ff2c8ea69936cce39d9184b0d7926cab23dab432fb32831e658d7c26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/runtime-browser/src/converged-fs-bridge.ts:335 \u00B7 packages/runtime-browser/src/encoding.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/converged-fs-bridge.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e9e271891333bb1c5738bbd127808c326a6f40756b2e6f1395a39e0affa681"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/runtime-browser/src/kernel-backed-filesystem.ts:67 \u00B7 packages/runtime-browser/src/kernel-backed-filesystem.ts:76 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/kernel-backed-filesystem.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"84446d1d14d7f15bd1181233da6c950b9efcc62b5d34844a587c884acd400e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/verify-fixed-versions.mjs:95 \u00B7 scripts/verify-fixed-versions.mjs:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-fixed-versions.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7e63968496dbcf39a657287d641e182b40cd0924f81d05e93f345f1d3a9871"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/execution/assets/runners/python-runner.mjs:2120 \u00B7 crates/execution/assets/runners/python-runner.mjs:2136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"808b16cd46ea2d5905ea8b1ede31fe0d8ddb65e90a83d8cfaa0403593659820c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/execution/assets/runners/wasi-module.js:1461 \u00B7 crates/execution/assets/runners/wasi-module.js:1486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f78a0382308154f263c0af803433bbb77cc7aed9d45df22ec6e97c9396d73d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): crates/execution/assets/runners/wasm-runner.mjs:9457 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9497 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9567 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9612 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a388a907c54150d542654c6edeecdb7ce8a272b673b268fa398187d3e2f36e28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9769 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9795 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9769}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317f2b7c1910a8d90cfc2e6e272475fb328144d8f333f21efbcc4e1a1da656a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:10350 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:10401 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b08afc986001255a3567c82e83dd6888b49c118fd2d235037c6c6f7b6ba6dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/agentos-toolchain/src/build.ts:65 \u00B7 packages/agentos-toolchain/src/pack.ts:191 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/agentos-toolchain/src/build.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f44d0d2006c576d926ef1892ed3d24dba3d90da3dd2c9f40919f0743c018ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/build-tools/bridge-src/builtins/child-process.ts:1068 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:1112 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4415 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and 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/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f8302826e099af480c8c3f7cd406499ac3be1e5a0d4272094a88664894298"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:170 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:657 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"df17f3bbc2f9ced8ac451e5b71a7665d2f2a5e8c86e0595589af9f5be7c310ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:2272 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:2574 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4599970408dd2963cd0d99edd05dc6d8084a031ac580d3c5ddc21cbbfd8d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:3406 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0b8f6f861060e9d6e2638acc59df6d4e5005b4864f5468f52f7bd90ad0250f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:4082 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:4152 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":4082}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef79c1ff2043a0fcfb2c522391e5ce66614956243dfaf5a75e3dad04c54c1b1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/misc-stubs.ts:125 \u00B7 packages/build-tools/bridge-src/builtins/misc-stubs.ts:132 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1528abbcd6e22b8a6578c55840490916164c21e41c45b74f409fa8bcf6d3526"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/core/src/filesystem-snapshot.ts:67 \u00B7 packages/core/src/runtime-compat.ts:1578 \u00B7 packages/runtime-core/src/test-runtime.ts:2161 \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/core/src/filesystem-snapshot.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cba491e25b3a877b923d2fa601f83311c5991b4f88812a3a90c321875f6319"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/runtime-browser/scripts/build-browser-test-assets.mjs:1 \u00B7 packages/runtime-browser/scripts/serve-browser-tests.mjs:1 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/scripts/build-browser-test-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea2c3d59178a182cfc83a3707a622269c1731577197ce6fc850b8192438de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/runtime-browser/src/converged-dgram-bridge.ts:124 \u00B7 packages/runtime-browser/src/converged-dgram-bridge.ts:134 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/converged-dgram-bridge.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9250a3b16cdb07b2d30f2333d2fda640365a1e04ff66cfed75fd996de8efe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/runtime-core/src/frame-stream.ts:232 \u00B7 packages/runtime-core/src/frame-stream.ts:294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/frame-stream.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b845df407644819b5156c0ecc8bcf5caba3a534585cbc24329d4b938000165e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/runtime-core/src/kernel-proxy.ts:800 \u00B7 packages/runtime-core/src/kernel-proxy.ts:1911 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66670e115e3c508da0b7be829285e6520c202d7733e018863d3532dc66e1bdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/runtime-core/src/test-runtime.ts:943 \u00B7 packages/runtime-core/src/test-runtime.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/test-runtime.ts"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32415b326b49bb6f4c3bf05c0407298a1d0eab2b13b0f065e0b6fc7820f99be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/check-layout.mjs:68 \u00B7 scripts/gen-registry.mjs:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-layout.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d616fad478b7be7357109fef16ca455f405652852c41440981754346bacb2601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/publish/src/lib/context.ts:41 \u00B7 scripts/publish/src/local/cut-release.ts:33 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/context.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82b011c09e0f4c375ca378810d632e563f7e60961f6c8986ac258004c1a9952"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:9569 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:9614 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":9569}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd554017ccf03daf2084635ff8fa3a9c6df71f6b13f44cc8f130aa5f97209692"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/agentos-toolchain/src/cli.ts:32 \u00B7 packages/agentos-toolchain/src/pack.ts:140 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/cli.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba18f3f055e714eaa26981d7216fa77f2aca17d3bf9c8c7e508af612cb8807a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fetch.ts:93 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:1867 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fetch.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b95fb1f9637195a8a76613a866e98bf526c59477b88de02b49552f28ffa5a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:2430 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:2759 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f061d37cd6491d1b1d386eba0af928352e6ff1c1b72d713c7c5c7a55aec3575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:827 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3074 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d7799ed85179320c3708a5a5997d63ae5c7cb33a3914a90f9949dc41cfba10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/timers.ts:15 \u00B7 packages/build-tools/bridge-src/builtins/timers.ts:59 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/timers.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4017f0479afd511a940fd37950aa009140fb7e8791c6a5c95bf669e9ec58e11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/core/src/agent-os.ts:5738 \u00B7 packages/core/src/agent-os.ts:5771 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5738}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6e0a78f308ec78f03b483ffeadf36057068ea9bca90f92e724278c65d5738d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/core/src/options-schema.ts:272 \u00B7 packages/core/src/options-schema.ts:282 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/options-schema.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1da743a9e4f56711b2cb1cd0ad82950df517d8970253269108eb6a811702e39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/runtime-browser/src/driver.ts:275 \u00B7 packages/runtime-browser/src/driver.ts:286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/driver.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3aa531175c71dbe89b29b24b7a0333b85f6b42ba76bd3fd98db00b284f38555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/runtime-browser/src/runtime-driver.ts:405 \u00B7 packages/runtime-browser/src/runtime-driver.ts:419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8828edc6b4141896a1409ebaeb528a94d6012aecfc6b2c807bb98715044baa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/runtime-browser/src/sab-ring.ts:92 \u00B7 packages/runtime-browser/src/sab-ring.ts:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/sab-ring.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94f19d57e3c5b1a4f41d553c87738980eddea473f2bf03f127bb0211404df86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): crates/execution/assets/runners/wasm-runner.mjs:3324 \u00B7 crates/execution/assets/runners/wasm-runner.mjs:3346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":3324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0633c73500287d5eeb75c1542137b4f9b6d947cf656c488fbfe1871879b85e23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/fs.ts:473 \u00B7 packages/build-tools/bridge-src/builtins/fs.ts:507 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafb35caff31f8b7ba1214ffce9a9b9a9d204a5a3c1add7397da890898e05b7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:3055 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"229fd8986911f80b6860b677a0b37ec063e2ad5f1eeeedefd9cbf3283cbf50cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/build-tools/bridge-src/builtins/http.ts:3460 \u00B7 packages/build-tools/bridge-src/builtins/http.ts:3475 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":3460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4fca1ad90e05926aec30ffc9793061fdcdb8c42b6c90f2976a1dc959c6ddd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/runtime-browser/scripts/build-dist-wasm.mjs:13 \u00B7 packages/runtime-browser/scripts/build-sidecar-wasm.mjs:13 \u00B7 packages/runtime-browser/scripts/run-browser-tests.mjs:7 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/scripts/build-dist-wasm.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"37beee5087308bd0abbb33b225841529fefef6799a67c065d6a612d7ed51d49f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:18 imports undici/lib/api/index.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b107de9508737672d53a97d7d7bd6a2956d3862c06f7dd6706af21a21e20cc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:19 imports undici/lib/dispatcher/agent.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4dd9d0920aa5072dc19ccf511ce33138e1658ccf33d28ca3f9cfbf465bc61d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:20 imports undici/lib/dispatcher/client.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1e6506a5d77892acebe7d4671243340d0a5979b3ec0f35c1bb2522f0436b3b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:21 imports undici/lib/web/fetch/index.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce912295fc5ced44464ecc3d911ce982a689b6574e0ee3d2f1b6c28401e8156d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:22 imports undici/lib/web/fetch/formdata.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afb2b351de5a698613a73769ddcfa170929b0f3152b38d720fd30407643a412"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:23 imports undici/lib/global.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"48328aa0adfa60ac6bd16ac5c8c01b452c74b9d32df0f36842a4d9815dfb3699"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:24 imports undici/lib/web/fetch/headers.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9f4a31c470b74eb190322d10b12f89aecf02f1c6f56b71665af42d1b160b1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:25 imports undici/lib/web/fetch/request.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"90194857e8b93fd5d64fa81f3266d36e8fce87372914d43de922d13de7c5aec1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:26 imports undici/lib/web/fetch/response.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6d47927c914e30569c16f2ed35267d44f65b84b8905638eed23cd765460ff"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/bridge-src/prelude.ts:27 imports undici/lib/web/webidl/index.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/prelude.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5a8047e39b2661fbed7787bb6564ebc408b85bda7a4c6e110522f6069abe1c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/build-tools/scripts/build-v8-bridge.mjs:78 imports undici/lib/util/runtime-features.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-v8-bridge.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1261109dee607448bcdb0f146f5f22cf0ce3eab243124f1ceda2cac9869c9e06"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/core/tests/sandbox-integration.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../agentos-sandbox/src/index.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/sandbox-integration.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e14b86dcd75850659299c68b35f17a2c27c48292003a93466462a5fcbb520e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/vm-test-harness/src/index.ts:63 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../runtime-core/src/test-runtime.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/vm-test-harness/src/index.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9342c1fe5e2d8fe30232f7e40f1fdc2d402bf772f9dbd9f07a9d0d18832f2ea1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/vm-test-harness/src/index.ts:72 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../runtime-core/src/test-runtime.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/vm-test-harness/src/index.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"04872d7cf5a988c72d44f7eb930c88ff369e27ba081039e36c34d1f34bedd79c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/vm-test-harness/src/index.ts:88 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../runtime-core/src/test-runtime.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/vm-test-harness/src/index.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"800cc2fcf1a76083449c7003a4b90e3611b2dc7d77ae11bdc11d74390680a472"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/vm-test-harness/src/index.ts:95 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../runtime-core/src/test-runtime.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/vm-test-harness/src/index.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"388235ac5017e9dceb1d174391f243e1f4e664c8cc17691e81d69d26fcb55cd6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/publish/verify-common-software.mjs:12 reaches into another package with a relative path (../../software/common/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/verify-common-software.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aebbc7c5628107993ad9da79b9996aa31e3eadee14ba7cf75ba9020c36b9e78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toGeneratedRequestPayload (cyclomatic 116, cognitive 49): toGeneratedRequestPayload has cyclomatic complexity 116 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/request-payloads.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf934b71807f7ce244637f6899123377066245fb3f0f6521c2ce4fb0eb01429d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function net_poll (cyclomatic 99, cognitive 227): net_poll has cyclomatic complexity 99 and cognitive complexity 227; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5344}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9065bc8db660fce589c6786a5909542f295867ac7b8c855a5b4cd753a48868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _pollOneoff (cyclomatic 77, cognitive 134): _pollOneoff has cyclomatic complexity 77 and cognitive complexity 134; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"1468b23415f97031f49cd71d4fbb5a1c0381f8119643a69ac87e3651ec38c21f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _pumpBridgeReads (cyclomatic 69, cognitive 122): _pumpBridgeReads has cyclomatic complexity 69 and cognitive complexity 122; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"b531e20ebeec154616e9b8d8a81ffc59c05965318ccd492cc8c2fb2706ffa3d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromGeneratedResponsePayload (cyclomatic 66, cognitive 29): fromGeneratedResponsePayload has cyclomatic complexity 66 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/response-payloads.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"425fe57eee5b9d757d93d9cba563561bbed78febcb70e365d5017c79187b6cb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function http2Dispatch (cyclomatic 62, cognitive 81): http2Dispatch has cyclomatic complexity 62 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bacf165f745f31c196498da96c492d31f8a2ddae95a054a2892b5ab437174c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll_oneoff (cyclomatic 61, cognitive 102): poll_oneoff has cyclomatic complexity 61 and cognitive complexity 102; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":12064}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6f122d9a503e299ff49dacca098ab36d1163322b8f753160219cc05b30b7b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _fdRead (cyclomatic 58, cognitive 103): _fdRead has cyclomatic complexity 58 and cognitive complexity 103; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a0516ba6b011129dc414eed2febbe2a50ed80338376319b65b5b68f26d8ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function net_recv (cyclomatic 56, cognitive 84): net_recv has cyclomatic complexity 56 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6238}}}],"partialFingerprints":{"codehealthFindingId/v1":"124e2322d0c7dd80c1b518b73e44852bae52e7de8cd24bf955e3f42ff763426a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 73): (anonymous) has cyclomatic complexity 55 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/test/sandbox-agent.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"502c5640d42ca398a5b854701c9fff167b695cc1424001ad4c1fd5e5afe4f5c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeSpawnActions (cyclomatic 52, cognitive 97): decodeSpawnActions has cyclomatic complexity 52 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c5476e595366a8e27740601ef39e9b42f59f90927e7dfcfd4995657cb55666"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _fdWrite (cyclomatic 51, cognitive 71): _fdWrite has cyclomatic complexity 51 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2d42aedfd7a8e7df763249ecc2c9fd2bbb932b751aec3972a2b1e26ed2c4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawnSync (cyclomatic 51, cognitive 60): spawnSync has cyclomatic complexity 51 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"93baf34eb7a13ee41484675125641ceb06aaf6760e4d2cabec3eb8795c6e4fac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fd_recvmsg_rights (cyclomatic 49, cognitive 77): fd_recvmsg_rights has cyclomatic complexity 49 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":8466}}}],"partialFingerprints":{"codehealthFindingId/v1":"671ec639fe2bff77f0b581e8b3d69fa3813fc2abc5ae3b276c2c704eedff47a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proc_spawn_v2 (cyclomatic 49, cognitive 48): proc_spawn_v2 has cyclomatic complexity 49 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbf7958c0dbbb5cc6f321a7f4379705d805e8d1100bc4520182b594d79f0877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fd_read (cyclomatic 45, cognitive 78): fd_read has cyclomatic complexity 45 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0763c52d9230c55cc019d066e2ffeac360a150c4c6fdb80cd6a6d4775260609b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawn (cyclomatic 42, cognitive 59): spawn has cyclomatic complexity 42 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b2bcfe19d6b483bc933bc48c680a8beeb7b1e6c5288b3bff406d7973ff5d98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function path_open (cyclomatic 41, cognitive 56): path_open has cyclomatic complexity 41 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":10082}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3f6a4a7c1077ff99356446c737983ea357192c573eb13868c237d071419000"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/execution/assets/runners/wasm-runner.mjs: 12045 lines of code: crates/execution/assets/runners/wasm-runner.mjs has 12045 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43541b627b102b5ac8eaaf24efc21f5f3e859ae7240dc810c6205497eaba08e7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/agent-os.ts: 6149 lines of code: packages/core/src/agent-os.ts has 6149 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fa707a9a443c57607bfe340425f643a8fe66e90200cda590e3d2444fb20311"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-browser/src/runtime.ts: 4831 lines of code: packages/runtime-browser/src/runtime.ts has 4831 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be638232a557b942937a6ce5c56b443c24945879064f1dc1c4c85c2c3cd113"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/http.ts: 4648 lines of code: packages/build-tools/bridge-src/builtins/http.ts has 4648 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3eb3c183c162da72b2800b6eb4660b0e15c469c92c9722f4ab8750578afee2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/fs.ts: 4312 lines of code: packages/build-tools/bridge-src/builtins/fs.ts has 4312 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb5d6cf0fe1f0f151ae0717a4fd604bdf3a379abb04755c8755b15ff4821bec"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/net.ts: 3798 lines of code: packages/build-tools/bridge-src/builtins/net.ts has 3798 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"920c5b02209bb07e80269b265dfe50e6cfafe473b90a0284de5ba4f782ec1c5a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-browser/src/worker.ts: 3562 lines of code: packages/runtime-browser/src/worker.ts has 3562 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b847b4bf578c3d98376edc10e9ecedf077ac0fd4df63c0e54556e8659930cd37"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/sidecar/rpc-client.ts: 3428 lines of code: packages/core/src/sidecar/rpc-client.ts has 3428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc24b20be230f84c0d0074229b7f70f5ea79fcf5b1fd23f61cc70bbe88ae79f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/test-runtime.ts: 3233 lines of code: packages/runtime-core/src/test-runtime.ts has 3233 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/test-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae85c4150118b031ca1817d3e089f715cbcf938b98b5560c63f11f76797b4072"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/execution/assets/runners/wasi-module.js: 2685 lines of code: crates/execution/assets/runners/wasi-module.js has 2685 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87ce4c0aa2a5200573e953f95c1ab01f95ee75a49eaffaa4202c22a59291c77"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/http2.ts: 2473 lines of code: packages/build-tools/bridge-src/builtins/http2.ts has 2473 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c44f4e48c866fbe9550e6cffef6f04f93dd98f5c655100f913636b8294812c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/runtime-compat.ts: 2442 lines of code: packages/core/src/runtime-compat.ts has 2442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"955f8b5baa02668f5456f92f97cd442a3a713d1a08e4e933ac51ce41000d66b6"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/execution/assets/runners/python-runner.mjs: 2388 lines of code: crates/execution/assets/runners/python-runner.mjs has 2388 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d750dd89becf5047ba1bcf286721682cc82e9af613cff87389943cff82175ab3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/kernel-proxy.ts: 2345 lines of code: packages/runtime-core/src/kernel-proxy.ts has 2345 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cbb0903bd64219c73c058edf408b6a39d8757c69de0088f4e6d216a379b971"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/sidecar-process.ts: 1954 lines of code: packages/runtime-core/src/sidecar-process.ts has 1954 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c130c6306aab809f8f171a6d8c40bf832ad0a5d080eb76f16734ba8a45d2d7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/child-process.ts: 1810 lines of code: packages/build-tools/bridge-src/builtins/child-process.ts has 1810 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42678f12c800d9d320619222e05797d86d4617f8d08cd608f029e4f7f368b460"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/global-exposure.ts: 1681 lines of code: packages/build-tools/bridge-src/global-exposure.ts has 1681 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/global-exposure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b823e19daebe07bff2038a0d605a2c12251ff723220be84a5a5aacdaeb4db"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/node-runtime.ts: 1397 lines of code: packages/runtime-core/src/node-runtime.ts has 1397 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02c2c29ad5a5cc812f1b38a3d784ea3fac3710dd4b24f3c29a9aef79a9608ea"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/dgram.ts: 1323 lines of code: packages/build-tools/bridge-src/builtins/dgram.ts has 1323 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6628cab27cb09a6b92ebbf960770af30289ec9527b2eab970a142c16ce615c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/crypto.ts: 1257 lines of code: packages/build-tools/bridge-src/builtins/crypto.ts has 1257 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ededd3659ef5f341c5a7300cd7300acc42a39fc7201c40c3c593edeff92d0672"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/process.ts: 1167 lines of code: packages/build-tools/bridge-src/builtins/process.ts has 1167 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb14f0fe92972d59d3ce9f577b98b0486b5f2cf04acaf778c84438118d20d41d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-browser/src/runtime-driver.ts: 1104 lines of code: packages/runtime-browser/src/runtime-driver.ts has 1104 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2630344dedc46cfee8126e13213f1174b9ff81605011a59e36ac4d04d60774c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/builtin-modules.ts: 1056 lines of code: packages/build-tools/bridge-src/builtins/builtin-modules.ts has 1056 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fe7ccde5f66410bdb0f296aa8311553a5818adefdaf3bdb39823de773b99f4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/typescript/src/index.ts: 864 lines of code: packages/typescript/src/index.ts has 864 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/typescript/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2949a12bce9353c7bc2c5caf0c88666976844984475e45934d4f2cfa848b7b3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/request-payloads.ts: 796 lines of code: packages/runtime-core/src/request-payloads.ts has 796 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/request-payloads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92edaf4864f917db79c6c4bc4a8726aa8b304b6b8a7bd9ca4f6ef7251dcce51"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/response-payloads.ts: 744 lines of code: packages/runtime-core/src/response-payloads.ts has 744 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/response-payloads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa47cff75676a94d35336b0d26032c98f77e24e359b1b0090c6b4cecbe4879"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shell/src/main.ts: 699 lines of code: packages/shell/src/main.ts has 699 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shell/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0879396ec48dc8f0319ea2b787b47164c9c21b0aacf31b17695f893e778cc0b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/misc-stubs.ts: 678 lines of code: packages/build-tools/bridge-src/builtins/misc-stubs.ts has 678 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69026c0f62cef11f102c761db51edcb81a84025edfc06e44c72590e5e917ee4f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/protocol-client.ts: 563 lines of code: packages/runtime-core/src/protocol-client.ts has 563 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/protocol-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f36355bb5a6f33ef62461b6bcea303b1f7150c09e28869a8daf2e399fc2c377"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-core/src/event-buffer.ts: 557 lines of code: packages/runtime-core/src/event-buffer.ts has 557 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/event-buffer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4da0ed84e3e7f956ed9f68ed9bf812bdc2e5c98e01870f63dfbe218ef60246"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/timers.ts: 525 lines of code: packages/build-tools/bridge-src/builtins/timers.ts has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/timers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"211660ceb552cf2fd1c28da8a03fb4c353f10c342b6a89a1f604a649c40e8a0d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/console.ts: 521 lines of code: packages/build-tools/bridge-src/builtins/console.ts has 521 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4defc90085542c0acba28ed51d290409c5216abe489c24a69691f2960b761ef5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/agentos-toolchain/src/aospkg.ts: 516 lines of code: packages/agentos-toolchain/src/aospkg.ts has 516 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/aospkg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ae9db4ea0aba41f4c9ab8464a9cec7961b08af0a3ee35658fb7527227523c8"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/pipboy/src/cli.ts: 481 lines of code: scripts/pipboy/src/cli.ts has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pipboy/src/cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2659296ca44c45515bc89f153c4fa0d674e6648a131cfe4d2702276d8b32990"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/sandbox.ts: 460 lines of code: packages/core/src/sandbox.ts has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec33e48134abbb9c4fb1c2517de4769da20ef13805270eb957ed2d7b0e108873"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-browser/src/driver.ts: 449 lines of code: packages/runtime-browser/src/driver.ts has 449 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da484a0108c41fb77ec1c9d1b9ac26fdec53d136832a3342f0a02ca94674a4b0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/runtime-browser/src/os-filesystem.ts: 447 lines of code: packages/runtime-browser/src/os-filesystem.ts has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/os-filesystem.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a759c81629747e9dc2ed819920a14fef403a23ebe649f973bb9eecd7184581e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/build-tools/bridge-src/builtins/stdin.ts: 415 lines of code: packages/build-tools/bridge-src/builtins/stdin.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80587f11910352a8cfe8a90e27e374b689e816a70b1f11e239bbefdba10a58fa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/options-schema.ts: 412 lines of code: packages/core/src/options-schema.ts has 412 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/options-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c15579767882b12572b7c1ea520bfca4fa66e36732eb2c3931b8e00e44c3eaa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a973d63bde0361c2bca3099ceb4be1d05c7ea4c1a24123f040c88a1bac371826"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98a4ab70d11f87be74c142a16c3d4cddcce05781946d68f5f8ab4355e090b3e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6c7744c15476e2c7bbd31e7b7214444847e307781e543298c5ad5ca3959b9d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccb577fbeb424992ab6b41858090cc273fdd5d055db9e766ad2c8f53c71ad71"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c3e88e6814f4acbbd7de6e303d7d2cd9502e392b9a5d44a4973ca8e51f325b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf78380cada3aa6808058ca1dcdfbdfdbaffa93772978c6aa473b455972fd63"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7105385d33f1ffef245a959a364f07dd261deab6055e694542ce1f977442863d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87fd6dcd1c2ea98249eccef40f92e5f26da7453dc01a7e3067b77144d312f43"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/global-exposure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7646ef2a6a591848e0c844e65f3b46b8865db7a781e5d746ab44646570d56360"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74123561fe5a95870a1af0dae8e96138752c05bfc422384b62da50f157a7bab1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed63c60f4630b325f2d00d78be473ea29288864018a4206b45c7ad35269b535f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da1bb89c13eaad76911cbdc6c7803cf9a247912548c323fe556b37508039aad"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4dc8410cfe477ae3d803b517f1178b729ea5651ee27adb30ef99795830fc6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/shell/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8340c22ca1a2a79af3b3d76977d7fbf2a6af0e003d3cfb7293ea2b23b605593"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/misc-stubs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b6588713d0449f33ddc72007f18cf7f2bf6e1cb23216575b20e87b5adee1e9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/playground/frontend/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb875483729aa9d8e9df00bef21442b9d01624d9c5b4095a5d7ab86929b8814"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/timers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc11fb2ac4094bdbb630b939f35c7fab399f565e55e0608aae2a625293475be"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2f59f465504db3c1a85a7f025935e8c55ffd418b43e88a5b45fd18e17c6607"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/scripts/check-bridge-contract.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dc9a390aec39c0638f792a03f16dbaf9bd16c5b58aa0c81dbacdc1029f1c20"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ed6c6da0b926f430fde69335c3ac0588f31b4cfc144fdd91b2f2133a709e8f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/tls.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acb4a137efee4ffd451baac5cbd3854283edd7f3fbde9fe6160f28649e26fea"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd150e8cf18d273df69ebae502fb3b92decea4dffa4447ac480165e2830a05fd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/sqlite.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a4526ce46751387fa2e18df53e83bf23b21b6b4eb2f82e682a7e21a02aebf5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/fetch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5144a3a292b234b55833eda8a9200d3fed9a5b072d3b38aec825ee1da7c58a9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/module-loader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69939b16cbbb06dde50ef939825a64902de71b7002adebec6b98b72791239d0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/os.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2c8c70a03df214e303d450188a1fc3ebf6c70fdd5f7f39cbb2e559ff83de7b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/polyfills/dom-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c4c90cd26e3a6f0a7082b6428b1e48fb4b6e18b00084d661cf16922b9ba06e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/ci/bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5a1a6a6cfe7303a8a6b52ac2717e53554e4a0c5115bc8adba360bbcdd0f923"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/build-base-filesystem.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6917fc9037031984d1002ac5f472a317358c16c625cc1653375c4f01b82f1bd2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/perf.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a08db2ee40830f5a974c39a9b2d6138447f21d53d8d1f12a81c8222eda5bcc0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/npm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"792d5f874b94ea9ab1bbcc3d90006780acdf2098f292190aa1767e9c6020f8a7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c745cbfcd0d78cbb19814220b7cab0031140c7cb5013581c67734fbd10b94913"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/prelude.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ff73e1dcbe9e4011ec2f95c2f086757cdce201e38ce592446a20fa4f8db623"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/polyfills/abort.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"914a99db4f13ba5d2127db2092d8e0bdc71cc0a697468e7d81228bc1ec58651d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fddfbf7fd844b7253d94b7de32dce9db9041525eb5dd12da14516ed4bb6172"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/scripts/run-browser-tests.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4495201ffabdd77ca6b8d53ccdd3062022d06c4d044ac575b8e96af89ea8fb6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/stream.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"504fadcd6101de7c6a4c384071b9fa1a5382bfc234afaefca55a43f2dbed9265"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/local/cut-release.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"858fcced9884d74401b68a1636e3a1b4b881c7cd01c904ae8cdf1523e12b5ca7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/playground/frontend/runtime-harness.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ecf2535fa48870bae5ade7f1aca6d442d3938efe4cc1f727c8b5db0d5d500"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-toolchain/src/cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189255f57fa30d12f8c6c1e991f1426dd34391b157e58c26dd1db2172e2b42b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/polyfills/text-encoding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95670874be4f2c20b5b3a71739364f19f1852fab2635d777dc9ace86a1dd21f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/r2.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae579ea465dcc1e146cee90b4d9773f537b5b868f6d53a535e69b18e64268f0b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/v8.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e16be8022aedbbb11df6111a6563172e0676755bbc5c01f7cd7f02839a676a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/active-handles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a40d7ae02cd1ab04a641f26e3a1a39640ce07ee132536f30a4399ca81af1a3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/vm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"649180c0e2df2ca1c632596caef35f56924b6c50aa8947ad7e7c1600f3b57991"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/build-browser-node-polyfills.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df8301c8048d3ae64ed717bbde6885f75b4cb9474c817d0f47907f8c14eb317"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/buffer-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"093b5e459ea8ee71d99ca8d59baab3ebaf453c8dbcde065aac10fa71e32ad8cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/scripts/check-signal-table.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0061299159378fe8169562f56a7b0c3fca34b7a2948ce72cc95cd40ec93bda51"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/scripts/check-wasi-surface.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e86e4e70475f884914bb789bc76adcdd73495c1ead5fa244ef40cd51307493"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/polyfills/whatwg-url.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc0cd03424586b836d2a211c62eee211f6771d4a001d8cca2ca313a6f1b853c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/build-browser-util-polyfill.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c418d6bf0c6a8d9a58a9a11b175538d874313797c883cf13e5a881cee2ba29"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/playground/scripts/build-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67978a5677e084d70054bb1de43ccf82a124c8de7e9e594c53701c2e7ae1428"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gen-registry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"301c4e19b137e7fa35aea099de0b3e884a921074413fd6811002bf283908dcb4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/async_hooks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45f591395b7fa13591f2feaa8ff855a61631487e9a6714a86707d1a39a96be"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/undici.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dade97d5ff67b154c2c0234e36ef9c55a2ac59ed67e47fcce4de59b869589b8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/src/default-sidecar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a3740af8cadd2f128832c772c9eb68ca79c2315544eb384f0c0a4ed38efdf0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/verify-common-software.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06648212b6dbba9f2292f18c6982834be603086fff6e8c8d774f6880ae1c457"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/polyfills/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f823acbe468b7b8babaf26fd5a8cac79713b84632f24f0f500b8dbc69a7e6b3b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/polyfills/blob-file.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c53b1ed0c99e28e43bf4c23311b4a718dad8693829f6ef9715ca52363fc21e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/http.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20701b99fad348de7086370cc17af83369da425f99668317b94d1bb057b8c95"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/https.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cef4101d4962d67cca8f853e5d54f59cef270829bcb3fcaba6b5d75411cf1cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/build-browser-path-polyfill.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f849045d02e6529875fa0f5e7859b9571217047bae58a3fb21f28a3279f44b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/build-browser-buffer-polyfill.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ae5abceb8883cbbcfd62e9e2f6405c9cc856aa82de6f1989c72f239c2f87bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/vim/scripts/stage-runtime.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b1e9b848602d6d3ba4e0d3ac57ddb3904e4134d8edef61ad5dee56718c706c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326ca58ee735dee74ceb54eb026a9e0a20b191f4d42a10e92456b9578a938eb1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/readiness.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5346da78c81059dcdcaa65952749a3119988754e3e77b2af347fcb5350a73dca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/tty-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b6ab9a359f8e7a2e932ae126ff67a60379e56d8202647134cc77746dede826"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/whatwg-url.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4b18517dbc14c39456013035e4a07dfc9400d18bc165413b6de5b93a39805b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/git.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7a2ecc6f40193a5e343006640d8d28caf384cc39fd5972df9ef37d5b4168be"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/diagnostics_channel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc465fa657e067649f10843148c8543dac002cfc6213848a324208847b7cae3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/scripts/build-dist-wasm.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0998976cd6756118ed6f4eb483cca740435ceccdfe3510355693c540373499a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/http2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a492633df8d060e6c4faf067da7bbb8f69f09baf4a9611c2149c414a1d4cbdf1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/playground/scripts/setup-vendor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fc5fddd6ce6f96176314ed915fe79c2dc9a9cdf2b4a61954196308daeb54d8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/dns.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686a716a64ac5dfc1ac0695d9f22d63a560aee5d3d5f9cdf5561a8251fda741"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/network.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"655edd7a45239a33277198ea1c0e6cad90bf0f8451efebb0612a334bc4edb04e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/compile-sidecar-protocol.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9234ecaa3f1501a20adad58fe9ceaabc855427634b1a8ca89c9b93630495ad"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/crypto.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a01b7b08e4f06a13c78ac8a88d693169ae0b6026b2b16f75c1ad4b7b16fa9b2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"150fda47e32f2d38e612c69b3355ce6e51d2409d2bde5e44786b2a663e60be93"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/scripts/compile-package-format.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3a144509315e93ed87b57320ef62c842a54fc37761c249b53bdc1ab6af13ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/dns-promises.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c371fa6f2417b303b42c60a70a50db7dbb06ec8f8e4f0c5b5953180b1c2ab37"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/net.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d31f8fc05cb528578986b8e6e17422abd38b26ef3dd8c0004aa3e3ad9511b5d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/runtime-features.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49020798f63b006377b01ecbf79276c0a795faf14fed2e5482ff66175c900c9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/zlib.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6fb398ed185710913111e36475697d7138826e0801a641d24f08df94202bc8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/runtime-browser/scripts/build-sidecar-wasm.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0ff9b637c07db64c44c1eeb1fd65636ef3c5b99ff5f0ac4f1ddb35f4473e40"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/tls.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"419dd4c35f075681ce013a6ac859c9a1105ceeb238cb802bd5ea4828e605b522"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/core/scripts/stage-default-software.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfca7e531572bbc7c243bc467c059a25159c7df989731c1207a523810899840"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/web-streams-global.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b1c5e8479415a073e8026dda25e349113dfaecf5de3304566c3fc26a0cc877"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/process.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1ceb5d4ea313d591c8333ce0d835c497424121f5e84c557c7d6b73631ff0bc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/coreutils/scripts/stage-runtime.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07870e1a8a5f8377025a27acdac85021d694a8a60ebf5cf6436863026795744e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/randombytes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc8fd35547ee8513b189041f7befd5038f1b44ce9205a66a9f0ec653769f9cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/util-types.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fb024ee35ed6e914d2ed18e3ccfdc5bec3af96226afbb7e93c6806d1cd99a7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/url.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d52930f856f76550a14b7cda4d2773c0b7272b40c74d44307d45d21cee9a2f3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/sprites.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6aa87cc7780721c9a2df16dc2d4bd976e2fbde89f67e3708dac507f3533701"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/build-tools/bridge-src/builtins/buffer-constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee163adefedf1a5e5e5e7f4df7f6d2e3a905b93cd3c790af7aaded8ce3e31b1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/core/src/sidecar/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e71ed43543ad1fe58e7b1df53dce3eecd28af17bbd33329337f090c59280982"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/cloudflare.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c43592d9fe49053fc3b04be752fe413928c94c03350177083e4aa6db83363f1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/computesdk.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf02a8757929ae8458df84abdfdf71356b650c2cdf062e728151e6a63967cd0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/daytona.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134e1325d4c5cb3f3ef50d4fa3445b2b7f939af09f08b42f87de224bf6c8c8f3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/vercel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134cf5ca842443bef00d48a6b136283a40d3f80b13d90eac823f6b47e45a72ba"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/perf_hooks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb959ce056825bfd9f9fe36bf9cd978e336191ef60a22c020e610d36da79f31c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/e2b.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbefda2d18c43a402339f5f219f75ec281e707026b5086852ca25ab3e4bc4047"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/local.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f8cb495f5a8a73c42158e9ef4b507324bd081c4d37d53f74b682c23017b2c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-sandbox/src/modal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d440e808684b0f727ab44282a0c63bd1df3370bef9c8e2f5e319143073d1ce2b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/websocket-lazy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"100a2c28b593bd5455410eeb8a97d9b567da4dfbf412aac27b62cc58bc523697"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/build-essential/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf6b414fb5d7ef7b15339f96fede341af57bdf8fb76634e01f67710fbe57a1f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/agentos-toolchain/bin/agentos-toolchain.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b05a93ef615d4d1d7496cff9e6b7a48e2533da141622bf0d2cbf4b9efe2633"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/sqlite.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a949a9d28cda14c426b1f0563223100f8f270b1fb841d97ba16232f9c741fc31"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/acl/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf2053cc10de06cf1aa58f3418057139ab1333f6f5e0e6ab03d05a07bddc17e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/attr/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd76f0eda2da5f1ccb0cb43f5f03e150fd91834e17ca6d43694088dcd1e86cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/browserbase/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf17c2e05f13989bcbed89ffdf1373585078fcf824f0d503bcf0920ddb90650"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/sh/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbc063564c37d67911afa11c96c9eb17ebbf2eacaebd68c2ab3e588ee74e197"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/ssh/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"538c027068a1d6f31f20a1252a59aa95c9fb08fae87e8dc91a609975ebaa7eb4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"software/xfsprogs/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df95e06824aa2d5068ec33a19687f05dab372ee7efc0f0d5ee48544ec1e4ffc7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~350 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/build-tools/bridge-src/polyfills/abort.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/dom-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68897ce9dd4c11b539f3ccc773611aa60a08d9c3d45d0d67fe14d65956cbe6da"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~251 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/abort.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94653d23ec1126ead0b1005d45cb977765816bd4ffec3dfaa25ddcb98eac9579"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~169 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/frontend/runtime-harness.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb31d949b3cf01cb29302b3eb5ca0aa7907995729ed5a79ae102e920140d455"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~152 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/quick-gate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"837834f8764d99c10f7c8e4dd10ee19ecdf6ef9b1b5e5a1d92b6f9faf274f1e9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~116 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/whatwg-url.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bf1452a37b3bb797a905483cc5c0222b879e4fbe8a3ed735dde52d9fbebf9e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/scripts/build-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf9800fb4f98340b2bd1dcbd30ac3d8a77e47a010aa0a4ccd9fce0351d3a5f3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gen-registry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2cc44b6eb748ce8a5d53e61ac1583c3c52616a0e829863afbb71dc64ce4733"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~88 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/default-sidecar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5372a54b31c92a313a1f35a0d9874d5412e03f290623cf120113f50e365681d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~79 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/blob-file.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ce24f21b950529f52001be48d64e60c7626360ca2b12e43a42419230855e65"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/check-native-ops.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2df1ff2b5066b49fb922e0946ab84a6a8bd1db40a2b56f650a6a2ab0664e4e7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~51 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/scripts/setup-vendor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed9a0f261ac4a989875189d075beeab90ae28dd590d36c27ca390c9e51fb692"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (354 application, 40 tooling, 445 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3718d553a58866661486dfa4506da9edf959ac263042e0663b44573d9d44c148"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RESIDENT_TRIVIAL_CODE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7b9d169a48a9f35a544fa8eaea72babb5de31e4850c372f34aa1ce9cbe15fb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MAX_LIVE_RUNTIMES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2debac0a396c7e45db7f7d38718d5a2f089504b583c6ce284c2b2e79d409403"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MAX_RESIDENT_RUNNERS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9f24cca67ebf28af2c5f406d07b0e8b2ca2e91c6cf21ae71a79006e72ae5a6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SCENARIOS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd18277facb179a88ec77aa5438bae68ee3b3fca7325eeb202054408e383d60"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createBenchSidecar\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfddf5f9c9dd1996d7f2147b30cfd724a548a3a51ddc26785dfbab80b385031"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createBootTimingRecorder\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a120bbcc062a879e0623fd4ce25978e8417413ab48cc90f7fe425640c621236"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027mergePhaseSamples\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c48228f01d474da8796eec320aa010c4aa5c5e99034a5ec2d7b1f6d937b2f6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027summarizePhases\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab946062014d86318f7258c7e5dd7641b657743abb2ac7df0713cb20cfedc35"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027runLimited\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e5e9888859aec8f5901c7120252c4ed52f65b04f62cb889a7aed5ad916b459"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LayerSamples\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/layers.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad96c7f42a42b9cd18af596ba9ee9701c1752e2244fd10329a614cc93bf7601"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027opSupportsWasmLayer\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/layers.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9487e288301b8b16c9f50f2492b9e87c20de1f63189e5f7736283a13ea7dac5d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027compareBaseline\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/report.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46db0b4438d3ab1b0c30ed0ca5a5681fe4dba22ea9b4bba53871760dbe6eb76"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveBenchCommandsDir\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/vm.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d4649d766887fa42b8e12bf2d03c4becc1bb921ec77455d95f06e2be44ee54"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027uploadFile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/r2.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578a5f23462d3e2e232b9bb4db188b0f6e6a0cbfb350e72ae0767c69d872e0d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027rejectPendingRpcRequests\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":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf3a1f2e7a611f5e2e0dc8653c40ef0d3be2dd013a21cc20d4a3e231237a478"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getSandboxAgentMountPluginConfig\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/core/src/agent-os.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd34aa60ef9f8d7c0b12284207fcfa22984b415b06a97be5a70fe60f1c7a27e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getS3MountPluginConfig\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/core/src/agent-os.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c394fa9e925a0b6899c57e10697b95809b6c8d58cc055b9e3d752294f1dce15"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getGoogleDriveMountPluginConfig\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/core/src/agent-os.ts"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4903137ef1fe17918e3fd7eece3d76840e3fb04f762c85221b20e561e3e779c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027combineInstructions\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/core/src/agent-os.ts"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea43dcb85bc9d05b98408eb17c4748816d9d29ead03d79647d962ea0d22cb165"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027_softwareRoots\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab17a10eeafd4e688db6b80f6f0f7c8a7948bd1217fb0bfe4f0c7ee99ecfb15"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027_hostFunctionReference\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29e6cfb15d68693848f4a6100c5644f0703f880fed944be43317111a0791cf4"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027_env\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ec0c103a63e2148ec51ba36eee34f0a4b47a59e3d9ba9a6a956464b56b4f91"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027_resolveVmPathToHostPath\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e73b229c4c0499355454cbf1de2f596c5f24ee68e77bf7def4d3e51ec88ab4d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027shellSingleQuote\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/core/src/sidecar/rpc-client.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac87fd97b60d4a366b6ef1282a9561be8adc579a81f55af72f459041866574e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isMissingHostProcessError\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/core/src/sidecar/rpc-client.ts"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"0915b4cdecbced77cb8d52979201725420041ce148aa788dd672c795ab9d55ed"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027BROWSE_PATH\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/core/tests/browserbase-e2e.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7ebd39921901e4ba3cfcb1cf66b1b711c69fe8562f514657bfcb07e6fd4da5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027CLI_PATH\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/core/tests/browserbase-e2e.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"08055c611d64a8dd89c16adf832c8380550b1274e0ee99f81527384bff51093f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027makeApplySyncPromise\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/runtime-browser/src/worker.ts"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"658db15003cf03549ee291904bf174c3d875b71c9d66b718073ec4dbc21ee93c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027shellSingleQuote\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/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef8fd52484a484d8b5f428097c842c27f20c41e498daebacbaf3a3f1aeb0d6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isMissingHostProcessError\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/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5d1b3430bd97cc7d853d9f188e5d9be73848bf54d27dd7650766832737f9b0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027WireRootFilesystemEntry\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/runtime-core/src/sidecar-process.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a666833ee7fdf8e8642106cfbb5e7ea78e45a001aa8d09b86a25eea37cbeca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027RequestFrame\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/runtime-core/src/sidecar-process.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6009a51edc2db72c600ff07e2f0a2b59b0c29219eb4af0244dfc6fecc9f9a66"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027toWireRootFilesystemDescriptor\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/runtime-core/src/sidecar-process.ts"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6ab2a930c35a8f04219fdc19eadd4cc34102682f51c34e112421fecaa95e1b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027jsonSchemaDescription\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/runtime-core/src/test-runtime.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7929445f31a11ad2d8af87d64d2750faed917905f3a041dafc801f47d8f972"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027TEST_TIMEOUT_MS\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/e2e-project-matrix.nightly.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce7573e09867e726dbf9ddab60f2ff8ff494e6b6303f2e1520fc26dbb4c400d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027withFixture\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":"scripts/publish/src/lib/packages.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c71dd1e31c2f40135b2372fa6142a8635695c5e57e0d605d1cec31f8bb603c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027writeJson\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":"scripts/publish/src/lib/packages.test.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2508107025ced0a25bb1b6e20ccae9e6e6e413bf7311fc6d770ee0990b80653"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027ws\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/websocket-lazy.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"02973a053c9e988821ff6d9b0de06df2d4791e70ab277c2bda1058038dcff98c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027unrs-resolver\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/tests/integration/projects/jest-native-resolver-blocked/src/index.cjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc10bfa13ff2535ffd61cd86f40f594025b0b6a75703613c3a7f971fd30c20e5"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@agentos-software/ripgrep\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2682c8dbb31a1e45d10d06bf83e018139ba3c140ae690db1ca5416ba6d6bea16"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@rivet-dev/agentos-vm-test-harness\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e925fc3346832df912052a2c959410e2b3822b7f20cb8f630680284fbb71c3d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027web-streams-polyfill\u0027: Declared in packages/build-tools/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5162c30d6f8e5747b3dc6b2e7c1ce445c647f44708d949d4e5f92ac838505938"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): packages/build-tools/bridge-src/builtins/builtin-modules.ts \u2192 packages/build-tools/bridge-src/builtins/console.ts \u2192 packages/build-tools/bridge-src/builtins/events.ts \u2192 packages/build-tools/bridge-src/builtins/process.ts \u2192 packages/build-tools/bridge-src/builtins/builtin-modules.ts (one verified cycle inside a mutually-dependent group of 21 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/builtin-modules.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658c10926592d321f107a2dd140db4c6b423391020c6713586156ce2161d5f2"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/core/src/runtime-compat.ts \u2192 packages/core/src/sidecar/rpc-client.ts \u2192 packages/core/src/runtime-compat.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec24f3c1cde73607aed6f8677156ce43ed86542f7ebb8da703a734589c39cd14"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"12af23396e880ba3a5b8b44e5fdd56fc5345785fdd59547e7a994f982db86887"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a4dee1c4edae9a4aecef2bc050a42e0bd8d08ae526db3fb57b270ee50d0fe4"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"db45b464eaac0860a9011872ddfe33d6797dd7099371463eae2ed0a00dd67b69"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"722ea9e0793013e33ac489569d0f8534bfddca01b7b6fa4e1004156f88c3fa2f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"52816c4d51ecafe7558a2b219b7aaccb0d5f55ff8792891f5ee16302b64cb455"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/execution/javascript/crypto.rs"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fd34be0d4bc348964911091ba7762463116f0fbaeb4d5cdbed3897a45d0e6b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/stubs/uucore/src/lib/features/checksum/mod.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"57543b2f58c8ee7386e543b64fecd1a8df074f435dceb9d3c7082e01756bb10e"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"toolchain/stubs/uucore/src/lib/features/checksum/mod.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4fdd01502c448f8a23d779b323df4c58c83ed8e1a6c350d69d559f88ad8cbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(port) || port \u003C 0 || port \u003E 65535\u0060 appears character-identically in 2 files \u2014 crates/execution/assets/runners/wasm-runner.mjs, packages/build-tools/bridge-src/builtins/net.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":5755}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b28c91353347387c8975f9b422cfca0145193a1ef271dbd2f9eff66ff8b4b13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!knownCommand \u0026\u0026 !this.tryResolveMountedCommand(command)\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"063c47c6ff78d63c31592f32a219d8e12c81349b0305d709226a06916460c6a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || !canUseDirectExec(driver, parsed[0]) || (driver === \u0022wasmvm\u0022 \u0026\u0026 parsed[0] === \u0022pwd\u0022)\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/rpc-client.ts, packages/runtime-core/src/kernel-proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"70689604c9ac5b119a9ed66a6a796538e77ef3abfd1d832b4991c1ec8160758b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rule.operations || rule.operations.length === 0 || rule.operations.includes(\u0022read\u0022)\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd1fa9b6151522c049e78788b45163771771940b4ed788e64fff7b4c14d2fdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!signal || typeof signal.addEventListener !== \u0022function\u0022\u0060 appears character-identically in 2 files \u2014 packages/build-tools/bridge-src/builtins/console.ts, packages/build-tools/bridge-src/builtins/events.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb1a3f516a953eef2fafca15d59e698968cd5c64bba0da5c3d485514957960c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.client || !this.session || !this.vm\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd0333641aee359e401ec44342592d4c0052f36ba375cd6c5ca090dc8710713"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.commandDirs || this.commandDirs.length === 0\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b911ad074b3892ccf152efda57fe1b30fed7946b382edb2758dbbb1b14db9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.proxy || !this.client || !this.session || !this.vm\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"41430d938223c58a2dffa135781a036ccdff85e739f627ddf79f499b24fba129"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 packages/build-tools/bridge-src/builtins/http2.ts, packages/core/src/agent-os.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"66771c3c1216cf383e4f78602b443a0d1b02ab8b84701b72d6d0142da36c919f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022size\u0022 in stat \u0026\u0026 typeof stat.size === \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0aa5294c7739442d27425468f62d6737bb4bab6a488cfc41357e349f05579"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(stream) \u0026\u0026 stream.readable !== false \u0026\u0026 stream.destroyed !== true\u0060 appears character-identically in 2 files \u2014 crates/execution/assets/undici-shims/stream.js, packages/build-tools/bridge-src/builtins/builtin-modules.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/undici-shims/stream.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a75f0111c5652b9e402764130e9bdc3d805fbaa326b5405ef14bc940bce6218"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060callback !== void 0 \u0026\u0026 typeof callback !== \u0022function\u0022\u0060 appears character-identically in 3 files \u2014 packages/build-tools/bridge-src/builtins/dgram.ts, packages/build-tools/bridge-src/builtins/http2.ts, packages/build-tools/bridge-src/builtins/net.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dgram.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf73bc624470979d8b4660c7356fd1bc2ff9f88ac5cb245a7bc8a3e3d45873d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.includes(\u0022/\u0022) || candidate.includes(\u0022\\\\\u0022)\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/cargo.ts, packages/runtime-core/src/cargo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/cargo.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd83c7e37fbaa5676d1e71d69370f1222815d5e1495d6b09412ee0e9721c8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060command === \u0022sh\u0022 || command === \u0022/bin/sh\u0022\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/rpc-client.ts, packages/runtime-core/src/kernel-proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"947361bcbdd0cc1f3b881fce55fed58f4b283e1bfbe45977e65d11ab27104cdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deadline != null \u0026\u0026 Date.now() \u003E= deadline\u0060 appears character-identically in 2 files \u2014 crates/execution/assets/runners/wasi-module.js, crates/execution/assets/runners/wasm-runner.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1f69f64621de53ee29725be324310150e8c82fafa74963f150003e7f52df98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060definition.examples \u0026\u0026 definition.examples.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/core/src/agent-os.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"594876ab87777b91ba36cd230358fff522d769a58a6a4ea1a2883d3dc79ea3b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ensuredSidecarBinary \u0026\u0026 fsSync.existsSync(ensuredSidecarBinary) \u0026\u0026 !sidecarBinaryNeedsBuild()\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8676b43c63cfd136e93f739f00679a6b1df6892ff6f62db3c5cd8baa1fb24f9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.exitCode !== null || !entry.pendingCloseStdin\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/rpc-client.ts, packages/runtime-core/src/kernel-proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2752acd1790e0019c6eab2e8387f533d53882bc2d4bb82a9684816f031a57c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.name !== \u0022.\u0022 \u0026\u0026 entry.name !== \u0022..\u0022\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f79c13a836f4e885b9298310dce8335834625e64bb13981a68c11444a128e75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.onStdout.size === 0 \u0026\u0026 entry.onStderr.size === 0\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/rpc-client.ts, packages/runtime-core/src/kernel-proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"170b7e64f394eaf64ca8db6fb6624ecb42f2cd6eab897f8239355b5a0fc27f09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entryPath === \u0022/home/agentos\u0022 || entryPath === \u0022/workspace\u0022\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab01a6fcceaa04204754dac13f57410ac5376dcfe37c33911b2ab35c74a00d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entryPath === \u0022/tmp\u0022 || entryPath === \u0022/var/tmp\u0022\u0060 appears character-identically in 2 files \u2014 packages/core/src/runtime-compat.ts, packages/runtime-core/src/test-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf561f12dc1c6b9a3a3d445ec80ed2e0616d937288e98c67f9a55c9364dd47c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.message.includes(\u0022EEXIST\u0022) || message.includes(\u0022file exists\u0022)\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/rpc-client.ts, packages/runtime-core/src/kernel-proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be605ecab327fc3c84490671c98a1c4ed8a6b77e8e2523d74d4edc79a34be28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.message.includes(\u0022ESRCH\u0022) || message.includes(\u0022no such process\u0022) || message.includes(\u0022has no active process\u0022)\u0060 appears character-identically in 2 files \u2014 packages/core/src/sidecar/rpc-client.ts, packages/runtime-core/src/kernel-proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d165f572f5d611cbe3d21aefd6577cf46a8aec3a3e759ea1e26a4e445bd535"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existsSync(source) \u0026\u0026 statSync(source).isDirectory()\u0060 appears character-identically in 2 files \u2014 packages/agentos-toolchain/src/cli.ts, packages/agentos-toolchain/src/pack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/cli.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f789e35cf6be29eed8e39bb1372925e5e7a8b82a10c521581372c474fbf8da00"}},{"ruleId":"X14","level":"warning","message":{"text":"IP classification is bypassable through an IPv4-in-IPv6 embedding: This function unwraps IPv4-MAPPED IPv6 (\u0060to_ipv4_mapped\u0060, line 53) and then rejects \u006010.0.0.0/8\u0060 on its IPv4 path \u2014 but the IPv6 decision at line 52 classifies the address as written, and IPv4 reaches IPv6 through three MORE embeddings this function never mentions: IPv4-compatible (\u0060::a.b.c.d\u0060), 6to4 (\u00602002::/16\u0060) and NAT64 (\u006064:ff9b::/96\u0060). So \u0060::10.0.0.1\u0060, \u00602002:0a00:0001::\u0060 and \u006064:ff9b::10.0.0.0\u0060 all name a host inside \u006010.0.0.0/8\u0060 \u2014 the range this same function declares non-public \u2014 and all reach the IPv6 decision un-unwrapped, taking the opposite verdict. Unwrap every embedding to its IPv4 form before classifying, or reject any IPv6 address carrying an embedded IPv4 outright."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/src/network_policy.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5044d36c324db2338fb2a9c2c2077a528ff9ce529cf7afcf6c7ce238c15539e4"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060kernel\u0060 is never created by \u0060NodeRuntime\u0060 \u2014 it is the constructor parameter \u0060kernel\u0060 (line 570), and its declared type \u0060Kernel\u0060 is an interface \u2014 yet this class disposes it here (line 1140). The instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the program is torn down when THIS instance goes away, and the real owner\u0027s later \u0060dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a class disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e36fb8599052ba697d1bc5e17d01ef747e4558611ffec9171797d1115a871a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060protocolClient\u0060 is never created by \u0060SidecarProcess\u0060 \u2014 it is the constructor parameter \u0060protocolClient\u0060 (line 354), and its declared type \u0060SidecarProcessTransport\u0060 is an interface \u2014 yet this class disposes it here (line 1886). The instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the program is torn down when THIS instance goes away, and the real owner\u0027s later \u0060dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a class disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/sidecar-process.ts"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d5f6a03bae60e0643a19fa1debc2238731dcef0b85026e239fb1abba2ccad9"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060#kernel\u0060 is never created by \u0060AgentOs\u0060 \u2014 it is the constructor parameter \u0060kernel\u0060 (line 2888), and its declared type \u0060Kernel\u0060 is an interface \u2014 yet this class disposes it here (line 5955). The instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the program is torn down when THIS instance goes away, and the real owner\u0027s later \u0060dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a class disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":5955}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f7900faf0dcb01369397db462a12dd359bdbe2db1177474c909feb639834d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060driver\u0060 is never created by \u0060CronManager\u0060 \u2014 it is the constructor parameter \u0060driver\u0060 (line 63), and its declared type \u0060ScheduleDriver\u0060 is an interface \u2014 yet this class disposes it here (line 129). The instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the program is torn down when THIS instance goes away, and the real owner\u0027s later \u0060dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a class disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/cron/cron-manager.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f9f4d264cb9611c7dc5c6499c69e81cddd4721c58303d211ac873e9c175fa1"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 3/7 async functions that make a cancellable request (fetch, axios, ky, ofetch) 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: get: \u0060get\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/verify-common-software.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72674e7fd33a06fcfa966f689cab78cf0eacaf8676c84c2a7bda7e0e0567903"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: crateVersionExists: \u0060crateVersionExists\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":"scripts/publish/src/ci/bin.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a99aeda40d39ed27fc75e3d95c2904c65134391cf70060661a3c47bf5407354"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetch: \u0060fetch\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/core/src/runtime-compat.ts"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31136aed223cf3da3dc1726f5ef1966a9c1cf380acdafdafacb98b0afe24769"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: httpRequest: \u0060httpRequest\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/core/src/runtime-compat.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c49058f01b4a9a314ded356eb255cdb400c01558dd274347e3c1056b657f725"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060LANGUAGE_ICONS[proc.language]\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/frontend/app.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"155302e9b081840139a0f17769a2cd0711925a2b1fe66a75ca2366a261f8fcd7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060addProcessMenu.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/frontend/app.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2776c254c97095576e69ed79646b3cea8eecc29369ee77896f014fa7246d6a96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish/src/lib/r2.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35e871f72ad3857d636ff5d0764c02a49a337482eb6557d9f4d977086039ea1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/typescript/src/index.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b98dc664026758974ba95157198911b6d59e05221339160893cd81a38dac4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/typescript/src/index.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe4cdc1a08fa1c9281b1c20b5b818589c4b0615375dd1907f00369e294de411"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/typescript/src/index.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f961dc648a3ae949f0ace17128eb04369a9996cdc5b356c34ab8cee24f0448fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shell/src/main.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ab96debfb0a53654c2bfff4f0ebabe5cbd057bb9e1d5e0bee9576e307acab8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shell/src/main.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21a85db844865a9d419286edd30ac115e03a2d433251f8574e36b9667cd7790"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-sidecar/index.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aefeb2a3e1768b03225355d1a7151bad977dfa83c84e624013fbd4f73a11b18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/cargo.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"776a470aebbc430e36f4f4ea931e39c6523d1246c924ecee5b20a3244542295d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc600020b7ccb58059f4f518b8c17a1bcc2a11508c8f7c998125553da5cf754a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f646f1eff14e3bc83c8d001b0f9a8112f6e2e76ef92aec8f07155c8ad4e4dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"926cbe8af6d582d079f5165d55adfca33ca3de13f98db9357eb09c48e899648e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4766b961dae59e496100c0e361b18fcb85b4617fa15108e30dc7704775941d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f5f77448edb5bb2d93074d3b6ff330f3420e072926b7cc6568d039c711eb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e462516e9f7a36790af2498774ea81e90debc543653fe362397d313f0d7cf34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc5f383699381c98529edc3a1b1a9b8a46b6c8d1ef85494e7dc748918189458"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd28efd5cac8f24f538a5da6b4ef9aedc049a1175a4f669724af8d0b1a8a0735"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac64817e8eccbc4a428d4b24487e5b6df807f606bd5a3369b55dc262e45ab06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e6d17ccaf75c469dd9f4b9f5c572592b6c5f020baf906cee210c4264d5cba1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/kernel-proxy.ts"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8425729565246f34ed126762675badc6c2244b71dae1db308815082514da9f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f35e6c4dd9d86e66e7f481974815efd5eb028a746553f4e1925ace491f750d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a44702404ace45b8e4bf0616efd00e11c0a54d4bdfceca45a3b6ef44e63ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd401ed9a82b0080b5badf441321459dfb4d1d89055d777cc5f368eb70ae5348"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd5b68f0f900dc1429062a662e2f2cd8fa3a51ece844700283262165d088958"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ceef6730668e9dcd51cdb88e8ccfaa3c0378c31feae9b690d0fc96924f61ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2475145d947f6268f302df5903025fb221fa8d786a91ab5accd2a751348f85be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c6690e24f5add4b01254b24e5fbae46b90576f648604a832d20f2171a991fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/native-client.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aa58b80052ba05a5d345748fa3edb3b14c5afcf2f1117e42cfcb7b558bc4cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"7343171e5d8506f9d2ab8274509d87f216d9bbc561f3a3dc50a00de52ae013ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"d797c730a310156194f1775386d8ba1a0b36822d58f1825fb6612050c36b3a52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/node-runtime.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9007113cb73189c3d4825eb6ff4b7287b7eba09a7ec5bda98c0ea5993637297b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/protocol-client.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8825556b5da165e4f46a07e1e8d642788a75b62b2a76e3c34dc6a49e37c1fc6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/root-filesystem-from-vfs.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c665c9ee6973ab6dc5309d94e5d06f58263186f28e445052808dc6740b180"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5a6ef3e5426e94332b234a53a774180fc3fa28a45d2f07f01693e6699b66ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee34bbd9dd3db4979784201294ca14061fe43f65f0ac84fd27a256ade5074ba8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df930523bcf82ec2c94c85d3b1c8139d4cc6172388bf4ed0911fc248c2325bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bce367d90b4de77502609a53205fce0290b013e81f86a6260afdbe6abac0b38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbccc3e9c14b75e40d062e5431956069fc44575b6fd8e7b01ed0765c166a442"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime-driver.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b24881968c73f31bcc753d695750b27be197ff13f23762b9222c1e4c71653c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/runtime.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"27985b55ad215f371e878f103506fc6539df11c4ba7e501eed652942d9ad1a3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/sab-reactor.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"497f8185143873d2130066346396ca76a1d57d49646b4965720e959a122daecf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/sab-reactor.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef76c68cb1b8fde15f0814763bba6b4ab4f4ad73786cf2e45881beacc85b1d25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"536af237669337004c6f054758941cc09e3b6c51a56ab1b63009de50a0d1aff9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4740c81ea41eb77556a8d7c24978c79ae8e03f65192ed0df4d563edf54b30208"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9196fcc03fe7167ad950e9293466f5535b7da45858d9570ad690e65f63bc84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/worker.ts"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a6003c4c40045668bc4e9903118cd9d19c39155161155b8c8834b5dde03880"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/memory.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b54ea8428204ced763b4e52afd56723dfaab6acc181a2bbd36bb47463c20199"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/memory.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"138ac89281eb7cd80ab76a7eb7c3ea215101032267624104132d735717a16d19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/memory.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6bcec7e2f5585bce5af2a9a935db36204e250ffc11c241cd7e2972e219b481"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/fs-sync-ops.bench.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f87202813c14f46d015379f77adcfa7ba80acde78c36f353df44fe68d78798"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/focused/wasi-ls-scaling.bench.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f111742676b8e44fb17b698c242837e77136c401a22164fe2222768687face"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/scripts/setup-vendor.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c6d24d56fe12ccc5b63c14ed880d35e83feb467b0b28c94cd8d04cc91101b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/frontend/app.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03b48fdd57fd479631d307feaa3cdd013b15d0a4beec132f1129d64dd669177"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/playground/frontend/app.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4b12b03fa3adab567ab93a84e4d035ddddfabd9489cf46449227e3145aa8c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/vim-snap.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d98a3cd2ff0dc6d946f234eb445d65e62aa1ef46526ad202fb65a608c36566"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc69a19afec87860a1f8888d5d655d7962e121848c73da52f6786bf05894e48e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0a31f8629338ea44ba85c314fff93774bb590be3a5b2ec402b774ab989ef0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"02877bef6958bdc1be9c1324635d0b140a7085c81d398c30340d665eaeeed675"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":4350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6528ee2b613e08de688c8e66b45013b7b065a4fbf0fcce6494781f3b134d7b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":6088}}}],"partialFingerprints":{"codehealthFindingId/v1":"df46e7785fe4662cc779b887c3d42a9705b270c001968acf4a07c8c4cf65f0ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":6133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc5eb5247dadcd65b4175febf78b95c7829653137ffa350a85871ceec0aa2f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":6221}}}],"partialFingerprints":{"codehealthFindingId/v1":"295bea340d93e548ec595e9e3edc9e7f177e25088963ad93e4c1e2b4729e4566"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":6253}}}],"partialFingerprints":{"codehealthFindingId/v1":"270bdee97a9bdd8de9dd329efb0dca59cf46317823361152374a1946c04e9758"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/agent-os.ts"},"region":{"startLine":6481}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d965f803533d82771c95257e7c54e8a400cae63c1b70607025ca801244fb79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3919791b1f22d30edffb890ba0e93de03d4be93cdf518a5aa49278223cddbf20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73adcd5b13cebf0bc2898355264d398cd80628c1d5c42eb9992860940b2ad53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa574bf89d650b3b46f3f3b2dd712a129ee503e397302315f190f5fde868d4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ee57ca92b2a1f390ddb2089869132944bc5b886edca41090c97d8ff17de284"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7459ac8131eccb513720d54af0bc1dda62171b65fac1cd468111574d09f89341"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d646333b1cfe1ca731ae3d7be7abba0e60d6ea2aa1cdaf58a81339f7046613"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/cargo.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0027bfd23e7f69a506f1b86363fe9f117cc1c77ae07238ab0f420b1077099d6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a5bcd84fed1f15163cd430aab3688276b979b16d091d29d4cf785795bd4e3f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d375fd53939068dd0b05fa6acdebffe64cd390fda84413bdda27bb2fb83a288d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f4aa485859b32f3a87f3e5320d8bbcc9130efa73c61d8c91a42c8a145602b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea3fc270348652c1a3538174bf99fdc24b8992ce70fe4526f60d124a61693e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa3d71b1ccb3acc134b60e5fed135c2dbf0e66f6c0d4c67d15632c2da1ede69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc56742a626668f28f9bfb5f0a0794748b4896a8da22b4db325ffbf4fdea2bc3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/sidecar/rpc-client.ts"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0c2c979d244fab261da561a7a30b9651095500fa1fec3c5d6f1e4a3dd77796"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/cron/cron-manager.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c1a0480b0a3e3a01df1bc63be460a1c0c68cbb1c483ed5af1d933d3ba73361"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/cron/timer-driver.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"30008e7a082b06642e800a9bed9dec45c26f72ee0967efa1b9798eb36a58f7c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/scripts/build-base-filesystem.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae067c2951e6bd9dd5b387b8d6e80bb1cdfd248676a2cacf113d7ffeedbe83f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/abort.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f3b691bb6a57d017cbb801a8ce0f70a1df89b7b76a6a431a9af742304b164"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/abort.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a3a80f93f595c5f45d86687ef7dba5701da02ef64661d232c604f4199edbb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/abort.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5193ee2cf6af64d629f414f969d1af72cf1fd73cfead78aab35e9b94c25b74"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/polyfills/abort.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e400e0c5212b198e6ac3c7c0cd84e98f564089f316499d93255b2d2da42e48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/active-handles.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447788c66599c17b38d76ffe74c6eba2d02f757096843ddd4465a2d691dff37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aa949476c4fe08ee8eed9a1c53d5a29522ec1778592db7756069802dcdef5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"af12e58a060ba919c8bc2b0d78b165c398f891d02cc86527fb0e3fa5118919d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fdf8dfcba6e3bf9bc9e64b7d9eaea3efbc586a27248d38ada334eae8662292"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/child-process.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea9f547b54c7bee147777f8ac3328b661b457789642ce4718106943034793f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/console.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd26d55ebb1ad6e0f12dcd3091a3c9c5a28cf57c83a959863b34d31834dfba69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/crypto.ts"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d83525e64aff78ee766597b3c25cf967596d847495bf209619637dd86d90837"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e5361c9cc423fa6a9ede341d05329ee80055e3597e569a67b708e69afdac04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed720b06230540f65acf4b4d61fdd6e295c14ea15f6784ca0079e2443d91fa6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6e478897379ed6dd834f577c8d72425e94daa88fe1aff4260f413d189170fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0df3f08be99db5887a65feab0cbb48dba224059c07d6e93a35af152c116f96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55e69186e66892bb0da83a4b034762a742cefb362c0fd80ad68538f73d40eb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbbb590bb6eaeaa22ffa6203489b9c0d0a60783178a7f50f3532916dc2d330e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76549814462ed978310eaedee2f7a65c1a33419ac782243788b9d138c570714"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e899d011879654dea85d5b703d4bd9ed988ec7edfe1e7c3780a522aeb54e00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cdb7c595ec03dba6d6217f89f660959010931fb19961dd770589dbf44b5ecf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fabe0a29fcb3948fff37f4eb4b999c0085fefd8b7bc317c223e5f1fbd0cf2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c561f6a2a7d0bc2d3a84d89296a5794f336b5db51e84e3f249faf2ea0c25e3c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3184299018b5b14dd6d53b1de996dbf07476598386fe5bb7b84582fc250d9623"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/dns.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa869b16fbfd9637a9cb8e282cae0757fb97bfde205da6fbd9c29b42897f7fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82d54a2dc31bed52f8b976b899268defe65514cde812300cc895cad25170fd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8daa4b78950b189525c94f109c4ca57dabba2b78a0e10269c92d2720b04c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4ecdfef58db8d8a3b3657078b0f147f20e2a879c238fcdab03461826c3a52a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a3a722e9dba5f64376cf5a167415237011d74d7b8332436edcfe09a3b2158c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/fs.ts"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e085d256177f790716d7ae71db6aef2b1fa178cb50aef3658ffb507da36c45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b7f39973d6db04de900245c4d068c3de22a16bacea2b00fc014aad0d3c63de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fe38aa7456f212e212df69a1c09426b0fa84272a5793cc9cf435496378b768"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cc0ab6f9291b08f64fed6b7cf1ec037167ef59fdc09476ddd9aea08ba256e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194b0d5fc4ff7cd1b9a28ef74166a5b7ce8951e4dd4f7e662195e5f54068284"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/net.ts"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a48cf2a0bde869391d574ae647ac558f18926df84205db731bbc0206c8bbb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67bd947c4ab7863be75d9c4b7a4ff4aceb5177675949525fea092b94cccf890"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"89532cd483b6322610149ab56d96a3d08a467283e6045d1893c334983578b602"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/process.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9f7431bd8ad5987bad83bdca2f443debe57435850521dfa5529b913e08cf57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/sqlite.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669f1090cfec5f27876ce536c8c3c93387199462e8e85875c58b510c36d1362"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c32613bbf21394ed925f8b2cab820ffb9ee94cd2f19c7ac9d63e3f7f78f3b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0db19e3fab6309b4531e0e816311a2241919e7f95c6d1f1253d7cd696278e60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/build-tools/bridge-src/builtins/stdin.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b55b84f50900d1b2a097ec958661f5ea56dd997e990dce01e0fd00df0aa89a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/agentos-toolchain/src/aospkg.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b462e1bba0af6c039e8c5af301e56e8f5fd64b9d89ae83e75dc1124b3c69ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d5e3da04ce637aade3de34f7dd9656c8ba24cf98296c23cc5ce322577a2d7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89954ccb606874532b96c519d31efbd59d0e40eb91fdb9ded9f1a8a350ff96c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff91903ea1ede0f38c751ed810c9cb15c052c713c424d1ce0ce6160f9f2e100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"edda2505b01123272248b41ae0f4fdd81e37de3d35987c1dd14c71e9d847bbd7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a063c591248831ef8ab5d2eb9b7aa079e74d27377c03aca6609f0928f9db8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ded992aa3f65f98aa56cd4cc226aa17860679e4eb47845bcd5b5072bdc2293"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7ba7fe5e4b7b00174ae860ff9538b8d35a7d64774c27135200eedce8ae1623"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/python-runner.mjs"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9203126a01fda185a8259cd66b976a551a72aaab5da6e50a67b4df60e64ff7ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cf5eeb2d8b22afceced2ea83299277a0a7228fb481ca189b7e6068c95d4bfc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6114bb963e33ed06ffb6f76fd3ffe217858b3da47949ab40113041b140a037b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1946cdb49668a773235960d975e807e18501b35c6f889acfa3fa1f30121c5749"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"adebef9bec6bd6a5cc0ebb6c42757f3551ea375482d91f66be341963ca13e050"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6c7b6a2bdb3b8688304989deafa3265e949b70c8f9ae2df259d49bb709eccf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1be13decf449cbc7004aa0d0d28f7f02da5a394c5e9ea3fe55d634e6e385ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b33422e2ff452148792b03a75725c599c06f3e8f9062bf3d762e4eac9a0cda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dac4adb057054d4408fdc56a7ebe17f55774322adeb84b782904c2fe3f07f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8da6feb6fd98af96863e7c7e5df4465ada9770f37d2b34c442c037c31aa4a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0de819b2f83641aefb3cbce39db87f9fb9c3c49ccafc93e1ce36a2537b5048a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"edace445b36ff0cc49aa50398d4134c4a55766044bbad9f5ca34375564ecd4ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"055edc86c6d73cf40ec5889b956d77010cf7781b1c5324f5ed4402c3fffc608c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":4012}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc869637fbc15540cf202ce9621645ddccdffa38ea0abd0f9c00fd6af4d62600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5398 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/service.rs"},"region":{"startLine":5398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4a5ae1167e6b150e7001c0a7caabbd9c2e004a6b99b1f157503f8e5ce394d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3687 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/native-sidecar/src/stdio.rs"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e26041b50253f146c87fd9632de32c29740d9eb42f2b148c9877a5afb97795"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 98/99 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) reduce the strict null checking score: ~0.3 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 32 assertion(s) across the 100133 source line(s) of the 286 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: packages/core/src/runtime-compat.ts (12), packages/core/src/agent-os.ts (5), packages/runtime-core/src/kernel-proxy.ts (5). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edb251d0f8dd1deb75ff6fa12d145c3d5c948a70b0aaf8da052107c857335979"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060compact_json\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022\u003Cinvalid json\u003E\u0022)\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":"crates/client/src/agent_os.rs"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac80a92fda437e8b3de24529cf1e758537ba6780bbe4afff02e7f1b53b4199f4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060build_python_runner_bootstrap\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022\\\u0022\\\u0022\u0022)\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":"crates/execution/src/python.rs"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf146ac8b66196010c8c9cdfcf6f30b7353f1eea7a80ecae52bd3e66c06f9b0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060file_fingerprint\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022missing\u0022)\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":"crates/execution/src/runtime_support.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c7c00ac4052e62d911e271130b4c05d7af84e0d78b5763e721bd3d55b310f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060wasm_warmup_metrics_emit_source\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022\\\u0022\\\u0022\u0022)\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":"crates/execution/src/wasm.rs"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"a246547fd38d41bad6ea8c848cd72bf8580687a3859d9fc7b8aa260178b57e02"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060encode_wasm_guest_path_mappings\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022[]\u0022)\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":"crates/execution/src/wasm.rs"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e2593f8936265a6fd3f7d20019ae9cbe65cec130d6a3e0503f886a193982d1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060http2_error_payload\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022{\\\u0022name\\\u0022:\\\u0022Error\\\u0022,\\\u0022code\\\u0022:\\\u0022ERR_HTTP2_ERROR\\\u0022,\\\u0022message\\\u0022:\\\u0022HTTP/2 bridge error\\\u0022}\u0022)\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":"crates/native-sidecar/src/execution/network/http2.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c8bb4c1b1357be5a0bdb32820ce617b6302a13ab91ab9843733b1af2c32038"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060pending_guest_timer_count\u0060 turns every \u0060Err\u0060 into \u00600\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":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3935}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c27689225b4a1f3d4a815eebb1cf9f39d1d18956dc43247c4f71eca5a4be3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060pending_guest_immediate_count\u0060 turns every \u0060Err\u0060 into \u00600\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":"crates/v8-runtime/src/session.rs"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d2f6ff8f446b9b9b825918aff3348b8f88d5ef8d26bed26869f444de4153a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060next_char\u0060 turns every \u0060Err\u0060 into \u0060b\u0027\\0\u0027\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":"toolchain/stubs/uucore/src/lib/features/format/argument.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e8742a67f7900982bfbadeb258ab73357aecb094c783bd7b2f78abadc16c8a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060mount_dev_id\u0060 turns every \u0060Err\u0060 into \u0060String::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":"toolchain/stubs/uucore/src/lib/features/fsext.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c71f0a500a88cfb08d4da7a52ae51fa7b354ae9889744cb56c3d803c8cf238"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_mappedPathExists\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0311fa4926c6b03fb6e27b6ba7a0a91bd430920a81653267934f8672a58e2d8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_createParentExists\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasi-module.js"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e48301e70b22f567d5bd83f531671c759f31cf5ae0da3c8b839c2858037d3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseGuestPathMappings\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":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45b62ccae2a4ee1c686b16d4336fb0ac656f4cd78ec9364fa04436f645b4c88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolvedGuestPathIsReadOnly\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/execution/assets/runners/wasm-runner.mjs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"247f189ce6350eae19d0fddc31dafdccbc2d81f6a82f1fce610f1811eaa4fddb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseHttp2Headers\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/build-tools/bridge-src/builtins/http2.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"32590496db07b5d50634a0a8855a57af7b62617e4ebfb6b45f3cb603e4035d7c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060latestMtimeMs\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/runtime-compat.ts"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfec18b540ed12d945411c4896d92d2de29395e601040b59c91fd9aae2d3d91"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readMemInfo\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/runtime-benchmarks/bench-utils.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc8670ba526d9d1ab27eb994a95d1ad465f1d2cac52a93cfb31fd0c609f7083"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readRssBytes\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-benchmarks/src/lib/memory.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6a7ccf08e1cf75b16d303277b1e14942acd374ad9bd59b0aac9cf06de20e06"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLifecycleTraces\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/runtime-benchmarks/src/focused/process-spawn.bench.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52207bb4ef1b3b21c933aa751aeb4ea12db06ab0fef53b147a0a29831aec5e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readSidecarExecutePhases\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/runtime-benchmarks/src/focused/process-spawn.bench.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac27363dbee6662e36b6f62255b03049b0c4e6cb640b0df19834010a0f47848"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parse\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-browser/src/converged-execution-host-bridge.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1c7bbc6db27a9e0f8845967113fd1aa68ea7ed676bee0c7fbd00646a0fe4d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060destIsPopulated\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/scripts/copy-wasm-commands.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbbd762f6aaa3a25496e7572b261ff3564fc750c13b370298f6938d4a6a6eba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060latestMtimeMs\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/runtime-core/src/test-runtime.ts"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"de878394610b3a9e56f82bf89b8d99b137a08f56769ef9a252f0b88e7df963b2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pidRssBytes\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmarks/memory.bench.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce3e8c8d7bde6136d1a08ebff12b84fda7252b04cc987720378e29e88be6a16"}}],"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-134","guid":"f92eb270-a113-5050-a4e8-7173e51af580","name":"CWE-134","shortDescription":{"text":"CWE-134"},"helpUri":"https://cwe.mitre.org/data/definitions/134.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-404","guid":"9801ed28-2f96-1759-b6f7-86db23c49513","name":"CWE-404","shortDescription":{"text":"CWE-404"},"helpUri":"https://cwe.mitre.org/data/definitions/404.html"},{"id":"CWE-415","guid":"5d94f4b3-d3aa-0c5c-a4f9-897bc66edcd7","name":"CWE-415","shortDescription":{"text":"CWE-415"},"helpUri":"https://cwe.mitre.org/data/definitions/415.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-676","guid":"550e6fab-2881-3252-8a05-c688a6b19c14","name":"Use of Potentially Dangerous Function","shortDescription":{"text":"Use of Potentially Dangerous Function"},"helpUri":"https://cwe.mitre.org/data/definitions/676.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":219,"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."]}]}