{"$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":"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":"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"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":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_workspace::namespace::holder::handle_supervisor_command (cyclomatic 38): sandbox_runtime_workspace::namespace::holder::handle_supervisor_command 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/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"826c6206c0ce2ab2939cde5ba879a8aed40e0a0d959082471c308abe4bc7562c"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_daemon::rpc::lifecycle::serve_listeners (cyclomatic 27): sandbox_daemon::rpc::lifecycle::serve_listeners 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/sandbox-daemon/src/rpc/lifecycle.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef70a46e5d694f39daea6878858623d453f7d35b9859e1da40665f75289725e"}},{"ruleId":"D1","level":"warning","message":{"text":"xtask::operation_architecture::source_boundaries::module_aliases (cyclomatic 24): xtask::operation_architecture::source_boundaries::module_aliases 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":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a52134be7adfe5ca1df45a1b396a2a203044ddab292869a97b10cd59313b9b6"}},{"ruleId":"D1","level":"warning","message":{"text":"xtask::operation_architecture::stale::decode_quoted_literal (cyclomatic 23): xtask::operation_architecture::stale::decode_quoted_literal has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f843ddd0806ce5a2ef6c1f1dafce5a2f89f8470a4afb86741f6e3ca04e2aa652"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_operation_contract::document::validate_catalog (cyclomatic 22): sandbox_operation_contract::document::validate_catalog 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/sandbox-operations/contract/src/document.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f9e64db01072a502f83273fea894261324c918fe2c96943800643373f3e80"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::merge::three_way_merge (cyclomatic 22): sandbox_runtime_layerstack::stack::publish::merge::three_way_merge 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/sandbox-runtime/layerstack/src/stack/publish/merge.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d45a01fc465146bded547c4c0f40d51607d9cbb5b22d0822346e12c823ddcd"}},{"ruleId":"D1","level":"warning","message":{"text":"xtask::operation_architecture::stale::validate_projection_ownership (cyclomatic 22): xtask::operation_architecture::stale::validate_projection_ownership 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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c43186e0359a5485ca4408e816b20a77ebf4f68b3741ddbfa4005e58c86eaa2"}},{"ruleId":"D1","level":"warning","message":{"text":"xtask::operation_architecture::feature_gates::source_items (cyclomatic 21): xtask::operation_architecture::feature_gates::source_items 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":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"74178ac14db7114a76f833be82a7e9ed00b5f3a76d188275c1e7ce5dbfda9cd1"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_namespace_process::runner::setns::remount_overlay::staged_switch (cyclomatic 19): sandbox_runtime_namespace_process::runner::setns::remount_overlay::staged_switch 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/sandbox-runtime/namespace-process/src/runner/setns/remount_overlay.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeec52c3de2cc7af64b584dbedf3527f89d83e625dd505b5086b994a30c4620"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::merge::diff (cyclomatic 18): sandbox_runtime_layerstack::stack::publish::merge::diff 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/sandbox-runtime/layerstack/src/stack/publish/merge.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4936269dba46cdf50c6829ce1242b98c3d615d8438b6c2cc3e4abc5a5abd62c1"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceSessionService::shutdown_session (cyclomatic 18): WorkspaceSessionService::shutdown_session 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/sandbox-runtime/operation/src/workspace_session/service/impls/shutdown.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f94f2028784c76a378de9fc3244af7b68e45513f0150b602d9cf0bb21586cb"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceProcessTopology::collect_with_readers (cyclomatic 17): WorkspaceProcessTopology::collect_with_readers 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/sandbox-observability/telemetry/src/collect/process_topology.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6576ca08716a166ef79f2d5f1fb48665931f144745af59c48f4365786b3618"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::projection::collect_candidate_descendants (cyclomatic 17): sandbox_runtime_layerstack::stack::projection::collect_candidate_descendants 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/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"934c0a7b5befba39fd12b6945de33ab5fde483fdf8f7ab70460c47768b261743"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_workspace::namespace::holder::poll_holder_record (cyclomatic 17): sandbox_runtime_workspace::namespace::holder::poll_holder_record 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/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d963077dab79ba792bfb594f955aaa259ffca110ca0e6feeb01bdbc49ec0fa57"}},{"ruleId":"D1","level":"warning","message":{"text":"xtask::operation_architecture::feature_gates::validate_source (cyclomatic 17): xtask::operation_architecture::feature_gates::validate_source 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":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c73a330d45ba90296093b1bc10c5ec8e35281cabaa8918db629cb40ef2cfea"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::projection::collect_dir_level (cyclomatic 16): sandbox_runtime_layerstack::stack::projection::collect_dir_level 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/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ff22a4350625d115c80b44d57b4fa3b4d47e6105f7167c03662cc1833d8f40"}},{"ruleId":"D1","level":"warning","message":{"text":"xtask::operation_architecture::stale::rust_syntax_tokens (cyclomatic 16): xtask::operation_architecture::stale::rust_syntax_tokens 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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8a29710b20ae8fedd46cb65eb1def9465254b75cfe75f4a49c82bc5e577ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_workspace::namespace::holder::handle_supervisor_command (cognitive 67): sandbox_runtime_workspace::namespace::holder::handle_supervisor_command has cognitive complexity 67 (threshold 15). Drivers by points: if/else 21 (45 pts), match/switch 8 (20 pts), boolean chains 2 (nesting depth added 36). 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/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c27c598ec617200edff8eac65cd32cbe9f855330d8099ee65d3f28998fb19f0"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::source_boundaries::module_aliases (cognitive 65): xtask::operation_architecture::source_boundaries::module_aliases has cognitive complexity 65 (threshold 15). Drivers by points: if/else 14 (49 pts), loops 6 (13 pts), boolean chains 3 (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":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"263ce84b9f7cdb1bdb7697983369db58b1fbdbe9bffb90917f634cce47065302"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::validate_projection_ownership (cognitive 57): xtask::operation_architecture::stale::validate_projection_ownership has cognitive complexity 57 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 8 (25 pts), boolean chains 4 (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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f194fb86a844d860134f2b8943a5f514ba1e0c1bb100a6b06b1a9210480fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::merge::three_way_merge (cognitive 48): sandbox_runtime_layerstack::stack::publish::merge::three_way_merge has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 4 (13 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b0c4c2e33ce9d227775e25cae02c8829d0fcf3a9dbb7581d849b1c987a974a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSessionService::shutdown_session (cognitive 42): WorkspaceSessionService::shutdown_session has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (34 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/shutdown.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"507971caa331c1dc01324ceddd064973bbc5ec436ec0351d651eb5b21ebe13c6"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_daemon::rpc::lifecycle::serve_listeners (cognitive 36): sandbox_daemon::rpc::lifecycle::serve_listeners has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 8 (12 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/lifecycle.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47fbdb6d5237693dbf838c121163f20c74dadb6599169613b3bb081e40b8d67"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::rust_syntax_tokens (cognitive 34): xtask::operation_architecture::stale::rust_syntax_tokens has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afd149f2830c5cd6b972cbee4bb0b5bf620248da2e54d9f654c128ee289535d"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::projection::collect_candidate_descendants (cognitive 33): sandbox_runtime_layerstack::stack::projection::collect_candidate_descendants has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 1, loops 1, match/switch 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/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"92209c0e5772dafd73909d906a7073ac9a2e922cf0c9ae3d2c04021c7de0dbe8"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_operation_contract::document::validate_catalog (cognitive 32): sandbox_operation_contract::document::validate_catalog has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 7 (8 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-operations/contract/src/document.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b4582e9c9eee8aacaaa687e6a7776776c8b999873b4290f58b1fb8c43a61f3"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::feature_gates::tokenize (cognitive 29): xtask::operation_architecture::feature_gates::tokenize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 2 (4 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":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"434ddc341b340b5edbcaea797092cf0bb8345d48a238cdb5886a37ff5c6c4335"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::rust_string_literal_count (cognitive 29): xtask::operation_architecture::stale::rust_string_literal_count has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (28 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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"57121230820981a23589a7bcbfe7c0c7070320d80da8b07f322b3d863bb29581"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::merge::diff (cognitive 28): sandbox_runtime_layerstack::stack::publish::merge::diff has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 5 (10 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c15c6d60b8b138d62abfeb7facbb03673964f500703b9e15523e187703c9c0"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::semantic::load_semantic_facts (cognitive 28): xtask::operation_architecture::semantic::load_semantic_facts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 6 (12 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":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"64efe2f25fedfe706b1479f912633e78fb7bfe5363cf393ee609d6804518dd6e"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_observability_telemetry::collect::disk::sample_upperdir (cognitive 27): sandbox_observability_telemetry::collect::disk::sample_upperdir has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 3 (9 pts), loops 2 (4 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/sandbox-observability/telemetry/src/collect/disk.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"17caa57db39c4e36bb270b06636c583d7cb4609a117d217034092ce0fdf9084e"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::semantic::load_internal_routes (cognitive 27): xtask::operation_architecture::semantic::load_internal_routes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a8d479622ca524383daeb155d56dd9b4fdf4d2446bca4aa18f8a692f47e91e"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::validate_stale_facts (cognitive 26): xtask::operation_architecture::stale::validate_stale_facts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (9 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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b7ba7e386e186e29757e3433a797834f29acd60832900e164a6005b6c5554e"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_cli::projection::document::validate_arguments (cognitive 25): sandbox_cli::projection::document::validate_arguments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/projection/document.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"893d20b7d59d843b2158b1e19b4c3da47656e89af4965b0aac74be587335dc9c"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::feature_gates::source_items (cognitive 25): xtask::operation_architecture::feature_gates::source_items has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 6, 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":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7144288d65d9ea08546ddbad910b5fd101ce911fa7de52c07427a55035c66ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::decode_quoted_literal (cognitive 25): xtask::operation_architecture::stale::decode_quoted_literal has cognitive complexity 25 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (8 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25b9260ed3409336c5a1463c1368360b424c8e532d3c444ea3cec7e5163a9a0"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::source_boundaries::crate_aliases (cognitive 24): xtask::operation_architecture::source_boundaries::crate_aliases has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 5 (9 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":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f592dfae09a2ec3c93e8fce075c1f5d68a1ebb1eb06922d837bfb1434e3711"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_namespace_execution::quiesce::poll_all_stopped (cognitive 23): sandbox_runtime_namespace_execution::quiesce::poll_all_stopped has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), match/switch 1 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/quiesce.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b33aca325b7c51a85ebc21fec72402d9a1cb4f8d557bc8630a1df986ab939d1"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::semantic_spellings (cognitive 23): xtask::operation_architecture::stale::semantic_spellings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, 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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6432c19348642fdf40c7111c7034a936eccc0c91a9bf195c7b15a962fa898d"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::projection::collect_dir_level (cognitive 22): sandbox_runtime_layerstack::stack::projection::collect_dir_level has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1, loops 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/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d288a7265d13d2b0f9230b4d3b7aaa179d8f40f453828628a17fee7a9c4ea82b"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceProcessTopology::collect_with_readers (cognitive 21): WorkspaceProcessTopology::collect_with_readers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (5 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/collect/process_topology.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30d5ae695f3b595167f8fcaf4bc6d96f62b7bf57db81f926ee52a9fcc2d2055"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_observability_telemetry::lines::for_each_complete_line (cognitive 21): sandbox_observability_telemetry::lines::for_each_complete_line has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/lines.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"01053434eb573dce82f0e98f3740e0c9cbec78906deb8f183befbedded382a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::squash::flatten::linux::collect_winners (cognitive 21): sandbox_runtime_layerstack::stack::squash::flatten::linux::collect_winners has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (5 pts), match/switch 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/squash/flatten.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ad6cc5c3d533eae0e0b342e380407ede101c5cd8b127e6c282037ad61e30c"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_namespace_execution::quiesce::discover (cognitive 21): sandbox_runtime_namespace_execution::quiesce::discover has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/quiesce.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"700df41deff22d378f3283c814ee7e2507bdd55155cf774baf05c32d2bb0b122"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_manager::management::service::impls::export_changes::page_stream (cognitive 20): sandbox_manager::management::service::impls::export_changes::page_stream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/management/service/impls/export_changes.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a3f258a386d29e4156ab7b86286db79ff322b67da11852dfa2b972e12fcace"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader::resource_samples (cognitive 20): Reader::resource_samples has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7a128c9f8b81a72aaa8d4ea9b71bf2f2cdee18f38db0b20851aa07d7196e42"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_observability_telemetry::collect::layerstack::walk_usage (cognitive 20): sandbox_observability_telemetry::collect::layerstack::walk_usage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (7 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/sandbox-observability/telemetry/src/collect/layerstack.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5812990ba4dfede2fca737a8db8470ac95ad49805acb409805a9c5bd53b58b87"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_workspace::namespace::holder::poll_holder_record (cognitive 20): sandbox_runtime_workspace::namespace::holder::poll_holder_record has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 5 (8 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1087f1d45a9d35c63e14b0fdac36a203e70e4fc7caeee2077278e03505790e02"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::feature_gates::validate_source (cognitive 20): xtask::operation_architecture::feature_gates::validate_source has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df10a8ccca3a9a991a8538c413f24005802723d129a8bc143cde2fe8dc651b7"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::resolve::resolve_source_conflicts (cognitive 19): sandbox_runtime_layerstack::stack::publish::resolve::resolve_source_conflicts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, 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/sandbox-runtime/layerstack/src/stack/publish/resolve.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e881776edc1e97b4b742cbc16dddc358e1863f1be1199d8f028efd489c407edd"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::stale::validate_tree (cognitive 19): xtask::operation_architecture::stale::validate_tree has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 4 (8 pts), match/switch 2 (nesting depth added 7). 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":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad7cfcf99253a048e12e43ad6dddbb5612f996a7da441bebb4735bd9e35bcc3"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::resolve::validate_structural_source_conflicts (cognitive 18): sandbox_runtime_layerstack::stack::publish::resolve::validate_structural_source_conflicts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/publish/resolve.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4195bada5014c5c9dbd5ad14d543ed833f05076b80a19f516db674f5334adc8"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::semantic::load_runtime_handlers (cognitive 18): xtask::operation_architecture::semantic::load_runtime_handlers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (7 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":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48da941784e1acd72c6af287e221ad9ae58e0651fa0808abf68fa5a6fbffca7"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::source_boundaries::validate_observability_boundary (cognitive 18): xtask::operation_architecture::source_boundaries::validate_observability_boundary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 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":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e58f33c835bd09526589a4b6ce7934bbc86b5227a434f5559175d61bf7f5a10"}},{"ruleId":"D2","level":"warning","message":{"text":"MergedView::read_classified (cognitive 17): MergedView::read_classified has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f86075200346460a1680a64735d4fbcf360e2bebbac87258413704bdc07cc17"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::projection::delta::fold_layer (cognitive 17): sandbox_runtime_layerstack::stack::projection::delta::fold_layer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (4 pts), loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/projection/delta.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49952d20cf4470952002c49e3720a45e0c1c8e28a0dada074539ba63a93b295"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_namespace_process::runner::setns::remount_overlay::staged_switch (cognitive 17): sandbox_runtime_namespace_process::runner::setns::remount_overlay::staged_switch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, match/switch 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/setns/remount_overlay.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"571eb3f7a7cf17c99ba6313df6ea46d66d8a1d1094794a7ddeafdf0b85a94a79"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_workspace::namespace::holder::shutdown_holder_records (cognitive 17): sandbox_runtime_workspace::namespace::holder::shutdown_holder_records has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (4 pts), loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"b380f19f795eaf09d4c220d7a0aea2ab395978fb2eb5887dea58c901589ffa48"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::metadata::validate_dependency (cognitive 17): xtask::operation_architecture::metadata::validate_dependency has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/metadata.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f21a493f81636dd9276cf5af421100a8fe948aa0197b7deccb307294f924981"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::source_boundaries::validate_provider_boundary (cognitive 17): xtask::operation_architecture::source_boundaries::validate_provider_boundary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 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":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd071494b4aa5991e165180a2b923cefab5c76688acbb1ccdaff98754a332c9"}},{"ruleId":"D2","level":"warning","message":{"text":"RawLineArena::insert (cognitive 16): RawLineArena::insert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93c1a20053ed7a693eb18c9a1bd18b5984ccee5e720add43f173d77f21a43bb"}},{"ruleId":"D2","level":"warning","message":{"text":"MergedView::list_dir (cognitive 16): MergedView::list_dir has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (7 pts), if/else 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":"crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"423636d396372960b41d58171ac89c9e787799c6bbb4d93250e8e80833cc92d9"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_layerstack::stack::publish::plan::plan_opaque_dir (cognitive 16): sandbox_runtime_layerstack::stack::publish::plan::plan_opaque_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/publish/plan.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad203b07e6f801ad9fd2d343eeb629931cff8c1a9cc83d919315243944ee75c8"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_namespace_execution::supervisor::supervise_async (cognitive 16): sandbox_runtime_namespace_execution::supervisor::supervise_async has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/supervisor.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"337f351c2e5e1465b238529009502ba21e10715169da94ba5855e418126ab040"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_runtime_namespace_process::runner::setns::file_op::list_dir (cognitive 16): sandbox_runtime_namespace_process::runner::setns::file_op::list_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (5 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/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f3955b354c9fa7350eb0b90222dbfad2f660b136f1f8501c33318b5b6a0a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSessionService::reconcile_holder_exits (cognitive 16): WorkspaceSessionService::reconcile_holder_exits has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 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/sandbox-runtime/operation/src/workspace_session/service/impls/holder_exit.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a758a7231e1dda88ffabccd766e06f69e083f59c063a80b89e029fd82ef6103d"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::operation_architecture::metadata::package_fact (cognitive 16): xtask::operation_architecture::metadata::package_fact has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/metadata.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"430e829ca67c0f1eb08b6d0dae03bea52d7ed80148ab60b5a1d21f36aab4c7a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operation_architecture/stale.rs: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 47 free functions. The bar is 500 significant lines; this is 502 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930fe64c7cd7af3f6df85d804c046ed6bf6beaf7a323dcd3d99ff7a6f08b4574"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 992 significant 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 60 free functions. The bar is 500 significant lines; this is 492 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":"xtask/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56561eeef77ca62da16a3939c81ffeab8ff86effffd40cf95bff3eb7fa8592fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operation_architecture/semantic.rs: FileTooLong \u2014 990 significant 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 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":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3869a5179ef850b28cfa628130ed66e18a4f435b7073d1a5efe1c157ab4d9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xtask::operation_architecture::run_behavior_proofs: FunctionTooLong \u2014 xtask::operation_architecture::run_behavior_proofs runs 186 significant 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 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ef7286d814c55bed97ccb396545eb6c99e94c0a87095c75f3654a292289911"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operation_architecture/metadata.rs: FileTooLong \u2014 674 significant 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 174 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":"xtask/src/operation_architecture/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5d50047cd8b3d62cc54dab64cc70f5cac134cabcf9eb47e2148fea4accbbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xtask::operation_architecture::semantic::load_runtime_handlers: FunctionTooLong \u2014 xtask::operation_architecture::semantic::load_runtime_handlers 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":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cd3de2a7a04ef6e9b7779d90717d501f5b7f28d1cb4878376aadcac023ad13"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): xtask/src/main.rs:135-155 | xtask/src/main.rs:162-182 | xtask/src/main.rs:189-209 | xtask/src/main.rs:216-245 | xtask/src/main.rs:252-281 \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":"xtask/src/main.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b849ccc80d6b8035ae6adea5e19d3bac33346fb93783ba67a691c79e5ba2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): xtask/src/main.rs:365-408 | xtask/src/main.rs:410-449 | xtask/src/main.rs:451-492 | xtask/src/main.rs:494-542 | xtask/src/main.rs:544-591 \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":"xtask/src/main.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e6a5731fa93f7a27a11f97083a6084d3fe7965d1c510a292e5c8680ae8be65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:436-484 | crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:487-534 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e2b7dc848a59c5db8432238476651be14301c42431d8b26029634b7a146146"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): xtask/src/operation_architecture/semantic.rs:342-402 | xtask/src/operation_architecture/semantic.rs:564-618 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bbccd3686eae3fc38a8092f047c0c5d134c0238a1e5f3b6ed60616d1851dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/sandbox-cli/src/observability.rs:64-113 | crates/sandbox-cli/src/runtime.rs:82-154 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/observability.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"45583526985572ef4f6201fd00f408fa1e5715413dd005c99c6c639b3455201e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/sandbox-observability/telemetry/src/reader.rs:689-746 | crates/sandbox-observability/telemetry/src/reader.rs:771-811 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2f6a55181dd0c9d60f7697daf42f4e9cc87de9803e3cc671f8e52db014574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/sandbox-cli/src/input.rs:258-277 | crates/sandbox-operations/client/src/request.rs:207-231 \u2014 These two members are one piece of code written twice and then edited apart: 20 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/sandbox-cli/src/input.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d1465d98c438c0fa3d19139265e604eb989ac7dc3d8c48b90cae3d83c5fdba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): xtask/src/operation_architecture/feature_gates.rs:601-633 | xtask/src/operation_architecture/stale.rs:1158-1183 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"9927b0b768b42f7c1ea322ac49f1263cd4534ad115584b72d1213ea9c9ed2a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/sandbox-daemon/src/rpc/connection.rs:75-100 | crates/sandbox-gateway/src/gateway/connection.rs:98-129 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/connection.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a089f6b4536757cf63542b606dbac69065af0ada93e19fa4b3898dce3650bb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/sandbox-runtime/workspace/src/namespace/holder.rs:468-494 | crates/sandbox-runtime/workspace/src/namespace/holder.rs:499-527 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1b083b2be9793674ddc4e7c2fb7e187e7ccc1d7e8cc725aa8bfd00a149ffe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/sandbox-provider-docker/src/installer.rs:101-120 | crates/sandbox-provider-docker/src/installer.rs:127-146 \u2014 These two members are one piece of code written twice and then edited apart: 20 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/sandbox-provider-docker/src/installer.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b93e52cd12f62c11085e372bc2885f0b181a30776715c4f3eea37d6ca4bdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): xtask/src/operation_architecture/source_boundaries.rs:135-160 | xtask/src/operation_architecture/source_boundaries.rs:162-191 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3982ab839275ad0fca2683548bc7b41d10db2ae2df55cad7da869905f166e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/sandbox-cli/src/input.rs:283-300 | crates/sandbox-operations/client/src/request.rs:233-250 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/input.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"01247ba9575ab8949ef886333ad1c2ee7c72594ad03fa5bde927d730ba3ac96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/sandbox-manager/src/resource_ring.rs:95-112 | crates/sandbox-manager/src/resource_ring.rs:118-141 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/resource_ring.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cdabd6f4f2bbc05914a2f46b5f34bb0598905bcf9b56972bbd15d27654ab43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/sandbox-runtime/namespace-execution/src/engine.rs:175-194 | crates/sandbox-runtime/namespace-execution/src/engine.rs:204-223 | crates/sandbox-runtime/namespace-execution/src/engine.rs:235-254 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/engine.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e167089375906bff57551dd0c552d59534e49164be94ef728c7defd5bdd90214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/sandbox-runtime/workspace/src/service/impls/capture_changes.rs:15-34 | crates/sandbox-runtime/workspace/src/service/impls/capture_changes.rs:41-64 \u2014 These two members are one piece of code written twice and then edited apart: 20 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/sandbox-runtime/workspace/src/service/impls/capture_changes.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bb2616e55b637f8e776a1b01cdac92e2ed739c2262c76f62b74c27fe573461"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): xtask/src/operation_architecture/semantic.rs:987-1005 | xtask/src/operation_architecture/semantic.rs:1007-1020 | xtask/src/operation_architecture/semantic.rs:1022-1035 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a406e05b7e5c62248a40986b998f4bc3d2ce3a7558412d89fac28ee784a7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): xtask/src/operation_architecture/feature_gates.rs:364-385 | xtask/src/operation_architecture/feature_gates.rs:387-406 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff51208a050815cf7ad0dab45ae230afff6c48735d9c257d8716b71129f2a12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/sandbox-manager/src/export_apply.rs:618-632 | crates/sandbox-runtime/layerstack/src/stack/squash/flatten.rs:394-407 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/export_apply.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e299469e91a43b7593673de0ada768811d64d7075c25ef237302c7f23a051c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/sandbox-config/src/configs/gateway.rs:164-180 | crates/sandbox-operations/client/src/endpoint.rs:169-187 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-config/src/configs/gateway.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e036a63d8b34cb123cecb15612b948e6737c188e3e7e334f1f3391061e34106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:197-214 | crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:223-238 | crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:247-262 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/core.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e2ed00591ba4c6a78d73cd7e737470e819f12ede826898c31d4b1e87fc5f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): xtask/src/operation_architecture/semantic.rs:1238-1247 | xtask/src/operation_architecture/semantic.rs:1249-1271 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/semantic.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2c076ac3a25fc065987c9e975eba2ea021a86c5f3a9c826b4723b548b01986"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/sandbox-runtime/workspace/src/service.rs:271-286 | crates/sandbox-runtime/workspace/src/service.rs:294-309 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/service.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedf65a69c682ed093cd171e1c1281c0b721b0bed5d20fa352ac08bec3719332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs:196-216 | crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs:218-236 \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/sandbox-runtime/layerstack/src/stack/publish/merge.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"591ad869cd8a207ed4cf9c23cffa82acb413c130d7b7eed75f622fd58d945d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/sandbox-daemon/src/cgroup_setup.rs:320-327 | crates/sandbox-daemon/src/cgroup_setup.rs:329-336 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/cgroup_setup.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd56d8e8ca5803843cb837e300600a46cbe7b2ce778712174ab39922939e95c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/sandbox-runtime/layerstack/src/stack/projection/apply.rs:152-161 | crates/sandbox-runtime/layerstack/src/storage/fs.rs:54-67 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/projection/apply.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"575940539cb472ad8c411fa8363c0a71dbbb7dc64952532e471581901dec0352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/sandbox-daemon/src/observability/diagnostics.rs:635-644 | crates/sandbox-runtime/workspace/src/overlay/capture.rs:299-311 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/observability/diagnostics.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee510fc2f8a70174bf0c41d3104f5f96ccaf121c6e1b911e43f32946c925628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/sandbox-provider-docker/src/engine.rs:438-451 | crates/sandbox-provider-docker/src/engine.rs:650-657 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-provider-docker/src/engine.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4850532f718a9a24fe1497a1013a72420ea876752c8630844930d729ff723d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs:321-337 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/finalize_session.rs:164-178 \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/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb58a20fb198591cf8d3288cd0e52a8d3bb09c6fcf6635cb37a91d0994dddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/sandbox-manager/src/store.rs:110-120 | crates/sandbox-manager/src/store.rs:122-132 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/store.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a82d0877eae1c883de1a50b735eaede3ece5f1b7f53e00ac35c6fe7e8c57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): xtask/src/operation_architecture/stale.rs:189-196 | xtask/src/operation_architecture/stale.rs:724-731 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1e7c59ca1f126a599fc817e91f69df59b27de7023539e7b201ea03908235b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/sandbox-manager/src/store.rs:179-195 | crates/sandbox-manager/src/store.rs:217-227 | crates/sandbox-manager/src/store.rs:229-244 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/store.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"df626f4505099afaae93b7c1cff8c6ea117b88c3a0b436e6e8caef5beb97e6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/sandbox-observability/telemetry/src/reader.rs:848-862 | crates/sandbox-observability/telemetry/src/reader.rs:864-875 \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/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf0bd3b3cdddbc66197f91c8ac77a029d379aedafb4259883e0e7f8e17cd17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/sandbox-runtime/operation/src/operations/registry/command_operations.rs:218-238 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/finalize_session.rs:221-244 \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/sandbox-runtime/operation/src/operations/registry/command_operations.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"234de853adeebae5321d936f445a58fc6bb70ef12817b7d622eefeeb117f0d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/sandbox-runtime/namespace-execution/src/supervisor.rs:467-477 | crates/sandbox-runtime/namespace-execution/src/supervisor.rs:479-492 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/supervisor.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5170d1e82c7ce43ff3af370849137ff3147a0da353c3ece09f0cb4f198d83ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/sandbox-manager/src/router/dispatch.rs:42-53 | crates/sandbox-manager/src/router/dispatch.rs:77-88 \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/sandbox-manager/src/router/dispatch.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa2e31cf5ea7371150d2bf56a46b3e6eb3c22f7d200fd04ee74ab5fc87007d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): crates/sandbox-runtime/operation/src/operations/registry/file_operations.rs:73-86 | crates/sandbox-runtime/operation/src/operations/registry/file_operations.rs:91-104 | crates/sandbox-runtime/operation/src/operations/registry/file_operations.rs:109-122 | crates/sandbox-runtime/operation/src/operations/registry/file_operations.rs:127-140 | crates/sandbox-runtime/operation/src/operations/registry/workspace_session_operations.rs:57-69 | crates/sandbox-runtime/operation/src/operations/registry/workspace_session_operations.rs:74-86 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/operations/registry/file_operations.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e237b3ec8fb9556cbf238140b18f7b56940051d01d788d51df60cfdc51d2b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/sandbox-manager/src/operations/registry/management_operations.rs:130-139 | crates/sandbox-manager/src/operations/registry/management_operations.rs:144-153 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/operations/registry/management_operations.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e16b87d7d529959a3275b2c2329c3537a82cdb8d733beb97a4623079808d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/sandbox-observability/telemetry/src/sink.rs:271-281 | crates/sandbox-observability/telemetry/src/sink.rs:283-292 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/sink.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd83d688c46b83cbd48b7422ba4b5e4dac14186385dfb4c1af974843787c1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/sandbox-gateway/src/local_daemon_installer.rs:327-336 | crates/sandbox-runtime/namespace-process/src/holder/namespace.rs:126-133 | crates/sandbox-runtime/operation/src/layerstack/service/impls/export.rs:142-149 | crates/sandbox-runtime/operation/src/services.rs:474-484 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-gateway/src/local_daemon_installer.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c166dc59f6fc16a7d152a39978481e6a1b5ba3dab6bd951599631ecc8cb7bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/sandbox-runtime/operation/src/file/service/store.rs:41-59 | crates/sandbox-runtime/operation/src/operations/registry/file_operations.rs:288-302 \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/sandbox-runtime/operation/src/file/service/store.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4953ff393bed573d62958797be46d1f039f40994399f8e4204c72cf8a1cc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/sandbox-runtime/namespace-execution/src/launcher.rs:590-595 | crates/sandbox-runtime/namespace-execution/src/launcher.rs:597-602 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/launcher.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d896dd2aebc46cc14cf60989f0af4aea54f4aa79308df5977aaa9bef9332154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/sandbox-provider-docker/src/archive.rs:131-138 | crates/sandbox-provider-docker/src/archive.rs:148-155 | crates/sandbox-provider-docker/src/archive.rs:161-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-provider-docker/src/archive.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce456d23c29b5da88ff593a18f4336e89d1c5a0ef6a8081fa8dca57a683b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/sandbox-runtime/operation/src/workspace_session/service/impls/finalize_session.rs:256-274 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/publish_session.rs:227-242 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/finalize_session.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"813d84b191001c92ee58901b64a0095ac75f8a5d2fc00c721d9eeb32e26f8f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/sandbox-runtime/layerstack/src/stack/squash.rs:359-371 | crates/sandbox-runtime/operation/src/layerstack/service/impls/export.rs:275-287 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/squash.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"da382ff76cc5721dadb575a6f432ce7692262b1c4a5e5b772c324a8584871257"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): xtask/src/main.rs:859-870 | xtask/src/main.rs:872-883 \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":"xtask/src/main.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2d6140f7ffbae7797490e6788daa5efbac5f22b29ee76e7b4967ba1a003614"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/sandbox-runtime/workspace/src/service.rs:222-230 | crates/sandbox-runtime/workspace/src/service.rs:327-338 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/service.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3fb86defa07ba886905d918072c277ade6e7faaf5e92b33bd11e872bdc0821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/sandbox-manager/src/export_apply.rs:486-493 | crates/sandbox-runtime/layerstack/src/stack/squash/flatten.rs:431-443 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/export_apply.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e452072ef52f6eaaf38e0841c1e9141996793d6b589c8aae44958cb7880825"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/sandbox-provider-docker/src/archive.rs:118-124 | crates/sandbox-runtime/layerstack/src/stack/projection/emit_stream.rs:123-131 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-provider-docker/src/archive.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0081c2601ac5fe6cf6573b212ddb5c5a7ebe725b4e33adea9f1977967d89c97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/sandbox-runtime/operation/src/layerstack/service/impls/export.rs:51-60 | crates/sandbox-runtime/operation/src/layerstack/service/impls/squash.rs:27-36 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/layerstack/service/impls/export.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb34c34acab1b669c69845e47175b722fa8db0a723c1a0734a8ea2c2766fd22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/sandbox-manager/src/store.rs:134-138 | crates/sandbox-runtime/workspace/src/session/manager.rs:255-259 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/store.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6665fd511d9012e983af697fbfb98d9a6c61a8468f6894498ecf9ec797bf75b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/sandbox-daemon/src/observability/diagnostics.rs:624-633 | crates/sandbox-manager/src/management/service/impls/observability_snapshot.rs:242-251 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/observability/diagnostics.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4de5fbdcbb4ac248612ceff6cb8945c9cd602cad1eb04e7e62f7c0a68dfc021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs:274-282 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/publish_session.rs:159-167 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4488663e8dc242c2a818013b97ae8b5911e0c70330be8618ad3c439160f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs:142-150 | crates/sandbox-runtime/layerstack/src/stack/squash.rs:373-381 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e429e206edb6da67d1028e7e7401890309cec62029a80047a665ff947365b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/sandbox-runtime/namespace-process/src/gate.rs:166-173 | crates/sandbox-runtime/namespace-process/src/runner/setns/remount_overlay.rs:235-242 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/gate.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c5e3e9d3c378d18b5eda123dc66ca6bb77c09319aed07d91a94821b7693847"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/sandbox-runtime/layerstack/src/stack/dir_list.rs:61-65 | crates/sandbox-runtime/layerstack/src/stack/file_read.rs:60-65 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/dir_list.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b36b12ffc83a7c3d40bc97e854bb7e5368292df0a97f23180da8de04338b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/sandbox-runtime/operation/src/layerstack/service/impls/amend.rs:66-76 | crates/sandbox-runtime/operation/src/layerstack/service/impls/publish_changes.rs:85-95 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/layerstack/service/impls/amend.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e2d20271addfae967d38cbc392d6fa0ad7ce663b6f9e99fa3c82952e91e54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/sandbox-manager/src/export_apply.rs:495-502 | crates/sandbox-runtime/layerstack/src/stack/squash/flatten.rs:445-453 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/export_apply.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b38bfb6ecc1a096ca4a640267ac09f6d0a0db2d03432341b219447ad036100c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): crates/sandbox-daemon/src/serve.rs:479-482 | crates/sandbox-runtime/layerstack/src/workspace_base/layer.rs:346-349 | crates/sandbox-runtime/operation/src/services.rs:655-658 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/serve.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c446b5a9569e38817ad4948470b6ee7683ef68c46e7cf9eb845c81de57425e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs:434-437 | crates/sandbox-runtime/operation/src/layerstack/service/impls/read.rs:148-151 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"801ba69465f671e388ebf2a104b6cbc87ecc96246fad4345ab709187f31152ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/sandbox-runtime/namespace-execution/src/caps.rs:23-32 | crates/sandbox-runtime/operation/src/services.rs:778-786 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/caps.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c018bf3b0e2f31b37d4a3d8164e5488b2f0bd0d1bb9a963306b099ad147cb3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs:406-432 | crates/sandbox-runtime/operation/src/layerstack/service/impls/read.rs:120-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0d3805a7fa9d16d9f2ccf5ecfe1145e84e52fe4324714fdd5874dfe562b9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:461-484 | crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:511-534 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:461\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d60df1d17f56faaa4621623c64ca8b8e244313d8113f45932d033b4e2d9318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): xtask/src/operation_architecture/feature_gates.rs:610-633 | xtask/src/operation_architecture/stale.rs:1160-1183 \u2014 before extracting anything, compare \u0060xtask/src/operation_architecture/feature_gates.rs\u0060 and \u0060xtask/src/operation_architecture/stale.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/feature_gates.rs:610\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d746934ce09aee3173c935a0d1766699b3d2b13cabe5a8aebc586bcfafe33ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:437-459 | crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:488-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs:437\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/shell_security.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca41c6b741ea127a93b3b17aeb704642833751b15511251da357f9e9f3e21a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/sandbox-runtime/operation/src/operations/registry/command_operations.rs:220-237 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/finalize_session.rs:224-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/operation/src/operations/registry/command_operations.rs:220\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/operations/registry/command_operations.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0055848416e7af23807878efd8567e5aac145826cc28f6f74b081a98798699b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): xtask/src/main.rs:221-237 | xtask/src/main.rs:257-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/main.rs:221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad697bed1a2d4fed6e6dbc3502c38973b875241adcb1eb5b19138708af49f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/sandbox-cli/src/observability.rs:83-97 | crates/sandbox-cli/src/runtime.rs:108-122 \u2014 before extracting anything, compare \u0060crates/sandbox-cli/src/observability.rs\u0060 and \u0060crates/sandbox-cli/src/runtime.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-cli/src/observability.rs:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/observability.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"33080e1494513b59c8573fc125b1235323176a5a0bf6d49573cfcec587f5f23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/sandbox-manager/src/resource_ring.rs:98-112 | crates/sandbox-manager/src/resource_ring.rs:127-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-manager/src/resource_ring.rs:98\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/resource_ring.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2a5cda65b53a33f3ffd6b391531cf66b359d3194ca7124cba8ad4e77bd5604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): xtask/src/operation_architecture/feature_gates.rs:548-562 | xtask/src/operation_architecture/stale.rs:1116-1130 \u2014 before extracting anything, compare \u0060xtask/src/operation_architecture/feature_gates.rs\u0060 and \u0060xtask/src/operation_architecture/stale.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0588826294b7c4ee403b0e6dd53c9ed60b8edb382c045a39d4227b377a87be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/sandbox-cli/src/manager.rs:72-85 | crates/sandbox-cli/src/observability.rs:65-78 | crates/sandbox-cli/src/runtime.rs:83-96 \u2014 before extracting anything, compare \u0060crates/sandbox-cli/src/observability.rs\u0060 and \u0060crates/sandbox-cli/src/runtime.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/sandbox-cli/src/manager.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc6e534f89ac572ec8e6fbd63979838fd9e527c9784576216ac401d3d206189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/sandbox-cli/src/input.rs:284-298 | crates/sandbox-operations/client/src/request.rs:234-248 \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/sandbox-cli/src/input.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc70db964917c22320e4878b97e89480d038dc0fe0186f9602e275c4452af96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/sandbox-runtime/namespace-execution/src/engine.rs:211-223 | crates/sandbox-runtime/namespace-execution/src/engine.rs:242-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/namespace-execution/src/engine.rs:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/engine.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1bf72887aa982f2cdfe5fffa06f4141e619d72e12a325e1ca549cc28f715e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs:114-126 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs:147-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"af600bcc0ed275268e9672b53cef28612f652194bc4a1ebc2987a9ac2368b3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/sandbox-runtime/workspace/src/namespace/holder.rs:1040-1052 | crates/sandbox-runtime/workspace/src/namespace/holder.rs:1282-1294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/workspace/src/namespace/holder.rs:1040\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c5bbc3c9e94373cb045b3a228bd030bc0c563cdac5443961b8626754fab276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): xtask/src/main.rs:136-147 | xtask/src/main.rs:163-174 | xtask/src/main.rs:190-201 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/main.rs:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a414b4b09a3b78d703222f00a198c7aab676eb0dd8c24731e08703ad20e711b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/sandbox-runtime/operation/src/workspace_session/service/impls/admission.rs:101-112 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/publish_session.rs:39-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/operation/src/workspace_session/service/impls/admission.rs:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/admission.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"42027ca79e3074ef49b81b3d951581fe675faae662c3060f4cec35ada4b1f9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): xtask/src/operation_architecture/metadata.rs:797-808 | xtask/src/operation_architecture/metadata.rs:818-829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/metadata.rs:797\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/metadata.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cf500850f2145a8c507524fbc0c230722c005b6fb353759e5507d27cd0224d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): xtask/src/operation_architecture/stale.rs:761-772 | xtask/src/operation_architecture/stale.rs:905-916 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/stale.rs:761\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2f44f99e62c06861817d0835295ef489265bb064054813bfcba4a94ae39e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs:94-104 | crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs:105-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/publish/merge.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04997669ca131684c18a738a2e4799059aaddb77df7cea42e9b41c6f7171c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/sandbox-runtime/namespace-execution/src/engine.rs:179-189 | crates/sandbox-runtime/namespace-execution/src/engine.rs:208-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/namespace-execution/src/engine.rs:179\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/engine.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b7eb86f19e7aa1d4375b66aa484fe9c0950f47f0f2aa290f3796f142b104a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): xtask/src/main.rs:371-381 | xtask/src/main.rs:416-426 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaca57e49592fb26db872d3b198a2f27e2534188c56f783aba889dc0dc0636f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): xtask/src/operation_architecture/stale.rs:1133-1143 | xtask/src/operation_architecture/stale.rs:1146-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b9cfe919939b154b21d3c47ff827522e0741626682ee29d1df43e4ee904db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): xtask/src/main.rs:366-375 | xtask/src/main.rs:411-420 | xtask/src/main.rs:452-461 | xtask/src/main.rs:495-504 | xtask/src/main.rs:545-554 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/main.rs:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060\u0026InlineTestPolicyArgs\u0060 in one and \u0060\u0026CfgPolicyArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bce879d8eda0f671f5cd32e8ae795494d42298ecab9baed8fc14c2411fec72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/sandbox-runtime/layerstack/src/stack/layer/write.rs:79-88 | crates/sandbox-runtime/layerstack/src/stack/projection/apply.rs:170-179 | crates/sandbox-runtime/layerstack/src/workspace_base/layer.rs:413-422 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060target\u0060 to \u0060PathBuf\u0060 in one and \u0060\u0026Path\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/layer/write.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf02647fc334f9bbfbf529e5287f9f99ab900a7d82a99c78f8afaf88bf7260fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/sandbox-runtime/namespace-execution/src/engine.rs:181-190 | crates/sandbox-runtime/namespace-execution/src/engine.rs:210-219 | crates/sandbox-runtime/namespace-execution/src/engine.rs:241-250 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/namespace-execution/src/engine.rs:181\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/engine.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"41281186ca96d3c2d14120d5aa38be27b6e5dfa2ee0ffd505ecbf29d52e0a7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs:93-102 | crates/sandbox-runtime/layerstack/src/stack/mod.rs:106-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6b9cc98a1d24286c36cb394c0250728aea6ab363e1b3fcf52cbe5db30f864f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): xtask/src/operation_architecture/source_boundaries.rs:447-456 | xtask/src/operation_architecture/source_boundaries.rs:585-594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/source_boundaries.rs:447\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/source_boundaries.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d1677d0ade0a161a62ebba02f4a33b13c129308244df3b4451c66b133a8574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): xtask/src/operation_architecture/stale.rs:774-785 | xtask/src/operation_architecture/stale.rs:923-934 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/stale.rs:774\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"345dc6a836c003add7d795471b585597b7eeef8e7f2ba17e4236715d3a7ff7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:198-206 | crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:224-232 | crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:248-256 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/operation/src/workspace_session/service/core.rs:198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/core.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bb66c819dbbdbf9f0e984534f81b9fa92b6ba178ba9897a78c71d379919c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/sandbox-runtime/operation/src/workspace_session/service/impls/shutdown.rs:89-96 | crates/sandbox-runtime/operation/src/workspace_session/service/impls/shutdown.rs:142-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/operation/src/workspace_session/service/impls/shutdown.rs:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/shutdown.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1695e4bea91a7c500e9918d8e18e2bbbb223c251c0d52f05a49396756efcbe5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-daemon/src/http/api.rs:51-58 | crates/sandbox-daemon/src/rpc/dispatch.rs:69-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-daemon/src/http/api.rs:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/http/api.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d342d2e03100b6f947423131b338b992f45fe9d8710c5eb500cde726547f743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-daemon/src/rpc/dispatch.rs:60-67 | crates/sandbox-daemon/src/rpc/dispatch.rs:100-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/dispatch.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1df86116bc51df9509a5f71701ae4361edcaf11922d787676cac2f6b0b048cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): xtask/src/operation_architecture/feature_gates.rs:493-500 | xtask/src/operation_architecture/stale.rs:759-766 \u2014 before extracting anything, compare \u0060xtask/src/operation_architecture/feature_gates.rs\u0060 and \u0060xtask/src/operation_architecture/stale.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/feature_gates.rs:493\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6104315677d6b74cdd3b660142a7b89d55e91f18e3f5047a2b7f293f80dc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): xtask/src/main.rs:137-143 | xtask/src/main.rs:164-170 | xtask/src/main.rs:191-197 | xtask/src/main.rs:219-225 | xtask/src/main.rs:255-261 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/main.rs:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e42fab56a202e1de8173db03a34e6c5a218a21691e6066cb3456345545bc19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-observability/telemetry/src/observer.rs:298-305 | crates/sandbox-observability/telemetry/src/observer.rs:415-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-observability/telemetry/src/observer.rs:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/observer.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c07124dc89c5ecf07824ec85b50db571b7126e1f24b9e5a42b40a710eca29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-provider-docker/src/installer.rs:102-109 | crates/sandbox-provider-docker/src/installer.rs:128-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-provider-docker/src/installer.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-provider-docker/src/installer.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f0d7cf266f271cc9703aaebeff6c2f3a53f24b4524d9de5b562670e194d26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/sandbox-runtime/workspace/src/overlay/capture.rs:232-238 | crates/sandbox-runtime/workspace/src/overlay/tree.rs:45-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/workspace/src/overlay/tree.rs:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/overlay/capture.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"726ad40e4d427aa346f47372386af04d0acf7bbd73bee91e0b07d8d27307afb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): xtask/src/operation_architecture/metadata.rs:321-327 | xtask/src/operation_architecture/metadata.rs:335-341 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/operation_architecture/metadata.rs:321\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/metadata.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc9a255fd0d0e3981bfcd6684311e4f2a13823a503fc68caab087a38a8b2653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/sandbox-daemon/src/observability/diagnostics.rs:152-157 | crates/sandbox-daemon/src/observability/diagnostics.rs:313-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-daemon/src/observability/diagnostics.rs:313\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/observability/diagnostics.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad27bdc1e3dc10dfc5e5a364d837200b0dcdeb9d772e86f5ba4e4723f1121d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/sandbox-daemon/src/rpc/connection.rs:79-84 | crates/sandbox-gateway/src/gateway/connection.rs:102-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-daemon/src/rpc/connection.rs:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/connection.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0037accec58389247c231778afd3a3f048f14f20c3aeba3582a9d6e9d1538112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/sandbox-cli/src/manager.rs:55-59 | crates/sandbox-cli/src/observability.rs:48-52 | crates/sandbox-cli/src/runtime.rs:66-70 \u2014 before extracting anything, compare \u0060crates/sandbox-cli/src/observability.rs\u0060 and \u0060crates/sandbox-cli/src/runtime.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/sandbox-cli/src/manager.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc8e53bfc9831fdb91399da971034b6a34b493a85bcca13fcaf7102b8ad4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/sandbox-cli/src/manager.rs:174-180 | crates/sandbox-cli/src/observability.rs:118-124 | crates/sandbox-cli/src/runtime.rs:174-180 \u2014 before extracting anything, compare \u0060crates/sandbox-cli/src/observability.rs\u0060 and \u0060crates/sandbox-cli/src/runtime.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/sandbox-cli/src/manager.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3d7bae4b4a57157cea299bdd23f1ae8310582b35841cdac8a2a6e56166508f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-observability/query/src/response.rs:259-266 | crates/sandbox-observability/telemetry/src/lib.rs:32-39 \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/sandbox-observability/query/src/response.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa41812d705d25adda055b0eb27727f31a2db36f240027ef7c0f137a7fe981af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/sandbox-observability/telemetry/src/collect/disk.rs:110-115 | crates/sandbox-observability/telemetry/src/collect/layerstack.rs:210-215 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060amount\u0060 to \u0060Option\u003Ci64\u003E\u0060 in one and \u0060Option\u003Cu64\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/collect/disk.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bbedb93e546e09e672da8310df016e04529cef9214a94a003e6ab4cbf69173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-runtime/layerstack/src/stack/dir_list.rs:28-35 | crates/sandbox-runtime/operation/src/file/service/dto.rs:26-33 \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/sandbox-runtime/layerstack/src/stack/dir_list.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d1b000ae8ce879680d25cc58d984dcd22998ec05dabe55f4fe6789f4084ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs:131-138 | crates/sandbox-runtime/layerstack/src/stack/squash.rs:350-357 \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/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fd1830a382c978e8c95965ddfb9cf0ccc1957707455b0f0bbe1c0d724e815e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs:439-448 | crates/sandbox-runtime/operation/src/layerstack/service/impls/read.rs:153-162 \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/sandbox-runtime/namespace-process/src/runner/setns/file_op.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"b049ef15111d8afb64c62a3008f3a5b132375266874a8cb3aa5f57dd18828f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/sandbox-runtime/namespace-process/src/runner/shell_exec.rs:107-111 | crates/sandbox-runtime/namespace-process/src/runner/shell_exec/wait.rs:76-80 \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/sandbox-runtime/namespace-process/src/runner/shell_exec.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb810c40aaa29e60bebf6799b068c9af16793db9342f4aa9de286b75ec111c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): xtask/src/main.rs:512-529 | xtask/src/main.rs:561-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/main.rs:512\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060\u0026ModLibSizePolicyArgs\u0060 in one and \u0060\u0026CrateSourceSizePolicyArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a46c7ef729d695540dc96b92af1ab85b1e4149846e9e0aa228ef86616fb2465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): xtask/src/main.rs:433-447 | xtask/src/main.rs:473-488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/main.rs:433\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8290ea02f7e4fd20cd93505481d1ceb745d344ec0daf41040eb6e2ff8ebc4115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/sandbox-daemon/src/rpc/dispatch.rs:83-92 | crates/sandbox-daemon/src/rpc/dispatch.rs:121-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-daemon/src/rpc/dispatch.rs:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/dispatch.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71d128652b05bed8d6bfe0d2eed1ef38e8558206e4275f821fb5508b73af7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/sandbox-daemon/src/rpc/lifecycle.rs:198-202 | crates/sandbox-daemon/src/rpc/lifecycle.rs:210-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-daemon/src/rpc/lifecycle.rs:198\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/lifecycle.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7877342baca24ea59713e5fe05bcc0530d25e2a2ef5acc24af575e773ca786d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/sandbox-manager/src/resource_ring.rs:170-174 | crates/sandbox-manager/src/resource_ring.rs:255-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-manager/src/resource_ring.rs:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/resource_ring.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f442060834cbd2e2b194cae5c5da8fdb3b486dfdeba333b1bbe81fe14eb0a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs:113-120 | crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs:170-177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4c9abbdb7c4a035b71182a6e31249fcdfc7d7fc07e0f26eac42773c1df72df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs:337-343 | crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs:394-400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs:337\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ab1579400529ae51a2766afb86ceb2f82802bb330d5f4aadeea81b32101d52"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project sandbox-runtime: sandbox-runtime has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7aac3ab070f46bcc82af74caefa0b22a34871de921550a5d1be1863b8a1407c0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sandbox-config: sandbox-config: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"22a5af8846e26b8ff6f1e550433cf7cdbe1c71e60220da357637a11c8a2b1636"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sandbox-runtime-layerstack: sandbox-runtime-layerstack: abstractness 0.02, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c820430965ce2874c6f19154175bc1c99d27c294cd566dd357fc49c8c4d43db1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sandbox-observability-telemetry: sandbox-observability-telemetry: abstractness 0.04, instability 0.00, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"43d428db9439cb5404127121726c4860a76c056916fcc9038da9c533553449ad"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sandbox-operation-catalog: sandbox-operation-catalog: abstractness 0.00, instability 0.14, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f553b347fad30bfaefec5c1f194225344fcd9bfea2263c25b47524f9e8b86ff"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sandbox-protocol: sandbox-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":"c72a6a9408ab111ec2ba1f7e2e4142ee43247f16229b6d4f1aa0b599299eb424"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sandbox-runtime-overlay: sandbox-runtime-overlay: abstractness 0.20, instability 0.00, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0158066cd98b2b006d5c4d9b48d8ad713eda9e6b1d1d6260f3a354d1e203ce7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/sandbox-daemon/src/rpc/lifecycle.rs: crates/sandbox-daemon/src/rpc/lifecycle.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in sandbox_daemon::rpc::lifecycle::serve_listeners at line 75. 2 of those changes were fix/bug commits, and the other 19 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-05-11..2026-08-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-11 17:04:31 \u002B08:00\u0027 --until=\u00272026-08-09 17:04:31 \u002B08:00\u0027 --full-history --no-merges -- crates/sandbox-daemon/src/rpc/lifecycle.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/sandbox-daemon/src/rpc/lifecycle.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0bdb9c62cb4a55825c6a032d1d6904a107324565a0b3b045106803d9df6734"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/sandbox-runtime/workspace/src/namespace/holder.rs: crates/sandbox-runtime/workspace/src/namespace/holder.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in sandbox_runtime_workspace::namespace::holder::handle_supervisor_command at line 904. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-11..2026-08-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-11 17:04:31 \u002B08:00\u0027 --until=\u00272026-08-09 17:04:31 \u002B08:00\u0027 --full-history --no-merges -- crates/sandbox-runtime/workspace/src/namespace/holder.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/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcec9e3272dccef2eac5c152403456af9951d7ab96787f24f6f039cb5af4f7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/sandbox-operations/contract/src/document.rs: crates/sandbox-operations/contract/src/document.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in sandbox_operation_contract::document::validate_catalog at line 283. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-11..2026-08-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-11 17:04:31 \u002B08:00\u0027 --until=\u00272026-08-09 17:04:31 \u002B08:00\u0027 --full-history --no-merges -- crates/sandbox-operations/contract/src/document.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/sandbox-operations/contract/src/document.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab5f95d2587d74c2475fd2ae42ece1196fbfab85aa59bf6175e0161a25af774"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs: crates/sandbox-runtime/layerstack/src/stack/projection/mod.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in sandbox_runtime_layerstack::stack::projection::collect_candidate_descendants at line 384. 1 of those changes was a fix/bug commit, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-05-11..2026-08-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-11 17:04:31 \u002B08:00\u0027 --until=\u00272026-08-09 17:04:31 \u002B08:00\u0027 --full-history --no-merges -- crates/sandbox-runtime/layerstack/src/stack/projection/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/sandbox-runtime/layerstack/src/stack/projection/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d5c9cb407477f46d84c18bcef5e36724d70cd419b5f1bc44f54bb6683359d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/sandbox-observability/telemetry/src/collect/process_topology.rs: crates/sandbox-observability/telemetry/src/collect/process_topology.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in WorkspaceProcessTopology::collect_with_readers at line 361. 2 of those changes were fix/bug commits, and the other 4 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-05-11..2026-08-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-11 17:04:31 \u002B08:00\u0027 --until=\u00272026-08-09 17:04:31 \u002B08:00\u0027 --full-history --no-merges -- crates/sandbox-observability/telemetry/src/collect/process_topology.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/sandbox-observability/telemetry/src/collect/process_topology.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed29aebde8bc54dd79329a7cd0f535c6e1c326395e466db699c4b32875ecce98"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060crates/sandbox-runtime/operation\u0060 (9519 LoC, 111 module-visible types across 17 directories) overshoots its size bounds. 1 of 20 build unit(s) (Cargo) overshoot their size bounds, lowering Project Cohesion to 9.1/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/Cargo.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a48bda570177d32ac49c63befab6b96926ea1a70ce3f1ddddf0583a9ab4e185"}},{"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":"47316322f383632afd8a0fa063f405ebf5f729115108113c1b3a01eab24f5834"},"properties":{"commitSha":"1dff7aaa5c68d044667bd15897a912db33fd7fd6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d2c7ee2a6d692e3f5ea5840ad246eed39478d857abe9a3fae9918e2239cbebe0"},"properties":{"commitSha":"73642cab2922f57055caf2af2c63c80dbfa6f6a3"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a05437ef52c09c52c32e665a9fc51679a4e6436ca068b5a163178ff77723b083"},"properties":{"commitSha":"d23409ee04861cdc93d32a86a13d8857202a5ece"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f62fc678ebe2f8b354a5f40845db34c01dc349a61babb86c5cff760db8d0018"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"253bbad54a1a388a5c47b04fdbef6573c47876f86dd2d71272fd936ec8d3e94d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8cd65ea94a6973eb20fd31cd65895e96529777274f20d75670e864980e5f2885"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f117b51e38c68d50b112a7c497e26155c96583d6ac6974f95d96729c44b56b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2ea70005cfa6cc2128c4f5333ab30b0b09f7f42942e54173c9605bb36b00f57"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482087526446cee2708a8815c9d02f2da72ef751f39ba226cc84493dc00618c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ccb86ee0eaed3538ba604a7fb44dfe83520235a3edd0a29626c5996e117944e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac03d3499f58ac3126564f2588a83e3b631b56a3455e6aa0b266831a7f65dcc3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4148c36050b3e66f64434051c807acc9d90c7224dc77a60d909c844173ea618"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02a2696830495023c1aef287e7b02864a3fcd98562424fc01a0b8f7ad35c4c01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c183bb0ecace795b74503410db4c98a150637dc0522333ee07494e03ec584964"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc4d8dc9194a25e99e5f3fe8921de4a4adfa1ae6e4c341beb283bfc9d2b9ac6f"},"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":"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":"5ed384055dc716a282d5e05d367f817795de1f0324f3b20b12b91701c74092f0"},"properties":{"dependency":{"package":"rmcp","version":"0.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0140","RUSTSEC-2026-0189","RUSTSEC-2026-0462"],"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":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"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":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","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":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","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":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","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":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","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":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","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":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","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":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","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":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","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":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","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":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","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":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","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":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"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":"84f9b61ffb7d87f7a0ea344424bcbd7389e2ed41eb01432b04fba9f732cd312c"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","reachability":{"kind":"unknown"}}}},{"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":"f7536fdcf0563f749620adff2102a4ab2572cb8d8a422d3d5708e6e50182c9dc"},"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":"a2840640e8ad2b3ebe321de74103c4f7f33bfd8942d9adc11fe984bc54b2fdaf"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C2","level":"note","message":{"text":"Thin authorization enforcement: Only 1 place(s) refuse an unauthorized caller \u2014 too few to demonstrate default-deny across handlers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: WorkspaceRuntimeHooks: \u0060WorkspaceRuntimeHooks\u0060 is a data-only domain entity with \u0060pub\u0060 mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable value object with private fields) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/service/hooks.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa6153e178617f6dc5852dbbf6f7ac34466ceedd5798bc06692be8795253bd9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060cleanup_paths\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-gateway/src/gateway/lifecycle.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57cfcf8eae9f6f6bde7b860a227b601724be91e26b9dc69f835e2d29e3d63bd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060rollback\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-manager/src/management/service/impls/create_sandbox.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac8abc3a3d0ac06fe38fb73ac70c2ccd1ac1d6bf67f6c021d36c4e4f032a360"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060sample\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/observer.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fe7bb7a6569f3c4cf7dd9ec7c5d02a97e7fc95cd320f942614f78b51d1a9f3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060cancel\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/observer.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0279e40e663abe073b01c7f8ca9a9afe518508a594527ba3f15e16c6202ed441"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060release_replacement\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/lifecycle/remount.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"26041029cc3d18b287a7f1fd5421f55dc4f9fc38b0c0cfc13bd8a31711bd428c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished branch \u2014 a todo!() / unimplemented!() arm in a real function: \u0060remount_workspace\u0060 does real work, but one of its branches is \u0060Err\u0060 with a \u0022not implemented\u0022 message \u2014 a case that was never written, and a panic the first time it is reached. Implement the case, or return an error that says why it is not handled."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/service/impls/remount_workspace.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4e782da5bdbe60838b22e39bb1f622558f1d3fffeeb10501aabeff6f6e56a2"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 381 Rust production file(s) this check read across 20 module(s). Each was searched for its ecosystem\u0027s logging libraries (Rust: the log and tracing crates (info!/warn!/error!, #[instrument]), slog, env_logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060Cargo.toml\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cargo.toml"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58f1258ac0739cd1e0a2e83a9aae67bcefcf633d7f90f15ee6eb51c19cdb530"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/release-linux-amd64.yml"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060.serve_connection(\u0060 (crates/sandbox-daemon/src/http/server.rs:207)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!handle.matches_mounted_workspace(session) || !handle.holder_is_live()\u0060 appears character-identically in 2 files \u2014 crates/sandbox-runtime/workspace/src/service/impls/capture_changes.rs, crates/sandbox-runtime/workspace/src/service/impls/run_file_op.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/service/impls/capture_changes.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"594c5c6efab2a6ed16408f53ee2284fe3c49e10395767c11f4d0abb15fba6262"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byte.is_ascii_alphabetic() || byte == b\u0027_\u0027\u0060 appears character-identically in 2 files \u2014 xtask/src/operation_architecture/feature_gates.rs, xtask/src/operation_architecture/stale.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e662df8ecc9de36670df2fa0e8a1afc89a0c033dcda5950e44b9f91526c04e8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identifier_start(byte) || byte.is_ascii_digit()\u0060 appears character-identically in 2 files \u2014 xtask/src/operation_architecture/feature_gates.rs, xtask/src/operation_architecture/stale.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/feature_gates.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"967a587e90f933cb0a9f7ef35e1ea428872e2728d392404e7f1f10efcba98aa3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta.file_type().is_char_device() \u0026\u0026 meta.rdev() == 0\u0060 appears character-identically in 2 files \u2014 crates/sandbox-runtime/layerstack/src/storage/whiteout.rs, crates/sandbox-runtime/workspace/src/overlay/capture.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/storage/whiteout.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d9a8bdcae0f1ca9ab91c8af1d7d97f5e4ba24eff4156c0364e23be85bcc63f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060needle.is_empty() || haystack.len() \u003C needle.len()\u0060 appears character-identically in 2 files \u2014 crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs, crates/sandbox-runtime/layerstack/src/stack/squash.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/stack/lease/rewrite.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"df694de20671cf3e6f4c3c8ac7207274a43559fea2c62d274ff964ff94806c93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.chars().any(char::is_control) || value.contains(\u0027\\\\\u0027)\u0060 appears character-identically in 2 files \u2014 crates/sandbox-config/src/configs/gateway.rs, crates/sandbox-operations/client/src/endpoint.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-config/src/configs/gateway.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7498b345531f259c2712fe2ee181f962e16fcc3783288ab4bd6f7cbbeab7e0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isolated_ip\u0060 is public and takes a \u0060WorkspaceSessionService\u0060 as its receiver from its caller, and it calls itself at line 378 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060isolated_ip\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/core.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad514bf3cc2e72b496ca970c1b61a3ce1871f699b13d95e6b10bd21f09d57c84"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060persist_handles\u0060 is public and takes a \u0060WorkspaceSessionService\u0060 as its receiver from its caller, and it calls itself at line 136 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060persist_handles\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/remount_session.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7e410459da950c9654f9ead77bc27ba5b40bca90aee1c3e19e75298ea09f1a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060run_file_op\u0060 is public and takes a \u0060WorkspaceSessionService\u0060 as its receiver from its caller, and it calls itself at line 33 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060run_file_op\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/run_file_op.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"58412f740c71b86e77e458ec183d508c58ad1d8e28ba51435a5a5128d5feba41"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060active_lease_count\u0060 is public and takes a \u0060LayerStackService\u0060 as its receiver from its caller, and it calls itself at line 82 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060active_lease_count\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/layerstack/service/core.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"98145fb94e91628931948e9d45415a5eeefa327838894ed70f8e699d068c6022"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060amend_path\u0060 is public and takes a \u0060LayerStackService\u0060 as its receiver from its caller, and it calls itself at line 41 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060amend_path\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/layerstack/service/impls/amend.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e505f154995a4265b8068511970b53f6964e0e247cf2ee25f2db5d5c74b114"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned value\u0027s release suppressed and never restored: \u0060std::mem::forget(tasks)\u0060 (line 299) takes \u0060tasks\u0060 out of Rust\u0027s ownership: its \u0060Drop\u0060 never runs, so whatever it holds \u2014 a descriptor, a socket, a buffer, a lock \u2014 is never given back, and nothing can give it back later because the value is gone. Let it drop (or call its explicit close) where its work ends; if the handle must outlive this function, turn it into a raw handle with \u0060into_raw\u0060/\u0060into_raw_fd\u0060 and reclaim it with the matching \u0060from_raw\u0060 when the owner is done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/lifecycle/remount.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9cec28afcc939c001d09c6b9a90fe47587276d7cd774b54c9e7fc32afbfc91"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned value\u0027s release suppressed and never restored: \u0060std::mem::forget(mount_overlay(\u0026ws,\u0026old).ok()?)\u0060 (line 118) takes \u0060mount_overlay(\u0026ws,\u0026old).ok()?\u0060 out of Rust\u0027s ownership: its \u0060Drop\u0060 never runs, so whatever it holds \u2014 a descriptor, a socket, a buffer, a lock \u2014 is never given back, and nothing can give it back later because the value is gone. Let it drop (or call its explicit close) where its work ends; if the handle must outlive this function, turn it into a raw handle with \u0060into_raw\u0060/\u0060into_raw_fd\u0060 and reclaim it with the matching \u0060from_raw\u0060 when the owner is done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/gate.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8c2ee447774c50e822b27c478e41aca69086d27f37f1664262cb3e5d86e64a"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned value\u0027s release suppressed and never restored: \u0060std::mem::forget(mount_overlay(\u0026staging,\u0026new).ok()?)\u0060 (line 131) takes \u0060mount_overlay(\u0026staging,\u0026new).ok()?\u0060 out of Rust\u0027s ownership: its \u0060Drop\u0060 never runs, so whatever it holds \u2014 a descriptor, a socket, a buffer, a lock \u2014 is never given back, and nothing can give it back later because the value is gone. Let it drop (or call its explicit close) where its work ends; if the handle must outlive this function, turn it into a raw handle with \u0060into_raw\u0060/\u0060into_raw_fd\u0060 and reclaim it with the matching \u0060from_raw\u0060 when the owner is done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/gate.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5efb0605f1bd4b667076e0e856a45dfb783dba5491eec42b561b8bfe1f039b0"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned value\u0027s release suppressed and never restored: \u0060std::mem::forget(guard)\u0060 (line 36) takes \u0060guard\u0060 out of Rust\u0027s ownership: its \u0060Drop\u0060 never runs, so whatever it holds \u2014 a descriptor, a socket, a buffer, a lock \u2014 is never given back, and nothing can give it back later because the value is gone. Let it drop (or call its explicit close) where its work ends; if the handle must outlive this function, turn it into a raw handle with \u0060into_raw\u0060/\u0060into_raw_fd\u0060 and reclaim it with the matching \u0060from_raw\u0060 when the owner is done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/setns/mount_overlay.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd671fb4376cf8dcaa892e9553deb16bfe4dd97f8a1aa08fd49cbd9b82034ccc"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned value\u0027s release suppressed and never restored: \u0060std::mem::forget(staged)\u0060 (line 85) takes \u0060staged\u0060 out of Rust\u0027s ownership: its \u0060Drop\u0060 never runs, so whatever it holds \u2014 a descriptor, a socket, a buffer, a lock \u2014 is never given back, and nothing can give it back later because the value is gone. Let it drop (or call its explicit close) where its work ends; if the handle must outlive this function, turn it into a raw handle with \u0060into_raw\u0060/\u0060into_raw_fd\u0060 and reclaim it with the matching \u0060from_raw\u0060 when the owner is done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/setns/remount_overlay.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ce4b3084b71ac4a3a934a326fc21dc7cbb63198e7cae168d37ed58ba49e6b"}},{"ruleId":"X18","level":"warning","message":{"text":"Lock guard kept alive across a wait: \u0060stdout\u0060 (line 56) is a synchronous lock guard, and it is still alive at the \u0060.await\u0060 on line 58: the lock stays held while this task is suspended, so every other task or thread that needs it blocks \u2014 and a task that needs it on the same executor thread deadlocks. Release it before the wait \u2014 \u0060drop(stdout);\u0060, or confine it to an inner block that ends first \u2014 or, if it really must span the wait, use an async mutex (\u0060tokio::sync::Mutex\u0060) built to be held across \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/manager.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d1829b2299cb8a4cd0f72a92cd339126f229ef854bacdd1bcc53ec619d564b"}},{"ruleId":"X18","level":"warning","message":{"text":"Lock guard kept alive across a wait: \u0060stderr\u0060 (line 57) is a synchronous lock guard, and it is still alive at the \u0060.await\u0060 on line 58: the lock stays held while this task is suspended, so every other task or thread that needs it blocks \u2014 and a task that needs it on the same executor thread deadlocks. Release it before the wait \u2014 \u0060drop(stderr);\u0060, or confine it to an inner block that ends first \u2014 or, if it really must span the wait, use an async mutex (\u0060tokio::sync::Mutex\u0060) built to be held across \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/manager.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc0fcdd82ea099bd7f78882cbce8010556a4d769eb1bf6866d6bd245c736acc"}},{"ruleId":"X18","level":"warning","message":{"text":"Lock guard kept alive across a wait: \u0060stdout\u0060 (line 49) is a synchronous lock guard, and it is still alive at the \u0060.await\u0060 on line 51: the lock stays held while this task is suspended, so every other task or thread that needs it blocks \u2014 and a task that needs it on the same executor thread deadlocks. Release it before the wait \u2014 \u0060drop(stdout);\u0060, or confine it to an inner block that ends first \u2014 or, if it really must span the wait, use an async mutex (\u0060tokio::sync::Mutex\u0060) built to be held across \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/observability.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2e0f875a3bc3e1dee29ca3b8d8e39bb1f9353e23cb493ac5af5b0ceb43acf1"}},{"ruleId":"X18","level":"warning","message":{"text":"Lock guard kept alive across a wait: \u0060stderr\u0060 (line 50) is a synchronous lock guard, and it is still alive at the \u0060.await\u0060 on line 51: the lock stays held while this task is suspended, so every other task or thread that needs it blocks \u2014 and a task that needs it on the same executor thread deadlocks. Release it before the wait \u2014 \u0060drop(stderr);\u0060, or confine it to an inner block that ends first \u2014 or, if it really must span the wait, use an async mutex (\u0060tokio::sync::Mutex\u0060) built to be held across \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/observability.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"49983365b37ba77c30625c640117e06e290ef208c0813c031fae6960894ede53"}},{"ruleId":"X18","level":"warning","message":{"text":"Lock guard kept alive across a wait: \u0060stdout\u0060 (line 67) is a synchronous lock guard, and it is still alive at the \u0060.await\u0060 on line 69: the lock stays held while this task is suspended, so every other task or thread that needs it blocks \u2014 and a task that needs it on the same executor thread deadlocks. Release it before the wait \u2014 \u0060drop(stdout);\u0060, or confine it to an inner block that ends first \u2014 or, if it really must span the wait, use an async mutex (\u0060tokio::sync::Mutex\u0060) built to be held across \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/runtime.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de9158c687e6284264cd390001732935ecd99a81b69d1628f18bdcfd2d6bc8f"}},{"ruleId":"X18","level":"warning","message":{"text":"Lock guard kept alive across a wait: \u0060stderr\u0060 (line 68) is a synchronous lock guard, and it is still alive at the \u0060.await\u0060 on line 69: the lock stays held while this task is suspended, so every other task or thread that needs it blocks \u2014 and a task that needs it on the same executor thread deadlocks. Release it before the wait \u2014 \u0060drop(stderr);\u0060, or confine it to an inner block that ends first \u2014 or, if it really must span the wait, use an async mutex (\u0060tokio::sync::Mutex\u0060) built to be held across \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-cli/src/runtime.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"183c3618572636d68048c0f25055b810aaf3fae2a89f2c7a95769434710401cb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SpanHeader._span\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7b67384e8af71be1ce9d4b2eb042a599afe456c3e400a0d4a3c5c3a5afccbc"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SpanHeader._status\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"271b12a2dd17555573e366bc41103e168c1ca5caa16f4e243de0baa69e49c8a0"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SpanHeader._attrs\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5469c874a51714b6e1feb71f9eaf6aeceba631075f3b571a9587d998965e407"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060EventHeader._parent\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c360b526b79b6516dd2f9418f1e18afbaba348efa1607f21666388bed5b0b8e4"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060EventHeader._attrs\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f3be79d941d250ed7d4eeccd402ae383141db2200fb119f750e7316c06e85"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060thread::Builder::new().name(\u0022eos-holder-supervisor\u0022.to_owned()).spawn(move||supervisor_loop(rx,worker_log,poll_interval))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060new\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0472ee8fa6f3974a1ce17e02eddbfe4b724c0d6b5358859720c824621851637"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060record.termination.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060handle_supervisor_command\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"8292f526bdac12010c4a6a8c54bd25f829fcfd9be62ae8fdcb488ec7e3d15fd1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060record.termination.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060poll_holder_record\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/namespace/holder.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e56a85912be1ff24cf0b2218906e07b11fcce0519067210cc7a0de4c1545f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.active_leases_after\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060outcome\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/lifecycle/destroy.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b526bda4ca3afbe10e38105362f9412dfcea4aca9d1433198e27d8c75c175c40"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.handle.parked_lease_id.as_deref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060release_leases\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/workspace/src/lifecycle/destroy.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bf629082a33a86c0cae250e7d25f09a36de1d11c1c7695269d472c55018740"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060HolderExitDispatcher::start(\u0026workspace_session)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060new\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/services.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eee950b48810e508c2f624e1ac8bbb97a6c071b82cd8a15ed7d2b1ea01fe4d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060FileService::open(file_auditability_dir(\u0026layer_stack_root),config.file)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060from_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/services.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6c418363c5d503f5e513b1c776d8d1bd397bd22366bf1f52d915e37cb74a90"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060LayerStackService::new(layer_stack_root,workspace_scratch_root,config.layerstack,observer.clone(),Arc::clone(\u0026file),)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060from_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/services.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af0d5b423e635636d2273a672e275fc6b5d8ff04026a94009f545c0285eda7"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060terminal.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060wait_destroy_terminal\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c887912ceb09e3cb1099731cda267558a9858fd2622455c1ce63f4045f9d3a1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060workspace_result\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060destroy_snapshot\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/destroy_session.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6026791a05ffde45c8f9dfdca2de5b983a9a7d631dbfe069af1b660b06b5b86"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060flight.holder_plan.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_holder_destroy\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/holder_exit.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"850a922e1b4542945e3a9436b6ef12090044b60111bd08d38e4c296cfaca212a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060flight.holder_plan.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060wait_holder_destroy_flight\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/workspace_session/service/impls/holder_exit.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0fa85232a98e167d25663c402ec82d6a498239e2cadcd265ba7f12a3716340"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060layerstack.config.autosquash_squash_at_n_layers\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060evaluate\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/operation/src/layerstack/autosquash_engine/worker.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d97975e1e5e3d8ac9f604c7668982b5935c0b6359227e057a69cefcb667234"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060CString::new(\u0022tmpfs\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060mask_with_empty_tmpfs\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa0fdcc4b61fe34ded3e8198e474a64296f002bbd3507bd3fb04302dc3e89dd"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060CString::new(\u0022size=4k,mode=000\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060mask_with_empty_tmpfs\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/mod.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fd6e0eee401e2cae08e2d97272bff5ab62623566280f91ce07ceb1a30402f6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.exit_status.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_wait_completion\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/launcher.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c7d900553b54a61ca97eda422d963bf5528613c2b2ac038c8920c9bba68062"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.ready.wait_while(self.slot.lock().expect(\u0022completion promise mutex poisoned\u0022),|slot|slot.is_none(),)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060wait\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/promise.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"011b9696c37f6ce9a029f306b6aba8e5c61428171e41f6fc3c9c9671402c56d9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060slot.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060wait\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/promise.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeacf2e713921b4ceca4d1513da58c5e643b96245f94445ed0c1351265fe5bf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.ready.wait_timeout_while(slot,timeout,|slot|slot.is_none())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060wait_timeout\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/promise.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba3d4c347e5174fdcbb39b99eef03f9a34f47e376e3f485db3f0a3fbd13d9da"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060thread::Builder::new().name(\u0022eos-pty-reactor\u0022.to_owned()).spawn(move||run_output_reactor(\u0026worker_queue,\u0026worker_active))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060new\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/pty.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9058216395c0da98b186eb2f2f1af230e128fbb8275561c81e76bfd978564b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060try_layer_digest(changes)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060layer_digest\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/layerstack/src/model/mod.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd00909b4eff6ff6a6ec1e0cf2f927ac07a1231ad520f4d970a456fb49df305"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060executor.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060container_resource_metrics_batch\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-provider-docker/src/engine.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed39daa5ceec776b084e2824a39a1fd9282f38339f245b4931701aa7d24f367b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::from_str(json.get())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060into_json_value\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-operations/contract/src/response.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fa9dfb51c7f2b3b2df23c61515b511e58655393d582b9ed4bd2bfd4d3eb335"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::from_str(json.get())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060as_json_value\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-operations/contract/src/response.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"441705b482950beea87210ef5cebce2742f1f5c23990ecd80a57d716b35ed89e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Self::from_raw_json(json.get().to_owned())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060clone\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-operations/contract/src/response.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0cf2a6fb22cc97f26c4c23b1478678ebc87ff70a7c1662f0ec21537056d2d6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::str::from_utf8(\u0026self.storage[entry.start..entry.start.saturating_add(entry.len)],)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060write_json_array\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-observability/telemetry/src/reader.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f798dadd7316e7f4fa3164255dafb11ffc1d389fce0f4feea8e41e6cd405e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060u64::try_from(docker.nano_cpus.unwrap_or(profile.nano_cpus))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060selected_workload_cgroup_limits\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/serve.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"383758e707323a4e2b8657252daccd5bba3362b8d03338c074ece7ca7796f781"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060u64::try_from(memory_high)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060selected_workload_cgroup_limits\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/serve.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ea5c9c7c4bebd98ae205010bc880dae81983a1e345ff8e369c04f5901337e6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060u64::try_from(profile.workload_memory_max_bytes().min(outer_memory_max))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060selected_workload_cgroup_limits\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/serve.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc1e9db1b10b4d542694262d4fc59533488b7b52893d955850004f048f52283"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060u64::try_from(profile.workload_pids_max())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060selected_workload_cgroup_limits\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/serve.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"291a1e60470e4bb2a06307e1d3f2cfe5dd42ae9a8e855df32a07b51d614d698b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_vec(\u0026response)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060reject_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-daemon/src/rpc/lifecycle.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a00c0a041cb1f6bb0d180f515f132af9ddb4c49727e9c7240fbd74ddd36d775"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060sample_ready_sandboxes\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/sandbox-manager/src/operations/services.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7104c7ce84aa38c56ba342c7af979e9a64b73a88c9ce46dd6b5f7637ec9d5f4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_tids\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-execution/src/quiesce.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a955af681ab7d27ac43bcadc962075ac87cfb1348ac7719d3f86282b16e136a6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060live_pids_in_pgid\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/shell_exec/wait.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb98380cd42bae5a1cc6cd470ff2681106cc4cd31fcf501ecb23fbfae2f4db"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060live_pids_in_pgid_by_path\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/sandbox-runtime/namespace-process/src/runner/shell_exec/wait.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd1e6b7a71710c170648e7dc2b70c99761e2c5591a13364e64f83b18db069f3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060content_digest\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":"crates/sandbox-runtime/operation/src/file/audit.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4729d26705f8a44de7fa04bfc2821b1357fe46562b8cf126a0b261b4a52a35"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060reap_persisted_handles\u0060 turns every \u0060Err\u0060 into \u0060Ok(Vec::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":"crates/sandbox-runtime/workspace/src/lifecycle/persistence.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd6251c899a53bd168ffb7c427313ccbd9bc0504e0085817d0e2f935880afab"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower_content.contains(\u0022operationdomain::observability\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower_content.contains(\u0022operationdomain::observability\u0022)\u0060 also satisfies \u0060lower_content.contains(\u0022observability\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/operation_architecture/stale.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a4e1610a854ee7cff57d2e98ae9109f3a29ab5efce0427477f0ff0dddbf081"}}],"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-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-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-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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-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":43,"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."]}]}