{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"CommandLineOptions.TryParse (cyclomatic 19): CommandLineOptions.TryParse has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba3780d300ac65e58f85b5cafcc97d13cb106ecff564d51e189c43b3d957e35"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitableHelper.ConvertValueTaskToTask (cyclomatic 16): AwaitableHelper.ConvertValueTaskToTask has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AwaitableHelper.ConvertGenericValueTaskToTask) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/Execution/AwaitableHelper.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3365ef0c184c03d891aadaa77bfeaeef65f6c0f08d6fe75edcde09f697ed6cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitableHelper.ConvertGenericValueTaskToTask (cyclomatic 16): AwaitableHelper.ConvertGenericValueTaskToTask has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AwaitableHelper.ConvertValueTaskToTask) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/Execution/AwaitableHelper.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"558f9cbd43d7e2217b9352a8b524f718fd6f450b867a215f312bcdc77570147e"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineOptions.TryParse (cognitive 42): CommandLineOptions.TryParse has cognitive complexity 42 (threshold 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":"tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"64caf213be4023ab0d0469c23172dc6be94cc19977c80f184f014719727fe242"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.buildToolParams (cognitive 30): projectrunner.buildToolParams has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/tool_params.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"14de2a825a6818da9790b5bdfd8de5024858b6866253d960999c59f82443e44a"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatcher.resolveDispatcherLatestReleaseTag (cognitive 29): dispatcher.resolveDispatcherLatestReleaseTag has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/attestation_release.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd832154f732702cd71d6abaeb07d8400a89d46450afdd505ee117f12fe1a08b"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoUsingResolver.ResolveAsync (cognitive 26): AutoUsingResolver.ResolveAsync has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/AutoUsingResolver.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38c2ddeb11813b4456b0a0688b4ffb5dffdb6fa8d5f25c3d86e71ef9f242f50"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.waitForControlPlayModeState (cognitive 26): projectrunner.waitForControlPlayModeState has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/control_play_mode_wait.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd887cdb83da906546033116a3f88e58f24a65ce1a5e1dbfad384f6d63e5c5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.sendWithTransientConnectionRetryAttempts (cognitive 25): projectrunner.sendWithTransientConnectionRetryAttempts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/connection_retry.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"024ea9e0c3391d2025f29c69da3d4d4d029b8bc8634943d1c90244bdab69159e"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineOptions.Parse (cognitive 24): CommandLineOptions.Parse has cognitive complexity 24 (threshold 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":"tools/UnityCliLoop.DeadCodeScanner/CommandLineOptions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"289c0547528c9756ff30638c331d6d5f5175df5749c13372067cedcc299f5157"}},{"ruleId":"D2","level":"warning","message":{"text":"PreUsingResolver.ExtractQualifiedTypeIdentifiers (cognitive 24): PreUsingResolver.ExtractQualifiedTypeIdentifiers has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/PreUsingResolver.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9a8149ba48204eab5fe5e26d8210cbe2063f825d5b4d1ee0be2b3d3462c155"}},{"ruleId":"D2","level":"warning","message":{"text":"HierarchyService.GetRootGameObjects (cognitive 24): HierarchyService.GetRootGameObjects has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/GetHierarchy/HierarchyAnalyzer/HierarchyService.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae27e06154f7f969f1395f60960b87f867e51ae925826d853f72743e30b6e65"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationInterpolatedStringRules.FindRegularInterpolatedStringEndIndex (cognitive 23): ThirdPartyToolMigrationInterpolatedStringRules.FindRegularInterpolatedStringEndIndex has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationInterpolatedStringRules.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"028c5b08ce498c0174cdbfde72d957cd595243cc8e8a5cad0399abd60f7bc8d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AssemblyTypeIndex.Build (cognitive 23): AssemblyTypeIndex.Build has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/AssemblyTypeIndex.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3affb800fdf80d205a27d8093086f531b512773c1bd94b5f76f8ed1b6b07878d"}},{"ruleId":"D2","level":"warning","message":{"text":"UnityCliLoopServerRecoveryExecutor.TryBindWithWaitAsync (cognitive 23): UnityCliLoopServerRecoveryExecutor.TryBindWithWaitAsync has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/Server/UnityCliLoopServerRecoveryExecutor.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e5d5d12065b3b797ad3b01910ded6cd31724f900a4d31e9e121a98bb744b92"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatcher.formatJSONRawForEmit (cognitive 23): dispatcher.formatJSONRawForEmit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/package_manifest_json.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f245f59753007a132555d8e881c28356aab0a170e314dcf7907f0170087a84"}},{"ruleId":"D2","level":"warning","message":{"text":"DeadCodeScanner.ScanAsync (cognitive 21): DeadCodeScanner.ScanAsync has cognitive complexity 21 (threshold 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":"tools/UnityCliLoop.DeadCodeScanner/DeadCodeScanner.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1098241cc3d54febb3ff70c0b4734e979218f01b7d63c1e59e22be98b9c1008"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitableHelper.ConvertValueTaskToTask (cognitive 21): AwaitableHelper.ConvertValueTaskToTask has cognitive complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AwaitableHelper.ConvertGenericValueTaskToTask) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/Execution/AwaitableHelper.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76a2858243f23d1e4d8705e781884fb9beb1caa9d6a49b65b9eeb8e7dabc6b4"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitableHelper.ConvertGenericValueTaskToTask (cognitive 21): AwaitableHelper.ConvertGenericValueTaskToTask has cognitive complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AwaitableHelper.ConvertValueTaskToTask) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/Execution/AwaitableHelper.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a31937cea27d5d1633f85a6e3026c7357e516a09f3842e8ee57e97ad90db59b"}},{"ruleId":"D2","level":"warning","message":{"text":"HotReloadCallSiteBackfill.RunAllAsync (cognitive 21): HotReloadCallSiteBackfill.RunAllAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/CompiledCallers/HotReloadCallSiteBackfill.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"501fd07dabb01cf0ad17c4c6eead0a9c7b8adba6148712235d775f852e0ef6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"compilecheck.topologicalOrder (cognitive 21): compilecheck.topologicalOrder has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/plan.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb4642ea6eedae8f962a271ba11015dda6c90794ef39c9de7fc1a528b53421a"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationDeclarationNameRules.IsTupleTypeClose (cognitive 20): ThirdPartyToolMigrationDeclarationNameRules.IsTupleTypeClose has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationDeclarationNameRules.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b226a38b5c7d8acf32f610824b7adcfc97706b44021e096d05d5d191b96ba6a3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayModeViewRenderWaiter.WaitForRenderedFrameAsync (cognitive 20): PlayModeViewRenderWaiter.WaitForRenderedFrameAsync has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/Screenshot/PlayModeViewRenderWaiter.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece029080b9863460c4d3fce3ebb4f09d863438c162144568cf8394e76f8cc4b"}},{"ruleId":"D2","level":"warning","message":{"text":"RaycastHitClusterer.SplitIntoConnectedComponents (cognitive 20): RaycastHitClusterer.SplitIntoConnectedComponents has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/Screenshot/RaycastAnnotation/RaycastHitClusterer.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"308ebaa0d02d43a8f159ffd37790ec97998363145005f77ded770ca8dcdb6bed"}},{"ruleId":"D2","level":"warning","message":{"text":"UnityCliLoopBridgeServer.ServerLoopAsync (cognitive 20): UnityCliLoopBridgeServer.ServerLoopAsync has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/UnityCliLoopBridgeServer.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a00ea60ba3a885a4bb403f50475905b7e58f9c9b3303c6ad56d7a2232f4d3b2"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.waitForAttachedCompileCompletion (cognitive 20): projectrunner.waitForAttachedCompileCompletion has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_attach.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c18dda9db35d5adff455ab43a3040ef56255a4726afd3f108718bc30d94c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationTimingDeclarationRules.RemoveLegacyPlayerLoopTimingParametersInCode (cognitive 19): ThirdPartyToolMigrationTimingDeclarationRules.RemoveLegacyPlayerLoopTimingParametersInCode has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationTimingDeclarationRules.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7ab734f7dbcd5cd02ef3a60ea40a785793f2b2c52e45761320ccfc684326d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalSceneChangeResolver.ResolveExternalSceneChanges (cognitive 19): ExternalSceneChangeResolver.ResolveExternalSceneChanges has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/Compile/ExternalSceneChangeResolver.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf3c936af957210278e7b615f7b7369c1becf6aeceec93092ad151ffa07131a"}},{"ruleId":"D2","level":"warning","message":{"text":"HotReloadShimCompileFailureIsolationTrigger.RewriteRetryOnlySkippedReasons (cognitive 19): HotReloadShimCompileFailureIsolationTrigger.RewriteRetryOnlySkippedReasons has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/HotReloadShimCompileFailureIsolationTrigger.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086fbf137ecd54a116732d8c26d58ba4a2dcad73ce244eb5ec9e8b2a40c5b6e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenshotUseCase.CaptureWindowsAsync (cognitive 19): ScreenshotUseCase.CaptureWindowsAsync has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/Screenshot/ScreenshotUseCase.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f5c23f77dda7b530db46a7c23f60bab8d8b9d57163b52a9c4ac53e50bf5f16"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationAsmdefTextEditor.FindTopLevelReferencesArray (cognitive 19): ThirdPartyToolMigrationAsmdefTextEditor.FindTopLevelReferencesArray has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/ThirdPartyToolMigration/ThirdPartyToolMigrationAsmdefTextEditor.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"507822f903826667ec6963c63e03f3c8115013c15c268571e3eb336177689229"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupWizardWindowResizer.MeasurePreferredContentWidth (cognitive 19): SetupWizardWindowResizer.MeasurePreferredContentWidth has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Presentation/Setup/SetupWizardWindowResizer.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaeacce1513371973ba0abdf647b8e8e9641927f2226bea1d2099d3b06ed94a"}},{"ruleId":"D2","level":"warning","message":{"text":"clicore.waitForToolReadinessWithDeps (cognitive 19): clicore.waitForToolReadinessWithDeps has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/clicore/tool_readiness.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ea28f7f87e51786c8402cbee86f018b4e536206abba03b33e72a5e7a8bcf80"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationTimingMethodBodyRules.FindExpressionBodiedMemberSemicolonIndex (cognitive 18): ThirdPartyToolMigrationTimingMethodBodyRules.FindExpressionBodiedMemberSemicolonIndex has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationTimingMethodBodyRules.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d62d1f1ba2150e19247ec0a275220b9face9bf190df40c3d4eb32007e4ac9df"}},{"ruleId":"D2","level":"warning","message":{"text":"HotReloadOneShotCallerNoteEnricher.BuildNotes (cognitive 18): HotReloadOneShotCallerNoteEnricher.BuildNotes has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/CompiledCallers/HotReloadOneShotCallerNoteEnricher.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ca499db9b2fec0cb8fd6da2cd4dab08267d14a6c9b0a6a02e119927d638ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformWorkerOutputValidator.TryValidateHomeAssemblyNames (cognitive 18): TransformWorkerOutputValidator.TryValidateHomeAssemblyNames has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/TransformWorkerOutputValidator.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7124311ce02c37d53fc0aa49a80e8d010c963eac38a3d24c5224b24b3723edc9"}},{"ruleId":"D2","level":"warning","message":{"text":"UnityCliLoopBridgeClientSessionManager.HandleClientAsync (cognitive 18): UnityCliLoopBridgeClientSessionManager.HandleClientAsync has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/UnityCliLoopBridgeClientSessionManager.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fada4fb7da94ffec9738c43f55aa87782f5cf0a88140e1add3604290ec5fb98"}},{"ruleId":"D2","level":"warning","message":{"text":"compilecheck.compileUnits (cognitive 18): compilecheck.compileUnits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/scheduler.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e157d37c2a7af55c18495bcc8a1da6c93d2ae231a1466cac89049f38f37960e9"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatcher.parseInstallOptions (cognitive 18): dispatcher.parseInstallOptions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/install.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"567902840747a5a671ff8988628afbdc6aadc1b7e6d2afa2ed8f3d4b03c2698c"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.pollCompileCompletion (cognitive 18): projectrunner.pollCompileCompletion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_wait.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c0166d5c4e0366cc6c962c7ab798f511b126d3327569d89d14e24ff9d59da3"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.waitForBusyEditor (cognitive 18): projectrunner.waitForBusyEditor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_busy_wait.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a08a0425856f16c752736466829660e6a6fb71ad0f2a9afa9f19c342c40cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.AnalyzeReleaseTriggerGuard (cognitive 18): automation.AnalyzeReleaseTriggerGuard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/release_trigger_guard.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c457a333a1b40d5effa97716b287d13843fe97eacaf4782ebbc3e735cf6810"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationDeclarationNameRules.FindListOpenParenthesisIndex (cognitive 17): ThirdPartyToolMigrationDeclarationNameRules.FindListOpenParenthesisIndex has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ThirdPartyToolMigrationDeclarationNameRules.FindListCloseParenthesisIndex) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationDeclarationNameRules.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb20ee85748a85e13da900031ce90cdd4c27bb04626ec4d323a5a0b794bea6c"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationDeclarationNameRules.FindListCloseParenthesisIndex (cognitive 17): ThirdPartyToolMigrationDeclarationNameRules.FindListCloseParenthesisIndex has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ThirdPartyToolMigrationDeclarationNameRules.FindListOpenParenthesisIndex) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationDeclarationNameRules.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"823606a5ca556c254f2564e06f620ea2077ad4f3e2cb9378820f07dcc134d46a"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationEditorDelayRules.GetMigratedEditorDelayFrameArguments (cognitive 17): ThirdPartyToolMigrationEditorDelayRules.GetMigratedEditorDelayFrameArguments has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationEditorDelayRules.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"88448a3f0435d9d3241049b413ded9bffee9a16128824e6ae834dfd2f687f934"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationTimingMethodBodyRules.FindMethodImplementationUsageRange (cognitive 17): ThirdPartyToolMigrationTimingMethodBodyRules.FindMethodImplementationUsageRange has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationTimingMethodBodyRules.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd7bc83d71779e893234ab9df24be420a123f2f571b0aea08dcdfce9e784127"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformWorkerOutputValidator.TryValidatePreparationFile (cognitive 17): TransformWorkerOutputValidator.TryValidatePreparationFile has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/TransformWorkerOutputValidator.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"394d648c54b6f4d5ef53e37bbcceeb1e1b0b61946ba8fc964b56d8820dc8eb41"}},{"ruleId":"D2","level":"warning","message":{"text":"HotReloadWiredValuePersistence.ReportMissingHosts (cognitive 17): HotReloadWiredValuePersistence.ReportMissingHosts has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/WiredValues/HotReloadWiredValuePersistence.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4badaafa11eda6f8d993a939ebc34670205e2a8396cf7b0ba6542e718b1f296"}},{"ruleId":"D2","level":"warning","message":{"text":"SourcePausePointResolver.FindNearbyCompiledMethods (cognitive 17): SourcePausePointResolver.FindNearbyCompiledMethods has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/PausePoint/SourcePausePointResolver.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1288e4de991e94200e437d58accdf2c9294dfe69c7f2f4e875f94dacb6c0bbab"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameParser.TryParseContentLength (cognitive 17): FrameParser.TryParseContentLength has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/FrameParser.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab658290b81899a7844878a947a9372f27065ec5bfcec8220a44beb3432fb71"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationCrossFileTimingMigrationPlanner.ApplyCrossFilePlayerLoopTimingCallerArgumentMigrations (cognitive 17): ThirdPartyToolMigrationCrossFileTimingMigrationPlanner.ApplyCrossFilePlayerLoopTimingCallerArgumentMigrations has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/ThirdPartyToolMigration/ThirdPartyToolMigrationCrossFileTimingMigrationPlanner.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b565503933a2444aebb7ce4bfc017a440d3eba36f43ed0565a9d73a090dfb235"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationPreflightScanner.FindMigrationTargetAsync (cognitive 17): ThirdPartyToolMigrationPreflightScanner.FindMigrationTargetAsync has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/ThirdPartyToolMigration/ThirdPartyToolMigrationPreflightScanner.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"651ce5ceb02f068847b8f718ef2a43e482b060503fbe10e465188e9fa2fefd82"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.reuseOrCompile (cognitive 17): Compiler.reuseOrCompile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/result_cache.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9f6399d2f7e557700269ca6e9be3643268eb0cb3029024b4b30d339f02ba52"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.extractPausePointEnableAwaitFlags (cognitive 17): projectrunner.extractPausePointEnableAwaitFlags has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa1d5d658d836f367b7935ea89b6959d9dd4e90ce3da231e4a563ef2ed002b5"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.buildDispatcherArchiveManifest (cognitive 17): automation.buildDispatcherArchiveManifest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_stamp.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a22a52fdd8eb0da19faa4586e59ef68c8c72901f5635eca4cd2965e71c78f77"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationApplicationAndFirstPartyTypeReplacementRules.ReplaceLegacyFirstPartyScreenshotTypeNamesInCode (cognitive 16): ThirdPartyToolMigrationApplicationAndFirstPartyTypeReplacementRules.ReplaceLegacyFirstPartyScreenshotTypeNamesInCode has cognitive complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationApplicationAndFirstPartyTypeReplacementRules.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e864892680af03c12407940ce29b3893fa3a95c8caf43130785a994152962245"}},{"ruleId":"D2","level":"warning","message":{"text":"ThirdPartyToolMigrationCodeTextMaskInterpolationRules.MarkInterpolatedVerbatimStringAsIgnored (cognitive 16): ThirdPartyToolMigrationCodeTextMaskInterpolationRules.MarkInterpolatedVerbatimStringAsIgnored has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Domain/ThirdPartyToolMigrationCodeTextMaskInterpolationRules.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad555ae20eebf41c2001f8dacb9d1d05a0bc64cd42b9c4ffe7073f2d817c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCodeLiteralHoister.TryHoistIntegerLiteral (cognitive 16): DynamicCodeLiteralHoister.TryHoistIntegerLiteral has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/DynamicCodeLiteralHoister.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1989737c9ddfb465ed240c7625807cdb9dc99dd6650370ac5df77c89c7d32f"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticLocalFunctionHeaderScanner.TrySkipReturnTypeAndName (cognitive 16): StaticLocalFunctionHeaderScanner.TrySkipReturnTypeAndName has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/StaticLocalFunctionHeaderScanner.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9130b6e892494364ce961bf2ab921b375b3789522a91407b69cb6a1c1dbc99dc"}},{"ruleId":"D2","level":"warning","message":{"text":"HierarchyService.GetSelectedRootGameObjects (cognitive 16): HierarchyService.GetSelectedRootGameObjects has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/GetHierarchy/HierarchyAnalyzer/HierarchyService.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce1b01f887406864aeb1034a277d0c7664f6ed460b1d82566c53e54eef6b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"HotReloadPatchTargetSupport.ResolvePatchTarget (cognitive 16): HotReloadPatchTargetSupport.ResolvePatchTarget has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/HotReloadPatchTargetSupport.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28610c328a137acd68882e165de45de5fde9bdba4d2359ad141aa940474bcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"SourcePausePointHotReloadRetarget.RetargetMarkersOntoHotReloadPatch (cognitive 16): SourcePausePointHotReloadRetarget.RetargetMarkersOntoHotReloadPatch has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/PausePoint/SourcePausePointHotReloadRetarget.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ce04b2ac330cee95bb4bb5e009b281456b83d0244b8ed5cb2d74292b1b5f90"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTestsNoTestsDiagnosticService.Analyze (cognitive 16): RunTestsNoTestsDiagnosticService.Analyze has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/RunTests/RunTestsNoTestsDiagnosticService.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7edf3eefb5fe42183e71a4ff13b7cde159ee1a744053a09b24ab88f06a2def3"}},{"ruleId":"D2","level":"warning","message":{"text":"MouseUiIncrementalDragExecutor.ExecuteDragStart (cognitive 16): MouseUiIncrementalDragExecutor.ExecuteDragStart has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/SimulateMouseUi/MouseUiIncrementalDragExecutor.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"25145b47046cba8c374ccafc1acdd7755b0edfb05cf51ad72ab50a9ce5367752"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectFileInventory.WalkDirectoryTreeAsync (cognitive 16): ProjectFileInventory.WalkDirectoryTreeAsync has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/ThirdPartyToolMigration/ThirdPartyToolMigrationProjectFileInventory.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a09fc9bdbb509539ef8cf6f7293c08331b00f5663d1c75ea9f1d39617c0a60"}},{"ruleId":"D2","level":"warning","message":{"text":"unityprocess.splitWindowsCommandLine (cognitive 16): unityprocess.splitWindowsCommandLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/windows_command_line.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d244fc6ef6e7d4869811436a3db1539ecc4393c576d939223f4a0c56ee17865"}},{"ruleId":"D2","level":"warning","message":{"text":"compilecheck.RebuildSources (cognitive 16): compilecheck.RebuildSources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/source_set.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ff1a5b27fcf23d7438bccd7a62704e96fe849198bcca67e785a083e23afc66"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatcher.runSkillsDirInstall (cognitive 16): dispatcher.runSkillsDirInstall has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills_dir.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe56692cc21a4c3b9a1160a52a4b7ad9d8e15a55813e6aab5ff0524f5f00201"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatcher.parseSkillsOptions (cognitive 16): dispatcher.parseSkillsOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills_options.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a87e3fd9e89eb6589707a82f94fd99ee84774b197128941cc1af612620b9b26"}},{"ruleId":"D2","level":"warning","message":{"text":"verifier.scanDirectory (cognitive 16): verifier.scanDirectory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/projectverify/meta_scan.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f17369d988fe92b1cae087c7f817a927053f44a3039abbc4968c23dc121cc1"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.probePendingCompileStatus (cognitive 16): projectrunner.probePendingCompileStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_attach.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"06006ccca6e3d3d8893e962f89ebbff2db7692288df9965862702e46eb8eb5f3"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.runControlPlayModeWithStateWait (cognitive 16): projectrunner.runControlPlayModeWithStateWait has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/control_play_mode_wait.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"151c19e67f09a34ab8e78a6750cf21ead99bb9a64152fbbad755725c72698c31"}},{"ruleId":"D2","level":"warning","message":{"text":"projectrunner.runPausePointWaitAfterEnable (cognitive 16): projectrunner.runPausePointWaitAfterEnable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"857f522faff03967a2675fb9feffa6d7fb3e92b6a1e3a822965614e45efaeaed"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.ParseGoCoverProfile (cognitive 16): automation.ParseGoCoverProfile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/coverage_report.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6c1bcf56a76e5ee4aeaa5989cf0a3a4aab90016a04384edce96c4f20a8cb17"}},{"ruleId":"D2","level":"warning","message":{"text":"slocScanner.scanCSharpInterpolatedString (cognitive 16): slocScanner.scanCSharpInterpolatedString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"cli/release-automation/internal/automation/file_length_sloc.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b9e3c2995f3ab1871089e93fdc644aa32261d9cc12b7c0ad74a3b7b025f3ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: pausePointStatusResponse: TooManyFields \u2014 60 stored fields. The bar is 30 stored fields; this is 30 over it, 2.00\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_types.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b72768dd7abf536152e2d09b1b40039f639d9e83485cc222a5e75c513c3339d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompiledAssemblyBuilder.BuildAsync: MethodTooLong \u2014 BuildAsync runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/CompiledAssemblyBuilder.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a743d90a060eb88daebd011a5c55c5b01a614bf28b9d3f190f29b02a45254291"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HotReloadFileGeneration: TooManyMethods \u2014 280 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Patching/HotReloadFileGeneration.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e389caaa13ff7fec35d6bc73c78813d8fc14a65a6227cdf644317e2dbb800bb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HotReloadPatchTargetSupport.ResolvePatchTarget: MethodTooLong \u2014 ResolvePatchTarget runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/HotReloadPatchTargetSupport.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8ee319a679a24a3559cabe77ead20113c0ee25e4b9a8e57f8ce10be6d38cc1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HotReloadConstants: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 84 over it, 1.21\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/HotReloadConstants.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ec8c8eac18a3fddd72b45ac59bf458e6fa1e31e6e1d0392b018792d5acaad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HotReloadOrchestrator.RunAsync: MethodTooLong \u2014 RunAsync runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/HotReloadOrchestrator.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"68958f7881d10bf1c951acd0da102ea7d7ae9e3b6602ece7866daa8de2a5a0ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThirdPartyToolMigrationWizardWindow: TooManyMethods \u2014 232 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Presentation/Setup/ThirdPartyToolMigrationWizardWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd5c4eaa6aa9f9dd39c360d11d442935ee9fe829dee2dfbf8d2a1d77630bd4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnityCliLoopApplicationRegistration.Register: MethodTooLong \u2014 Register runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/CompositionRoot/UnityCliLoopApplicationRegistration.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f76db6edd9e86140b65df529d6662e942720b676b6e33990ee1230d9f07adbc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScreenshotUseCase.CaptureWindowsAsync: MethodTooLong \u2014 CaptureWindowsAsync runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/Screenshot/ScreenshotUseCase.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ccf78c2da745739c092e875fe6c7a2a9071991dec09126cae3b721a61005bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SetupWizardWindow: TooManyMethods \u2014 288 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Presentation/Setup/SetupWizardWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54024a39e22be84fd263f6496eaaaefb294b8b50942355cfc3c7c65133254f52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HotReloadDomain: TooManyMethods \u2014 263 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Patching/HotReloadDomain.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb45be63e10680b56e10375fbaa290b9f96752b4229a3434e2cffeb44c07ce7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HotReloadApplyResponseBuilder.Build: MethodTooLong \u2014 Build runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/HotReloadApplyResponseBuilder.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec927e49676edd43f51f9dac60476588b07b144848c3335801ea5ddf68c72244"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnityCliLoopSettingsWindow: TooManyMethods \u2014 252 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Presentation/UnityCliLoopSettingsWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"305cd5b6963bc2b51a888f2250e72d2a98b0259a096d643aeb8d4b64589eb279"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourcePausePointShimResolver.Resolve: MethodTooLong \u2014 Resolve runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/PausePoint/SourcePausePointShimResolver.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"475a48e587e66b1f005d26705847b80fdb75e24684d8a4094d4255f65a18427f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projectrunner.sendWithTransientConnectionRetryAttempts: FunctionTooLong \u2014 sendWithTransientConnectionRetryAttempts runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/connection_retry.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c7f24de82440efee2185ac8cf239eca9c10dab099eb00da7ac9d3a7d97f108"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThirdPartyToolMigrationFastSourceTargetDetector.ContainsFastCSharpSourceMigrationTargetAsync: MethodTooLong \u2014 ContainsFastCSharpSourceMigrationTargetAsync runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/ThirdPartyToolMigration/ThirdPartyToolMigrationFastSourceTargetDetector.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9711e5962481d6d4b7cd086f221d74397e86a92713bad1d1b39c2a85a27389a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HotReloadShimIsolation.RunIsolationRetryAsync: MethodTooLong \u2014 RunIsolationRetryAsync runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/HotReloadShimIsolation.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3d9ee9a243e14fcafdbbdd073f01c9943a66d2ea70cd08e6de2a2723653c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cli/dispatcher/internal/dispatcher/skills.go:231-266 | cli/dispatcher/internal/dispatcher/skills.go:268-290 | cli/dispatcher/internal/dispatcher/skills_v3_migration.go:13-35 | cli/dispatcher/internal/dispatcher/skills_v3_migration.go:37-59 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b31b6e5bf73a3e15bb173cda4d4e150587c7076e5208ee75f36d8d456ce13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): cli/project-runner/internal/projectrunner/compile_attach.go:267-334 | cli/project-runner/internal/projectrunner/compile_wait.go:209-275 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_attach.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d4f559b9cea507084c87f45818b7c5579ff63a64d194e3d856880dee54ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): cli/project-runner/internal/projectrunner/pause_point_enable.go:375-471 | cli/project-runner/internal/projectrunner/pause_point_wait.go:311-398 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e6405178cd8cd0a62e07f47a3d5cdd2cbb62714bff0d329ba3c3950fd940f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): cli/dispatcher/attestation/verifier.go:79-121 | cli/dispatcher/attestation/verifier.go:151-186 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/attestation/verifier.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfdbcb1630eed4cbdad725568c2d49dca94f1239b35c58c1fb28233e503cffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): cli/release-automation/internal/automation/dispatcher_pin_freshness.go:201-232 | cli/release-automation/internal/automation/dispatcher_pin_stamp.go:204-237 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_freshness.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fdf5492329f3d2b34691f5c9bb2bd82f1731c091bb1e4d0d81dcd0e5271231"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): cli/common/errors/command_suggestions.go:48-80 | cli/project-runner/internal/projectrunner/tool_param_suggestions.go:248-280 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/errors/command_suggestions.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1f3d9133aefdd223d0f45f569a10ef8614608de78b14cea12c35e3495e3fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): cli/release-automation/internal/automation/dispatcher_pin_guard.go:94-127 | cli/release-automation/internal/automation/dispatcher_pin_stamp.go:68-100 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_guard.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71736be8ad2c0ba89481a9b60323f02f8b272474fccef73a5fa198c319bd9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): cli/dispatcher/internal/nativepath/path.go:71-99 | cli/dispatcher/internal/nativepath/path.go:103-131 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/nativepath/path.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"49111677e89afb8696345db81505f2692341ffa8fd9599ad35a81e11821d300c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): cli/common/skillscan/sources.go:82-112 | cli/dispatcher/internal/dispatcher/skills_discovery.go:81-121 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/sources.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0719e375f51370a48c96cd255c73978da66aedd883566d828c46a313b070b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cli/release-automation/internal/automation/publish_coverage_trend.go:57-77 | cli/release-automation/internal/automation/unity_package_release_plan.go:67-96 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/publish_coverage_trend.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6820f28b2865a3a2648489e63ad423a880a944b88ea19b6a4c94adf450ac7f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cli/common/clicore/global_args.go:11-37 | cli/project-runner/internal/projectrunner/dynamic_code_file.go:18-47 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/clicore/global_args.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731d53bd50826794e7e7ff59123ec6617a3f09423ea680e0f03a5210539920e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): cli/dispatcher/internal/dispatcher/skills_dir_status.go:290-314 | cli/dispatcher/internal/dispatcher/skills_dir_status.go:320-347 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills_dir_status.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d446987153ee76a7f04d49b7909a63b47defc300ec980c53d09edf24fb7231a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cli/release-automation/internal/automation/file_length.go:62-86 | cli/release-automation/internal/automation/skill_size.go:73-93 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/file_length.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a922e16f2bd0d73fdf4b17c58648cb5ab88e5520e628b414aa1d5122561ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cli/common/tooldocs/tool_option_help.go:46-71 | cli/project-runner/internal/projectrunner/list_output.go:100-119 \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":"cli/common/tooldocs/tool_option_help.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4114dadd736cf0796c303a9d0d2b78804ac6809a0c016622dab74e981e0f2d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): cli/dispatcher/internal/install/command.go:31-62 | cli/dispatcher/internal/uninstall/command.go:31-58 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/install/command.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"695bc8d279eba837bf94fadd512427c3f39ad717cc07bfd616887db8a97b24c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cli/release-automation/internal/automation/published_release.go:26-42 | cli/release-automation/internal/automation/unity_package_release_create.go:281-297 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/published_release.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"864b264ca095e47e92077f26e975441ebc87a2a8d35a060fad09a1cbfb45b956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cli/release-automation/internal/automation/protocol_minimum_version_comment.go:237-256 | cli/release-automation/internal/automation/pull_request_checks.go:39-57 \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":"cli/release-automation/internal/automation/protocol_minimum_version_comment.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b00b9ac6018a34e8f319ef51be384f8817a000bbe00e28ee80d0de9818b6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cli/release-automation/internal/automation/protocol_minimum_version_guard.go:139-169 | cli/release-automation/internal/automation/release_trigger_guard.go:89-115 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/protocol_minimum_version_guard.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e4b81bb353c627993fabd7113af2b38ecc7914ec42e21a36cb3b37bda5a260"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): cli/release-automation/internal/automation/package_pin_consistency.go:93-116 | cli/release-automation/internal/automation/package_pin_consistency.go:118-144 | cli/release-automation/internal/automation/package_release_pr_gate.go:62-87 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/package_pin_consistency.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d023a2dbdb47a28a4b852893a4be0cca8d0570033e9255d47a58caeaed02d15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cli/common/project/project.go:159-188 | cli/common/skillscan/packages.go:37-63 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/project/project.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"475ed81bb89cea029623fd907253577a892f7667b4963e8b573666db95164c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): cli/common/unityprocess/process_darwin.go:16-47 | cli/common/unityprocess/process_linux.go:18-53 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/process_darwin.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a60dddcdd8d281aab2b0d906cfda5be69de105598aad2e43ac0dfa7230b771d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cli/project-runner/internal/projectrunner/hot_reload_busy_wait.go:268-295 | cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go:347-372 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_busy_wait.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf09dc58acfff57c2a6b605998e1d2529e8be2f53328ca7a7bdc4519e4ee8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cli/dispatcher/internal/dispatcher/dispatcher_v2_detect.go:263-279 | cli/dispatcher/internal/dispatcher/dispatcher_v2_detect.go:374-393 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_v2_detect.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceef29822aea5156942859d2c708b1a35ba85baa6f1d3c2d00f2ccf057b0604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): cli/release-automation/internal/automation/contract_file_at_ref.go:129-149 | cli/release-automation/internal/automation/contract_file_at_ref.go:155-172 | cli/release-automation/internal/automation/git_helpers.go:25-40 \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":"cli/release-automation/internal/automation/contract_file_at_ref.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea606c42d145e1feed73e5e2671f235b16a7b76fabc16a1defbc503619cb8c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/common/skillscan/packages.go:123-140 | cli/common/skillscan/packages.go:202-221 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6b053c9ed2cd67dfcf792d7538c926b7434d2f315485b2496bb5ad134e80d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): cli/dispatcher/internal/dispatcher/launch.go:417-440 | cli/dispatcher/internal/dispatcher/launch_v2_lockfile.go:51-75 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1927c0af2c1b9c4cc3e2268da2bf9c63df4d2488384a02e5bf1b1a97920e8b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cli/release-automation/internal/automation/contract_file_at_ref.go:195-207 | cli/release-automation/internal/automation/release_pr_checks.go:421-432 \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":"cli/release-automation/internal/automation/contract_file_at_ref.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c20af7a422e33d7a5f2398979f899c29d94a5d9f473283db77ec1c766b7f618"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/dispatcher/internal/dispatcher/compile_check.go:116-133 | cli/dispatcher/internal/dispatcher/launch.go:62-79 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/compile_check.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bc0db7b946e3c66dca672bc425b270e490ee916a38c43549fef164066b02ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cli/dispatcher/internal/compilecheck/assembly_reference.go:20-39 | cli/release-automation/internal/automation/skill_size.go:45-68 \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":"cli/dispatcher/internal/compilecheck/assembly_reference.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbc7471b0e4ef11a1e393d18b3edb545718c24602c8faca3e5d9718e381ba91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cli/dispatcher/internal/dispatcher/launch.go:245-257 | cli/dispatcher/internal/dispatcher/launch_v2_server_ready.go:219-234 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce3e1aa7e71f2ac7b07e815e92d3348edbd5ebfe39be881e08d1200dfa6e3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cli/project-runner/internal/projectrunner/pause_point_clear_file_line.go:108-136 | cli/project-runner/internal/projectrunner/record_video_one_shot_options.go:150-172 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_clear_file_line.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"146d488cd1185536aff68a1a550ad292fca49bc314de02a513a028dd3908cb1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/release-automation/internal/automation/release_pr_checks.go:161-178 | cli/release-automation/internal/automation/release_pr_checks.go:240-269 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/release_pr_checks.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"43483f8e4565f049fb7a432394b51045da28ea69270d46e2956de2267baf2774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): cli/project-runner/internal/projectrunner/pause_point_ipc.go:33-52 | cli/project-runner/internal/projectrunner/pause_point_ipc.go:65-83 | cli/project-runner/internal/projectrunner/run_tests_domain_reload_wait.go:118-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_ipc.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c3876343700d6b00c101c70d59ef36eedd8bf112384424e63ce45734c72d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go:289-303 | cli/project-runner/internal/projectrunner/record_video_one_shot.go:267-281 | cli/project-runner/internal/projectrunner/run_tests_implicit_compile.go:100-118 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7b4f9aca355bdcaf0f51b2e5c25049b915df719b6f84691134f18372123b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): cli/common/errors/error_envelope.go:274-293 | cli/common/errors/error_envelope_classification.go:71-90 | cli/common/errors/error_envelope_classification.go:92-114 | cli/common/errors/error_envelope_classification.go:119-138 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/errors/error_envelope.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a613cb90182f785c2b87a0d5d02a5321f794a1d8a385247ba31061611536d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/common/skillscan/sources.go:65-80 | cli/dispatcher/internal/dispatcher/skills_discovery.go:60-79 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/sources.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"37654e049d45a074c4a0be01039a049f3ea66b5988f1450fb89e465caa6d0b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): cli/project-runner/internal/projectrunner/compile_attach.go:400-416 | cli/project-runner/internal/projectrunner/compile_attach.go:420-437 | cli/project-runner/internal/projectrunner/compile_attach.go:439-456 | cli/project-runner/internal/projectrunner/compile_fresh_recovery.go:148-166 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_attach.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfbff42ef7f370b80d3dabd9454045bd53e6627ebc949438216a90a4112a125"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): cli/project-runner/internal/projectrunner/compile_wait_log.go:221-236 | cli/project-runner/internal/projectrunner/compile_wait_log.go:245-260 | cli/project-runner/internal/projectrunner/compile_wait_log.go:270-284 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_wait_log.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"22083db6f8cee00073495ef41c65b419e9f0810d011ddccf862806d6136ab227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cli/common/project/project.go:94-113 | cli/common/project/project.go:120-139 \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":"cli/common/project/project.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6549fd6f528feb1dc470b1753a75c9c2d7bd72d4b4902807f58c5339e7f059f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/dispatcher/internal/compilecheck/fastcheck/bootstrap.go:287-302 | cli/dispatcher/internal/compilecheck/plan.go:152-170 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/fastcheck/bootstrap.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f5da38846ebe20638aae4d403e9f83dd5cfa0d77ac7c6257a972a52caefa40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): cli/project-runner/internal/projectrunner/list_output.go:180-198 | cli/project-runner/internal/projectrunner/list_output.go:202-220 | cli/project-runner/internal/projectrunner/list_output.go:224-242 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/list_output.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee99c4d5902a314b8f0744a1f879af7adffea719a1f27f3b8e72526295ae794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): cli/dispatcher/internal/compilecheck/fastcheck/client.go:219-233 | cli/dispatcher/internal/compilecheck/surface_verdict.go:204-218 | cli/release-automation/internal/automation/unity_package_release_readiness_deps.go:76-88 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/fastcheck/client.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f564ee8e9691242127c3dcc4d018b57eef541b1c686b79b0896546289ee4e7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cli/project-runner/internal/projectrunner/plain_tool_log.go:62-81 | cli/project-runner/internal/projectrunner/plain_tool_log.go:90-112 \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":"cli/project-runner/internal/projectrunner/plain_tool_log.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d5c4ed5ede389b93a5a617c0306dfca4b8f9635a2e0957203953999ec2370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/common/unityprocess/unitydialog/inspect.go:113-126 | cli/common/unityprocess/unitydialog/win32.go:12-25 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/unitydialog/inspect.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"414de6c7f2e3c45ab26d3dcec8c58affe92dc3b73f9e82f2b37a1f01a78301e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/project-runner/internal/projectrunner/pause_point_trigger.go:62-83 | cli/project-runner/internal/projectrunner/pause_point_trigger_dialog_block.go:79-94 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_trigger.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc50ff0e35a1a84d00579c5b565aaa623b6def4cae99cf3cc1ddc8b1cd6c3218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/dispatcher/internal/install/command.go:81-88 | cli/dispatcher/internal/uninstall/command.go:98-105 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/install/command.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9b492412eb20ab2c5f6ec418503521ca1a3349e25d41604c554269b20f3f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/release-automation/cmd/check-ipc-protocol-reminder/main.go:11-25 | cli/release-automation/cmd/check-release-triggers/main.go:11-24 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/cmd/check-ipc-protocol-reminder/main.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"459fb39515b698cacf9dbdcbaa4e6b15e43ef63b870d8b60e90156a3bf7263d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): cli/dispatcher/internal/dispatcher/compile_check.go:399-411 | cli/dispatcher/internal/dispatcher/compile_check.go:414-426 | cli/dispatcher/internal/dispatcher/launch_log_file.go:29-44 | cli/dispatcher/internal/dispatcher/launch_options.go:120-131 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/compile_check.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3932ce997691ae9a1cec586f0494831affc761907a7615fa0176ebeaddfba45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/project-runner/internal/projectrunner/compile_wait_log.go:28-43 | cli/project-runner/internal/projectrunner/plain_tool_log.go:35-52 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_wait_log.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df53466c7d0ab62d9016346c8ec552ef8c8673683e5eb5d1c616ba500c67ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cli/dispatcher/internal/compilecheck/scheduler.go:223-239 | cli/dispatcher/internal/compilecheck/scheduler.go:252-266 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/scheduler.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31d0b5b8db7f0b3921b471f071708eb3e920289c14934395b1b290ae97f7fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/dispatcher/internal/dispatcher/dispatcher_freshness.go:216-229 | cli/dispatcher/internal/dispatcher/dispatcher_freshness.go:254-267 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_freshness.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a00e1b5cb148b8264570b0069b073c2bcfc45f35634a6b77d64dd6600f45d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:19-33 | cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:42-56 | cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:66-81 | cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:89-102 | cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:111-125 | cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:133-146 | cli/project-runner/internal/projectrunner/connection_retry_focus_log.go:154-167 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/connection_retry_focus_log.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"617f5cd7b7b4794cac9683e91203c613e6bf67206c23ab2fe9402ee984ff1610"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cli/dispatcher/attestation/verifier.go:188-199 | cli/dispatcher/attestation/verifier.go:225-239 \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":"cli/dispatcher/attestation/verifier.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c618ffd32f3b49f87289d6e205a7c4bd750f8e4687e17425b7501b046672dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cli/dispatcher/internal/dispatcher/compile_check.go:342-357 | cli/dispatcher/internal/dispatcher/launch.go:81-96 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/compile_check.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bee83de40d87fd04dddaee8719bc8a60183846f4bc7ac411fcca2a62f8324ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cli/project-runner/internal/projectrunner/control_play_mode_wait.go:228-245 | cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go:247-258 \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":"cli/project-runner/internal/projectrunner/control_play_mode_wait.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da7612ff9a93ad0717a70bb91f9910d0c7de0839bbce92576dc6b7e3db1da8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cli/dispatcher/cmd/dispatcher/main.go:12-17 | cli/project-runner/cmd/project-runner/main.go:12-17 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/cmd/dispatcher/main.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"befd753d6eff21cd7e6383a065da406a493befc8b243dafec6c99663eea09e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/dispatcher/internal/dispatcher/launch_ready.go:76-89 | cli/dispatcher/internal/dispatcher/launch_ready.go:126-142 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch_ready.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8feccdb3a700fe06231cf7ab930ebf9b5432372ed5abe85ebead2d092c756a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/project-runner/internal/projectrunner/compile_wait.go:161-167 | cli/project-runner/internal/projectrunner/run_tests_domain_reload_wait.go:99-105 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_wait.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6836d46c3a0c3b1a15e0e43c227f5f54699fdc9ebf1cbb2fa12413d6d8279a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/project-runner/internal/projectrunner/debug_timing.go:50-67 | cli/project-runner/internal/projectrunner/dynamic_code_wait.go:146-159 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/debug_timing.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"974f3f6c2f15d9f18785c7a33f1b43692a10fcf5213fc13d66730b8e889dcb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cli/dispatcher/internal/compilecheck/input_key_identity.go:76-85 | cli/dispatcher/internal/compilecheck/predefined_sources.go:98-114 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/input_key_identity.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"af375e6684c31e7e5a718633481888300113f4e4ce24db5c64cdb81a514e1e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cli/release-automation/internal/automation/file_length_sloc.go:206-224 | cli/release-automation/internal/automation/file_length_sloc.go:226-244 \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":"cli/release-automation/internal/automation/file_length_sloc.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"faed2c45283c90175808a100ddf1c581f509d546c699118a5da292db0b6d2733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/release-automation/cmd/stamp-dispatcher-pin/main.go:43-54 | cli/release-automation/internal/automation/dispatcher_pin_push.go:231-241 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/cmd/stamp-dispatcher-pin/main.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57d4d62a39bc08af862bfdbf6374592329dd52531c9317ac7584a1f4c014a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/common/version/compare.go:144-161 | cli/project-runner/internal/projectrunner/compile_wait.go:169-186 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/version/compare.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d51feae56f9894fe3b5af57ac1ae283e73b2948684de15e173fcac4306a140"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/release-automation/internal/automation/publish_coverage_trend.go:45-55 | cli/release-automation/internal/automation/unity_package_release_create.go:70-77 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/publish_coverage_trend.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7141dab994cd39032fe9587366f4db31c9d76989ecbd7ba2ef091975d52db11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/release-automation/internal/automation/coverage_report.go:341-354 | cli/release-automation/internal/automation/coverage_report_csharp.go:227-234 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/coverage_report.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32db5f7efdb1485872f5acc603946e15e29610b44f6d409ab6e75fd8a3c923f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/project-runner/internal/projectrunner/record_video_extract.go:124-137 | cli/project-runner/internal/projectrunner/record_video_one_shot.go:289-299 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/record_video_extract.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3980feaaae128103359ede0d6c484964b1a8cf24cfe2827ba697888937a8f42c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/dispatcher/internal/dispatcher/launch_lockfile_probe_unix.go:14-28 | cli/dispatcher/internal/compilecheck/fastcheck/bootstrap.go:311-324 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch_lockfile_probe_unix.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb10ba572e17567bb371c24861c1bd5821ee8ac2cd0b3363f37d88996f195d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/dispatcher/internal/dispatcher/launch_ready.go:196-204 | cli/project-runner/internal/projectrunner/dialog_command.go:349-358 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch_ready.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5811e8a0b70fc309b5af78b2e5e45080c1d728936a7be966b3f23c48de07f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cli/common/unityprocess/lsappinfo_output.go:16-27 | cli/common/unityprocess/lsappinfo_output.go:29-40 \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":"cli/common/unityprocess/lsappinfo_output.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"484cce1b0ef1cbe60658cdf2be5bf79f58efb5dd77c63e5010baf7c12c50bb30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/project-runner/internal/projectrunner/early_dialog_report.go:204-212 | cli/project-runner/internal/projectrunner/pause_point_ipc.go:16-26 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/early_dialog_report.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf5dce5a7e33a6464aedfb2e784adb5a9573a63f77d7c4b0c91582971beea3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cli/common/errors/error_envelope.go:323-336 | cli/common/errors/error_envelope_classification.go:175-189 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/errors/error_envelope.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb984c4ceb35bd3e81711f5acf15e0492dc9b056587f55e519f17ffc3fd4136c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go:323-337 | cli/project-runner/internal/projectrunner/hot_reload_compile_fallback.go:154-164 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5087b46dc02614face35b95cc9ca6adf40933e861a1eb896f6823dd7a54b64b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/dispatcher/internal/dispatcher/install.go:163-169 | cli/dispatcher/internal/dispatcher/uninstall.go:102-108 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/install.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"004a6431d7b81fc9d51ad322fec37d38ad84174914e23dd3e0facdb223ffcef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/common/clicore/command_registry.go:111-118 | cli/project-runner/internal/projectrunner/pause_point_unknown_option.go:94-105 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/clicore/command_registry.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ba9bd627d4b342d956a54bda44b360219e2fa35df251335664300f4e42310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/common/unityprocess/unitydialog/inspect.go:231-239 | cli/common/unityprocess/unitydialog/win32.go:257-266 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/unitydialog/inspect.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"57373e0c3a8cb9dd27f2c3419098f600b4016176adfdafdabc3e0675c3029538"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/dispatcher/internal/compilecheck/source_set.go:396-403 | cli/dispatcher/internal/dispatcher/skills_dispatch.go:173-183 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/source_set.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0c461e0962e9fb65a71590e76f4bc5e9003f276996c9460105751f660e908b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/dispatcher/internal/dispatcher/launch_editor_version_error.go:10-20 | cli/dispatcher/internal/dispatcher/launch_log_file.go:101-111 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch_editor_version_error.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ab52cfd029f506609ea890934ee9e46f09c0757a01bd07815ff86fd679507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/project-runner/internal/projectrunner/pause_point_file_line_id.go:26-34 | cli/project-runner/internal/projectrunner/pause_point_wait_options.go:59-67 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_file_line_id.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a8e7cb5cd50434e9dd5bb6c6550089e590759bbf11fdfdd4490e1db262141f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/dispatcher/internal/compilecheck/resultstore/baseline.go:226-238 | cli/project-runner/internal/projectrunner/pause_point_trigger.go:220-230 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/resultstore/baseline.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c38a8e27827477afe876d98f34eb65e71b83e30606dee8e002aaf6cd9d9032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/dispatcher/internal/compilecheck/assembly_reference.go:64-73 | cli/dispatcher/internal/compilecheck/input_key_identity.go:105-113 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/assembly_reference.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbf7a0f557bef3cefaa5d05274e81d11579073d6c11633e8b393fa39318e330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): cli/release-automation/internal/automation/package_release_pr_ready_merge.go:210-213 | cli/release-automation/internal/automation/release_pr_checks.go:341-344 \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":"cli/release-automation/internal/automation/package_release_pr_ready_merge.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa5926b67fbe5a6b388237dfa67df2a3a92783b89b75143dd822bfee7daa631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cli/project-runner/internal/projectrunner/pause_point_status_options.go:100-109 | cli/project-runner/internal/projectrunner/pause_point_wait_options.go:78-85 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_status_options.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dc9b27b20f603638ceafb9b147ce3feebafd5d7bff9845e5f1b709df77efe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): cli/release-automation/cmd/cancel-superseded-waiting-runs/main.go:10-12 | cli/release-automation/cmd/check-package-pin-consistency/main.go:14-16 | cli/release-automation/cmd/create-unity-package-release/main.go:14-16 | cli/release-automation/cmd/merge-package-release-pr/main.go:13-15 | cli/release-automation/cmd/plan-unity-package-release/main.go:15-17 | cli/release-automation/cmd/publish-coverage-trend/main.go:10-12 | cli/release-automation/cmd/update-homebrew-formula/main.go:10-12 | cli/release-automation/cmd/update-winget-manifest/main.go:10-12 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/cmd/cancel-superseded-waiting-runs/main.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2380a5faef7c6190604f47b7001f6c70d70150bb5472760f858c9c40331577da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/common/skillscan/packages.go:355-361 | cli/dispatcher/internal/dispatcher/dispatcher_periodic_update.go:57-63 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbab40f00c8baadd40f11817db2db7a643460779de281eab49861d5551abaf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): cli/common/errors/command_suggestions.go:49-73 | cli/project-runner/internal/projectrunner/tool_param_suggestions.go:249-273 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/common/errors/command_suggestions.go:49\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. Check import visibility before settling on that home: \u0060cli/project-runner/internal/projectrunner/tool_param_suggestions.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/errors/command_suggestions.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdebeef9b5e8223dadb2e9b2a335ff1da3f7ca38cfacfbb9fa9ed745567fe6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): cli/project-runner/internal/projectrunner/pause_point_enable.go:453-471 | cli/project-runner/internal/projectrunner/pause_point_wait.go:379-398 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/project-runner/internal/projectrunner/pause_point_enable.go:453\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. 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":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd7e13b9df7bebd8c50a7211c69f49e76eda1e26bd81b33fbc7a6bd0739fd6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cli/project-runner/internal/projectrunner/compile_attach.go:279-297 | cli/project-runner/internal/projectrunner/compile_wait.go:221-239 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/project-runner/internal/projectrunner/compile_attach.go:279\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_attach.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143d4c5b98e218fa415a24d11ed95732bf3032c449443a0fbe5e865cd4f8fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/dispatcher/internal/dispatcher/package.go:147-162 | cli/dispatcher/internal/dispatcher/package.go:201-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/dispatcher/package.go:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/package.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1d15a7b85be10a994b7c1a1ffa14da5e8812d56b2ca115c5ad7d7fe980a0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/dispatcher/internal/dispatcher/skills_dir_status.go:299-314 | cli/dispatcher/internal/dispatcher/skills_dir_status.go:332-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/dispatcher/skills_dir_status.go:299\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills_dir_status.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2170740a68ffef1b69dc1359fde8a1fb5e903c08adc27d417c4e316bd579880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): cli/project-runner/internal/projectrunner/pause_point_enable.go:395-410 | cli/project-runner/internal/projectrunner/pause_point_wait.go:332-343 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/project-runner/internal/projectrunner/pause_point_enable.go:395\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e681c26797b2633ee013d3a8478073c653196bd8bcb2d3abf3b1d1922e88be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/dispatcher/internal/compilecheck/result_cache.go:150-162 | cli/dispatcher/internal/compilecheck/resultstore/store.go:125-137 \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":"cli/dispatcher/internal/compilecheck/result_cache.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cea3ea5a28e32a2f718a1bb3ebae370c53c1802f0b22fab25f50693cf6ede92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/dispatcher/internal/dispatcher/skills.go:275-286 | cli/dispatcher/internal/dispatcher/skills_v3_migration.go:44-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f096c00c2831022eed0764154238fbdb97d787113d08a33bdf5d8429a3dff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/dispatcher/attestation/verifier.go:189-199 | cli/dispatcher/attestation/verifier.go:229-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/attestation/verifier.go:229\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/dispatcher/attestation/verifier.go:227\u0060 calls \u0060Errorf\u0060 and \u0060cli/dispatcher/attestation/verifier.go:188\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/attestation/verifier.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc134214a51f1b4709dac10931b69518c8ef5df8dbcd705652e0da0414c4f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/release-automation/internal/automation/dispatcher_pin_guard.go:112-122 | cli/release-automation/internal/automation/dispatcher_pin_stamp.go:88-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_guard.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2c5df4f7b510447a888a161aeb90ef0cd21c696740370e20e6ad993d1bbb51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/dispatcher/internal/dispatcher/dispatcher_periodic_update.go:172-181 | cli/dispatcher/internal/dispatcher/dispatcher_required_update.go:41-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_periodic_update.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d050a4df4790e0b0b5594e99e7af215d356993a4727cce61fb64fec740a8220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/release-automation/internal/automation/contract_file_at_ref.go:131-143 | cli/release-automation/internal/automation/contract_file_at_ref.go:157-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/release-automation/internal/automation/contract_file_at_ref.go:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/contract_file_at_ref.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d583aba635b1dd327a3b28de536a450dab38178e67a95c72342b7cdbc3daab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/release-automation/internal/automation/contract_file_at_ref.go:198-207 | cli/release-automation/internal/automation/release_pr_checks.go:423-432 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/release-automation/internal/automation/contract_file_at_ref.go: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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/contract_file_at_ref.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23f2a93e0659721dbd8111dcf708adcc5c7429f6cedd298f9cc9b45638e2f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): cli/dispatcher/internal/dispatcher/skills.go:258-266 | cli/dispatcher/internal/dispatcher/skills.go:282-290 | cli/dispatcher/internal/dispatcher/skills_v3_migration.go:27-35 | cli/dispatcher/internal/dispatcher/skills_v3_migration.go:51-59 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/dispatcher/skills.go:258\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/dispatcher/internal/dispatcher/skills.go:256\u0060 calls \u0060WriteFormat\u0060 and \u0060cli/dispatcher/internal/dispatcher/skills_v3_migration.go:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5053200ee8d1ebb0fd5a431d53f7eb7217db8f6a2c09df26898fbe7610cba29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/dispatcher/internal/compilecheck/assembly_set.go:52-61 | cli/dispatcher/internal/compilecheck/predefined_sources.go:99-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/compilecheck/assembly_set.go:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/assembly_set.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8db8dc093a6c4f82a95a72ac2308f2752ba490cd9eda7659cde4acf3379918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): cli/dispatcher/internal/dispatcher/dispatcher_v2_run.go:123-129 | cli/dispatcher/internal/dispatcher/run_dispatcher.go:296-303 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/dispatcher/dispatcher_v2_run.go:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_v2_run.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"81302c50b90b3c73b9ce0a66d0a23b09b8e22de1a16b1ad7b135848455d8d0f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/dispatcher/internal/dispatcher/skills.go:247-254 | cli/dispatcher/internal/dispatcher/skills_v3_migration.go:19-26 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/dispatcher/internal/dispatcher/skills.go:256\u0060 calls \u0060WriteFormat\u0060 and \u0060cli/dispatcher/internal/dispatcher/skills_v3_migration.go:27\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa841f3dc48f8089d8419604c9f8f5160a9ee5fc9e20620b4afae6ea72afee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/dispatcher/internal/dispatcher/skills_dir_status.go:291-298 | cli/dispatcher/internal/dispatcher/skills_dir_status.go:321-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/dispatcher/skills_dir_status.go:291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/dispatcher/internal/dispatcher/skills_dir_status.go:329\u0060 calls \u0060Type\u0060, \u0060IsRegular\u0060, \u0060Errorf\u0060 and \u0060cli/dispatcher/internal/dispatcher/skills_dir_status.go:299\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills_dir_status.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3294262040118e8c8c362944bd929d8761afb43b0d95fe6899c827df99356d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/project-runner/internal/projectrunner/dynamic_code_wait.go:61-69 | cli/project-runner/internal/projectrunner/dynamic_code_wait.go:88-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/dynamic_code_wait.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a392a95a6f2bed23f8ce8f912813b561c500cbb3443a7dbbfd994592945b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/release-automation/internal/automation/dispatcher_pin_freshness.go:217-224 | cli/release-automation/internal/automation/dispatcher_pin_stamp.go:220-227 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/release-automation/internal/automation/dispatcher_pin_freshness.go:217\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_freshness.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43ed099e950a69cea20313f50db132944d9f7058a1177aa6b03ea3f91184dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/dispatcher/internal/install/command.go:82-88 | cli/dispatcher/internal/uninstall/command.go:99-105 \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":"cli/dispatcher/internal/install/command.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aefd2708d84e0207f8a2dd1c772303414f702a03b612e56c37143181c7be55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/project-runner/internal/projectrunner/compile_attach.go:321-326 | cli/project-runner/internal/projectrunner/compile_wait.go:262-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/project-runner/internal/projectrunner/compile_attach.go:321\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_attach.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"66593234a4a615827f0b71f522286a1d81cf91e937defe464e1f459e3a595b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cli/common/version/compare.go:80-86 | cli/dispatcher/internal/dispatcher/dispatcher_pin.go:98-104 | cli/release-automation/internal/automation/protocol_minimum_version_guard.go:199-205 \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. Check import visibility before settling on that home: \u0060cli/dispatcher/internal/dispatcher/dispatcher_pin.go\u0060, \u0060cli/release-automation/internal/automation/protocol_minimum_version_guard.go\u0060 sit under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/version/compare.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c16607f064b05730bceebba6271c447182cef887ad2906058b26c9c055373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/dispatcher/internal/dispatcher/compile_check.go:202-208 | cli/dispatcher/internal/dispatcher/launch.go:446-451 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/compile_check.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab206734795200685e57e16083ad2e68836db7725437ec06d69da9983acf655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/dispatcher/internal/dispatcher/compile_check.go:388-396 | cli/dispatcher/internal/dispatcher/launch_options.go:111-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/dispatcher/compile_check.go:388\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/compile_check.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f655ea420f54f55543886ef7514aae42956a517d38df1a5a99c400b1c6c8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/dispatcher/internal/dispatcher/skills_dir_cleanup.go:79-91 | cli/dispatcher/internal/dispatcher/skills_targets.go:158-170 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/skills_dir_cleanup.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f756de7adc78b502d8c2a758ff550bb10723722f785b96a5c684ecca870ce17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/project-runner/internal/projectrunner/pause_point_release_recovery.go:144-153 | cli/release-automation/internal/automation/release_pr_checks.go:30-40 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Check import visibility before settling on that home: \u0060cli/project-runner/internal/projectrunner/pause_point_release_recovery.go\u0060, \u0060cli/release-automation/internal/automation/release_pr_checks.go\u0060 sit under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_release_recovery.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d80e859117b4992f571acd495718abfc013a91805de8e27a948108a3e7d8d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): cli/common/tooldocs/pause_point_cli_options.go:218-230 | cli/common/tooldocs/pause_point_cli_options.go:235-247 | cli/common/tooldocs/record_video_cli_options.go:64-76 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/common/tooldocs/pause_point_cli_options.go:218\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/tooldocs/pause_point_cli_options.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"951d6967647896de33ee270d3c98dd9b2f231f63fd615fe954929bdbe4686c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/common/tooldocs/tool_option_help.go:143-153 | cli/common/tooldocs/tool_options.go:57-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/tooldocs/tool_option_help.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"32baa05d44d3c4e4a7516ff63811a366d61f42b8c8428a94aa2813e4f92622a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/common/vibelog/cli_vibe.go:81-87 | cli/project-runner/internal/projectrunner/debug_timing.go:83-89 \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. Check import visibility before settling on that home: \u0060cli/project-runner/internal/projectrunner/debug_timing.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/vibelog/cli_vibe.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1060b8ebc650bc2a766ef4c5bc7b0810a26d66a14266d412610695d0e94754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/release-automation/cmd/check-dispatcher-pin-freshness/main.go:13-18 | cli/release-automation/cmd/check-release-please-gate/main.go:13-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/cmd/check-dispatcher-pin-freshness/main.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"74096d951357ef7f4e7b4bb4e842d9bc0cec09ef9002a180cb16dc19930c973a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/project-runner/internal/projectrunner/run.go:386-396 | cli/project-runner/internal/projectrunner/run.go:417-427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/project-runner/internal/projectrunner/run.go:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/project-runner/internal/projectrunner/run.go:415\u0060 calls \u0060runSync\u0060 and \u0060cli/project-runner/internal/projectrunner/run.go:383\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/run.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd41fa9952281df1de6955c17c26ec465e70e8a863c3ef0ae56eabf5f6321fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go:291-300 | cli/project-runner/internal/projectrunner/record_video_one_shot.go:269-278 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0264f34d0afa09835e94c8c3f107cff7d32800e9c7b9f8d67079c1ecd4798d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/dispatcher/internal/nativepath/path.go:89-96 | cli/dispatcher/internal/nativepath/path.go:121-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/dispatcher/internal/nativepath/path.go: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 matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/nativepath/path.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e5d925e345a8ca64ff43bffea8649c39dd2a858e76d2e5442b6ad4810ea270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/release-automation/internal/automation/dispatcher_pin_freshness.go:210-216 | cli/release-automation/internal/automation/dispatcher_pin_stamp.go:212-218 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/release-automation/internal/automation/dispatcher_pin_freshness.go:210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_freshness.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b658affe7b7f1cf519978b2b72f711b5e3603bee0a6c3e4b4204bcd5cd49bd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): tools/UnityCliLoop.CodeComplexity/CodeComplexityReporter.cs:34-60 | tools/UnityCliLoop.DeadCodeScanner/DeadCodeReporter.cs:34-63 \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":"tools/UnityCliLoop.CodeComplexity/CodeComplexityReporter.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f92cdd40eb5e5fbb75374ff4621a0494422bc9070bd294738822654255f9ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs:136-152 | tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs:207-219 \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":"tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"88529b579817bba9e650ca8e3fbbf4c95a6933fe0977c342c061a22548c1cba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): tools/UnityCliLoop.CodeComplexity/CodeComplexityAnalyzerRunner.cs:161-173 | tools/UnityCliLoop.CodeComplexity/ConfigureAwaitGuard.cs:193-199 \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":"tools/UnityCliLoop.CodeComplexity/CodeComplexityAnalyzerRunner.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"930500e6270feda7ab9bf1cb9e9834824ff69672c4a2c4f00883ccfeca8d2c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/smoke-compile-get-logs.py:73-77 | scripts/smoke-uloop-launch.py:175-178 \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":"scripts/smoke-compile-get-logs.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"01844a7ab7be5968473172c8214f91569a63f72cfa8057b46e5d176c60edac08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): scripts/smoke-compile-get-logs.py:16-23 | scripts/smoke-uloop-launch.py:15-22 \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":"scripts/smoke-compile-get-logs.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae9649d45e9c3e0bc9c60e14e67e4f36a69e9edde5541f68f0aaa1ea0333dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs:75-94 | tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs:113-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cc89ae9ea31f1dc4d8427bedb2d1aa1d68eb5d814f6282c48bbcdc3e619f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs:116-133 | tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs:255-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/UnityCliLoop.DeadCodeScanner/UnityKeeperClassifier.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"648d8e8a6ea17acdfa7d7a7df5c8830e85967a215643f4cf685151eb8a123493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): tools/UnityCliLoop.CodeComplexity/CodeComplexityAnalyzerRunner.cs:121-133 | tools/UnityCliLoop.CodeComplexity/ConfigureAwaitGuard.cs:178-190 | tools/UnityCliLoop.DeadCodeScanner/AsmdefWorkspaceBuilder.cs:309-321 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/UnityCliLoop.CodeComplexity/CodeComplexityAnalyzerRunner.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0133855ce2b299d0de53defe42eab03c522c7b1b1e0dae09b7672c8bdf1c3c1"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.Editor: UnityCLILoop.FirstPartyTools.Editor has instability 0.90 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"058eb57c3058d20e2ad7d821873abb74b8b7ddd50c85f62128fb4d6ae9370ffe"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.HotReload.Editor: UnityCLILoop.FirstPartyTools.HotReload.Editor has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e45bb8c463b7777ebd7e86ec4f915a106857abd7b2dbc08d052f7abe88dfd4c6"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.HotReload.Patching.Editor: UnityCLILoop.FirstPartyTools.HotReload.Patching.Editor has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8473c295ff6d43bdd266b4dc4d163daa749f4c7b6be3f95367465c09ecc3e5fd"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.RecordInput.Editor: UnityCLILoop.FirstPartyTools.RecordInput.Editor has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dbe4ca738779ed0d8b24c3bd40aceb2d3c191fce346757f67038a755c2e82a43"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.RecordVideo.Editor: UnityCLILoop.FirstPartyTools.RecordVideo.Editor has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e64f56723fd946128949c9a82cef8d29dd7d121cfbafab2b07f76a4717c8aa07"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.ReplayInput.Editor: UnityCLILoop.FirstPartyTools.ReplayInput.Editor has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40e1415b1a2461b4c672bd30a8c10fa616deb7ca0bbe39d854f9e6f8002439fd"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.Screenshot.Editor: UnityCLILoop.FirstPartyTools.Screenshot.Editor has instability 0.82 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1cce9c75dbc0d6900658d4d68674dcf61c8b4a4d8e927bb030f7701609e48b71"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.SimulateKeyboard.Editor: UnityCLILoop.FirstPartyTools.SimulateKeyboard.Editor has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5988edf77540aaa4c542fd5dd39041a269d927414e3da7b5b39bc1785640d905"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.SimulateMouseInput.Editor: UnityCLILoop.FirstPartyTools.SimulateMouseInput.Editor has instability 0.90 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eff98b9823bb7d76100ef3854fec459653290c85ad3190b58b9e521506fa4f9d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.FirstPartyTools.SimulateMouseUi.Editor: UnityCLILoop.FirstPartyTools.SimulateMouseUi.Editor has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"497e05ab2ebc085bc7b77d27cf009cc62d813387077e70f4c769ab2cd488d6b6"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project UnityCLILoop.Infrastructure: UnityCLILoop.Infrastructure has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1943564a4830c04757f487062caa9d1f023ca2f7c6bb00e0b6a4bc2973460f56"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Unity.InternalAPIEditorBridge.024: Unity.InternalAPIEditorBridge.024: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4440440ee380575f19997e13874d736ef4af9f500f9ae43c365da26ddeb6c0c3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UnityCLILoop.PausePoints.Runtime: UnityCLILoop.PausePoints.Runtime: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"375d66e5866c2778062ff822262941c47ea729b94b65c6d3f252ff1e084d9924"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UnityCLILoop.Domain: UnityCLILoop.Domain: abstractness 0.12, instability 0.13, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"647ba5c81e37bc6166f4dc6ffb2b1063d77985cbfa974dfc48ca010a2e6a3295"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: user32API (LCOM4 7): user32API\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/focus_windows_user32.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0375d82771ea8625ccdd1335cd69d6da1bc584026687fbd6d5fb3c0e627692e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExecuteDynamicCodeResponse (LCOM4 5): ExecuteDynamicCodeResponse\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/ExecuteDynamicCodeResponse.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"537fd4f25229e28c3720409e76cd366c0f4a501d9ade1fb327d7b3324b37d9cc"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ReadLineAsync_WhenCanceledDuringWait_ShouldThrowAndAllowPipeClose: This test starts a background task and then orders itself against it with \u0060Task.Delay(20)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/SharedRoslynCompilerWorker.UnitTests/SharedRoslynCompilerWorkerLineReaderTests.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f54908324e42bafa54ed03e7f98d7567c816e7dccc2d79a514592b3794751f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/adr/0001-csharp-security-scan-engine.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0001-csharp-security-scan-engine.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d252f0f99984139eac6a180985f0701cccc4ed4fd9ccff2fe3080f6b677766"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/0002-dispatcher-runner-split.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0002-dispatcher-runner-split.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5141722c47f4c51a9b98bba1e4d05d8ec459cdd2b4bc925d1e32daff0aba55db"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060skillscan.FindUnityCliLoopPackage\u0060 signals absence with comma-ok \u0060(T, bool)\u0060 where its 3 sibling single-key reads use a bare \u0060T\u0060 (the zero value when absent): 3 of 4 single-key reads of \u0060package skillscan\u0060 return a bare \u0060T\u0060 (the zero value when absent) (3 of 4). Siblings: skillscan.CliOnlySourceRoot (cli/common/skillscan/cli_source.go:7); skillscan.ResolvePackageRoot (cli/common/skillscan/packages.go:223); skillscan.FallbackSkillName (cli/common/skillscan/sources.go:137). Return a bare \u0060T\u0060 (the zero value when absent) like its siblings. [rule A5]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"18819a6a2afd1c2f4577d7f90ee875f71980d75cc4d3ef2c282549287b31063a"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a505f8e8d04da1638e618b662ef8d12146d1da71c251a797313cc5cc003937aa"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14a3fc5bdb3b7373c4f7324bd084dfda37bff10510bad1765378a150e82645e0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b94ce88bdbeadbe2b4a22941b835f03242700f4dc3dd88fad58ad9118977d419"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5c8d2c5ec5d3bc4da02ee8fcd247a83e289abdcb41617edb8118e4ba5710aff"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8148951e341915994f061d89ee33e08e5f6d7d6d029a9612a6fad9ef07c03b94"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5db5a42960e1b4d1e0d78a36ae65a39b311fdc934fd06c416b25a72bad2dbff8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"279972430f01ebbc5ee43a4632f6f53c14043e336e39d9e60d243e666205ff18"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9357ec1acc65102aa69c8f329bffc3e2fa94f89f263dff5a80193a20a4001329"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17384554b5430742eac8270b3e62a05d6b31121fac45e459cca8f9cf522f4bf2"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c7da0e6e1bbd554fcd7cf0d341f185756c617eb888cbfa1241e5b00a9aa7882d"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21175c466767edaff987fad1f6fe39a85e23db63b0f234bbffb3b96c64650c86"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17dbab03600b671b0f40856e1c2c2bf30d1c6ddc2674d698a1afe0ffd15e87e5"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b51a0f2504b19cbaf1d0f23508c4b3182eabb00dc746983d43fb32f3d97cb45e"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd74ed59449215c916d7e0432f2c9719f3ae8235326656b6e8b2ef8daafd014c"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0af78a5d0ead261daea77bd933128cf17b9f1e2c448224aaa880c57da2115fde"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6ac15a1fd77f4c0839eb5ab1c2c2bee9bbb868a1206b6a93b4130bdc0a27981"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a9eb9547ab5963b0d64b0a92a468afc5ba9c9f0c4a1df53a8ee7426b3213d8d"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"bc86d4f44def5251d9310dfa59bb274a639ec1cc526a1b1402541384c6240f45"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"cli/common/clicore/tool_settings.go","line":5}}}},{"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":"0552cd28ea365377081677bb0fc11521db21251b5e4a9289a430faacb8d5fb42"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"cli/dispatcher/attestation/fetcher.go","line":52,"symbol":"http.NewRequestWithContext"}}}},{"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":"2f2620acad04dbb42ff0edec73a6dc3e06029587b2f37f2c9483ae3943352de4"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"762cacd0f47457b8e23ea68aa73bb562e71bf1053487fe93cffab0d413a20b9b"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.61.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0981c43ddb47e86582cd0203f890ee2959124bb49a80c97c3423ca67c659675c"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"cli/project-runner/cmd/project-runner/main.go","line":5}}}},{"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":"6fc6c3f992aff7fb5eb599949430dda5aee247bad5e41b0ea33dfab0e60aee64"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"cli/release-automation/internal/automation/dispatcher_pin_freshness.go","line":208,"symbol":"http.NewRequestWithContext"}}}},{"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":"d2320fc002820d056ce33e4bfade8f0985ef2f6bb955ff0c53a889b8f256dae3"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"889020bc13167eefd13e7c95896d05ac99cd69ebcbdb72f32e612c19a3343d52"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.61.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: PausePointStatusBridgeCommand.cs \u2194 UloopPausePointEntry.cs: \u0060Packages/src/Editor/Infrastructure/Api/PausePointStatusBridgeCommand.cs\u0060 (context Editor) and \u0060Packages/src/Runtime/PausePoints/UloopPausePointEntry.cs\u0060 (context Runtime) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f5f4e339\u0060 feat: gate pause-point hits with the hit-when condition (#2405); \u0060d1e3c21f\u0060 feat: report method entry counts for expired pause points (#2402); \u0060779c32b5\u0060 feat: add a max-caller-frames option to enable-pause-point \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/Api/PausePointStatusBridgeCommand.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f72744d6af15e7183d72b13928efa1abb4fbbb45d4a777e48cf04ec9a0c8f3"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: PausePointStatusBridgeCommand.cs \u2194 pause_point_types.go: \u0060Packages/src/Editor/Infrastructure/Api/PausePointStatusBridgeCommand.cs\u0060 (context Editor) and \u0060cli/project-runner/internal/projectrunner/pause_point_types.go\u0060 (context cli) sit in DIFFERENT parts of the tree yet change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060c8e1fe63\u0060 fix(pause-point): carry every warning in Warnings and point Message a\u2026; \u0060aee4288a\u0060 feat: list all markers when pause-point-status omits --id (#2413); \u0060f5f4e339\u0060 feat: gate pause-point hits with the hit-when condition (#2405) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/Api/PausePointStatusBridgeCommand.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dddeae09bfb5fe980d869f115dd7713f10330dc4a9907ef16f888ddf834478"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: PausePointStatusBridgeCommand.cs \u2194 pause_point_wait.go: \u0060Packages/src/Editor/Infrastructure/Api/PausePointStatusBridgeCommand.cs\u0060 (context Editor) and \u0060cli/project-runner/internal/projectrunner/pause_point_wait.go\u0060 (context cli) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c8e1fe63\u0060 fix(pause-point): carry every warning in Warnings and point Message a\u2026; \u0060aee4288a\u0060 feat: list all markers when pause-point-status omits --id (#2413); \u0060c0d7a93d\u0060 fix: Pause points no longer expire before await-pause-point can obser\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Infrastructure/Api/PausePointStatusBridgeCommand.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139aafbaf233999497855988309a53aa10fbbe44f6e7cebf0fca7d6b17e8e950"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: UloopPausePointEntry.cs \u2194 pause_point_types.go: \u0060Packages/src/Runtime/PausePoints/UloopPausePointEntry.cs\u0060 (context Runtime) and \u0060cli/project-runner/internal/projectrunner/pause_point_types.go\u0060 (context cli) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f5f4e339\u0060 feat: gate pause-point hits with the hit-when condition (#2405); \u0060d1e3c21f\u0060 feat: report method entry counts for expired pause points (#2402); \u0060779c32b5\u0060 feat: add a max-caller-frames option to enable-pause-point \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Runtime/PausePoints/UloopPausePointEntry.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7126b66056e2102c1e6e1fb888f141752ae3374fa34f5f9345f0525b3b926d4e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: PausePointTools.cs \u2194 UloopPausePointEntry.cs: \u0060Packages/src/Editor/FirstPartyTools/PausePoint/PausePointTools.cs\u0060 (context Editor) and \u0060Packages/src/Runtime/PausePoints/UloopPausePointEntry.cs\u0060 (context Runtime) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f5f4e339\u0060 feat: gate pause-point hits with the hit-when condition (#2405); \u0060d1e3c21f\u0060 feat: report method entry counts for expired pause points (#2402); \u0060779c32b5\u0060 feat: add a max-caller-frames option to enable-pause-point \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/PausePoint/PausePointTools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b5b54443387a352274d2792ef58437ca6c723107dcc07aec7498f6a43d4f87"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SetupWizardWindow.cs \u2194 CliSetupSection.cs: \u0060Packages/src/Editor/Presentation/Setup/SetupWizardWindow.cs\u0060 and \u0060Packages/src/Editor/Presentation/UIToolkit/Components/CliSetupSection.cs\u0060 change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00600a2b5fc3\u0060 fix: Unity no longer installs a duplicate CLI over a Homebrew-managed\u2026; \u0060bae3a4a2\u0060 feat: Unify skills setup UI into a shared panel for settings and setu\u2026; \u00607aa37fda\u0060 feat: Show live progress feedback while installing the CLI (#1959) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Presentation/Setup/SetupWizardWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81af7e93e5c71f69fc650d439489fc176769336cf080626b8203449184c270c1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pause_point_enable.go \u2194 pause_point_types.go: \u0060cli/project-runner/internal/projectrunner/pause_point_enable.go\u0060 and \u0060cli/project-runner/internal/projectrunner/pause_point_types.go\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c8e1fe63\u0060 fix(pause-point): carry every warning in Warnings and point Message a\u2026; \u0060ea30b1e2\u0060 feat: report the line resolution basis in enable-pause-point response\u2026; \u00607332b030\u0060 feat: echo enable-time resolved marker fields on expired pause-point \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24136dac15bd405c0fcc7d6fd80db1e06318c28a0ab22a0bc03141531850316"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CliSetupSection.cs \u2194 UnityCliLoopSettingsWindow.cs: \u0060Packages/src/Editor/Presentation/UIToolkit/Components/CliSetupSection.cs\u0060 and \u0060Packages/src/Editor/Presentation/UnityCliLoopSettingsWindow.cs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060bae3a4a2\u0060 feat: Unify skills setup UI into a shared panel for settings and setu\u2026; \u0060563a9f4d\u0060 chore: Consolidate CLI setup action decisions; \u00600a7fd774\u0060 fix: Setup now shows CLI update prompts for outdated CLI installs (#1\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/Presentation/UIToolkit/Components/CliSetupSection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6dc0e61b8cc6c825e0afa59f083ba4a1fca071dfce5687ee4f4ce684945269"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CompileController.cs \u2194 CompileUseCase.cs: \u0060Packages/src/Editor/FirstPartyTools/Compile/CompileController.cs\u0060 and \u0060Packages/src/Editor/FirstPartyTools/Compile/CompileUseCase.cs\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00605b8d65eb\u0060 feat: warn in the compile response when the compile stops an active P\u2026; \u0060e74a6d84\u0060 chore: Avoid duplicate compile result persistence; \u0060b7a95f94\u0060 chore: Split compile response persistence responsibilities \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/Compile/CompileController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5574d74716a9f54e05fa7f2c06529457c09a0b74299deb9911fd5ad62d1087eb"}},{"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":"e999f6083c4021a6436ec9a1e31c4dd1637095e4e20a2f34023a0e24338f6861"},"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: tests/CompileCheckWorker.UnitTests/CompileCheckWorker.UnitTests.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/CompileCheckWorker.UnitTests/CompileCheckWorker.UnitTests.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"833052aef8fed8fff4f2fedf55a392e3e58dc048b7b988c82a469d1d41453aa6"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: UnityCLILoop.Dev \u2192 UnityCLILoop.FirstPartyTools.RunTests.Editor: \u0060UnityCLILoop.Dev\u0060 (production) references the test project \u0060UnityCLILoop.FirstPartyTools.RunTests.Editor\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"53e9c124c3f044f4f05d8ea13127ab2da8d27539924c5970b339efac04381fb4"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: UnityCLILoop.Dev \u2192 UnityCLILoop.FirstPartyTools.RunTests.TestFramework.Editor: \u0060UnityCLILoop.Dev\u0060 (production) references the test project \u0060UnityCLILoop.FirstPartyTools.RunTests.TestFramework.Editor\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"83097376e19e2c7c29e54c6ced98e1f3d99cb68567d494012ac30fc5587bcd4e"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: UnityCLILoop.FirstPartyTools.Editor \u2192 UnityCLILoop.FirstPartyTools.RunTests.Editor: \u0060UnityCLILoop.FirstPartyTools.Editor\u0060 (production) references the test project \u0060UnityCLILoop.FirstPartyTools.RunTests.Editor\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e66f7abb81694ebdfb957c67b3ffa1e77a2f1b64942ef067c53db95b1e09b99e"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: UnityCLILoop.FirstPartyTools.Editor \u2192 UnityCLILoop.FirstPartyTools.RunTests.TestFramework.Editor: \u0060UnityCLILoop.FirstPartyTools.Editor\u0060 (production) references the test project \u0060UnityCLILoop.FirstPartyTools.RunTests.TestFramework.Editor\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3edb35f6aedd614086f4b0364806c43e1a10320bd348631c53ab990e7bc4e129"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P12","level":"note","message":{"text":"Sleep-based test synchronization: 26 Task.Delay/Thread.Sleep call(s) in test code synchronize with background work by sleeping \u2014 a known flakiness precursor on slow runners. Prefer polling with a deadline or completion signals."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a03a2c4f0cdb020131eedb5050e85716d2d15c3e6c049458617ddd83166de9e"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch nuget/npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060nuget\u0060, \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a563971a075117079fac3d75aa5a0b69ea12737fdbf1310b6f7123d5af8746a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 5 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/SharedRoslynCompilerWorkerAssemblyBuilder.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c780697e85fbaf8069ce7822397c7bf1429f5d05ddf2873755bbb98bb9627"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DynamicCompilation/SharedRoslynCompilerWorkerAssemblyBuilder.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7485d276ecba663e2d4fd356c212247077c4d574615f81ce90b5c47025b4c18"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/HotReloadSourceSnapshotCapture.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d715d90b679ba30917a725d347d60f2965061686aca542c7a5d4f681d6bc772"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/TransformWorkerServeProtocol.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44cb511b853c71df377cc15263a56abe5af7b49a8c942b0c4ec631616c6685d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/TransformWorkerServeProtocol.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc2fcf7bf9484aef8a0ba30ebbb03e1a5b8aa112f15c601f6c03f430a61763"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/Editor/FirstPartyTools/HotReload/Shared/HotReloadSourceBaseline.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaae556829b5d11406f40689805ff5dbebff6ea6038e7a95e13da1e337807bf6"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: Directory.Build.props declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5df2358ac9bbb5df3ab3435ed46affc15fd0ed8bc8cde2b32fce6e6461c2dee"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/CompileCheckWorker.UnitTests/CompileCheckWorker.UnitTests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/CompileCheckWorker.UnitTests/CompileCheckWorker.UnitTests.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"016b791a8a4e88a09e9c268f218ca5accb772a7d5724232cb4c184e10acc281c"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/DynamicCodeExecutionScheduler.UnitTests/DynamicCodeExecutionScheduler.UnitTests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/DynamicCodeExecutionScheduler.UnitTests/DynamicCodeExecutionScheduler.UnitTests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b703f5b3667a6c7ea82e99de7ada8d58e952cfeb62b137c751e17d84e20e50a"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/OutputFileRetention.UnitTests/OutputFileRetention.UnitTests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/OutputFileRetention.UnitTests/OutputFileRetention.UnitTests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"896660e896db31ca000723cf209c863d78a060184ca5d5ad8229d7ed7b88c1f2"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/RunTestsExecutionTimeout.UnitTests/RunTestsExecutionTimeout.UnitTests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/RunTestsExecutionTimeout.UnitTests/RunTestsExecutionTimeout.UnitTests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bce3beb3e617b25303d3005b3f999b11b0e0c73e5d0f704e879a5cd0447ba2"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/SharedRoslynCompilerWorker.UnitTests/SharedRoslynCompilerWorker.UnitTests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/SharedRoslynCompilerWorker.UnitTests/SharedRoslynCompilerWorker.UnitTests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"780130660305b217056f9968f620be881a0827bce3bf480d1673b3abe4f2ac61"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/UnityCliLoop.CodeComplexity.Tests/UnityCliLoop.CodeComplexity.Tests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnityCliLoop.CodeComplexity.Tests/UnityCliLoop.CodeComplexity.Tests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21a314830f70f11d916f3f99d3074ec5cb96959497a2516ae5039c482180ff9"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tests/UnityCliLoop.DeadCodeScanner.Tests/UnityCliLoop.DeadCodeScanner.Tests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnityCliLoop.DeadCodeScanner.Tests/UnityCliLoop.DeadCodeScanner.Tests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8e1606b7dd4d9b4b97ba786314a6569967e12d9c5514777c24dee8bfa54766"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tools/UnityCliLoop.CodeComplexity/UnityCliLoop.CodeComplexity.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/UnityCliLoop.CodeComplexity/UnityCliLoop.CodeComplexity.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0106c96bb8dd054e2d997908bed20815d09b851040f187f5e5dfa02c674a6e3d"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: tools/UnityCliLoop.DeadCodeScanner/UnityCliLoop.DeadCodeScanner.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/UnityCliLoop.DeadCodeScanner/UnityCliLoop.DeadCodeScanner.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fed6581791406959f0202c2114e492a73d800ed2156d55505b51722a8faed1"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: Packages/src/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/src/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8719174483eb59f2d4a2df010f3465bdb7d5597260b7d1073c59a1c0504f9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060argument == \u0022--help\u0022 || argument == \u0022-h\u0022\u0060 appears character-identically in 3 files \u2014 tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs, tools/UnityCliLoop.DeadCodeScanner/CommandLineOptions.cs, tools/UnityCliLoop.DeadCodeScanner/Program.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/UnityCliLoop.CodeComplexity/CommandLineOptions.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5793f5d02111767fbfd6671777a78c8336801cf22a3bbd538ca1bdb1b682c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arg == option || strings.HasPrefix(arg, option\u002B\u0022=\u0022)\u0060 appears character-identically in 3 files \u2014 cli/dispatcher/internal/dispatcher/compile_check.go, cli/dispatcher/internal/dispatcher/launch_options.go, cli/project-runner/internal/projectrunner/pause_point_clear_file_line.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/compile_check.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6e1e71b46bd194d452ab43bc21bbdd848d6199c00acb27a22e247c737d7285"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.Err() == nil \u0026\u0026 isNewerDispatcherProtocolMismatch(err)\u0060 appears character-identically in 2 files \u2014 cli/dispatcher/internal/dispatcher/launch_newer_protocol.go, cli/dispatcher/internal/dispatcher/launch_startup_timeout_error.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch_newer_protocol.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f324b36a5ec7ed65a9435581e45da970dd7e3b5e197a0157e15bb6feabc1841"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil \u0026\u0026 hasHotReloadTiming(merged)\u0060 appears character-identically in 2 files \u2014 cli/project-runner/internal/projectrunner/hot_reload_busy_wait.go, cli/project-runner/internal/projectrunner/hot_reload_editor_ready_retry.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_busy_wait.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef5abadf6ee4c717e26794219f9ca9288f02aa5550fd577d79ccfc1f09b047"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, os.ErrDeadlineExceeded) || os.IsTimeout(err)\u0060 appears character-identically in 2 files \u2014 cli/common/errors/transport_errors.go, cli/common/unityipc/client.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/errors/transport_errors.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439aace3a251668d6021f9477c827f280070e0d263e26118e9d1bd6b8051062"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index\u002B1 \u003E= len(args) || clicore.IsNextOptionToken(args[index\u002B1])\u0060 appears character-identically in 2 files \u2014 cli/dispatcher/internal/dispatcher/install.go, cli/project-runner/internal/projectrunner/tool_params.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/install.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca0e9ac0280c58819e7358255e24440ab8af5a302a32cbf640ee4de6024e63f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(args) == 0 || clicore.IsHelpRequest(args)\u0060 appears character-identically in 3 files \u2014 cli/dispatcher/internal/dispatcher/dispatcher_process.go, cli/dispatcher/internal/dispatcher/run_dispatcher.go, cli/project-runner/internal/projectrunner/runner_usage.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_process.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8950b55b38a0d2488770891cdf21a3a3c18d8fc96baaa0b01964803d80585889"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(args) == 1 || clicore.IsHelpRequest(args[1:])\u0060 appears character-identically in 2 files \u2014 cli/dispatcher/internal/dispatcher/package.go, cli/dispatcher/internal/dispatcher/skills.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/package.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17b5b4ca866c9ff8ae330f20843716f9439467e860957a86d4eb41896ff97a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(args) \u003E 0 \u0026\u0026 args[0] == clicore.LaunchCommandName\u0060 appears character-identically in 2 files \u2014 cli/dispatcher/internal/dispatcher/dispatcher_v2_run.go, cli/dispatcher/internal/dispatcher/run_dispatcher.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_v2_run.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b988dd51843d279fcfc54c231dfc9fe1487e31f21bc19108f5bf37e655488f9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nestedProjectPath != \u0022\u0022 \u0026\u0026 nestedProjectPath != connection.ProjectRoot\u0060 appears character-identically in 2 files \u2014 cli/project-runner/internal/projectrunner/pause_point_enable.go, cli/project-runner/internal/projectrunner/runner_commands.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dedb2d5cd17f47e89dd40d759ff52088e01c4d3a69bcc8a1d36535bffa74b25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ok \u0026\u0026 response.Success != nil \u0026\u0026 !*response.Success\u0060 appears character-identically in 2 files \u2014 cli/project-runner/internal/projectrunner/pause_point_trigger_diagnosis.go, cli/project-runner/internal/projectrunner/record_video_one_shot.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_trigger_diagnosis.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b735c48dab0860acbf34d2dd6b4ef9d165f0490e07f378fed82fa8597d6ef08c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.StatusCode \u003C 200 || response.StatusCode \u003E= 300\u0060 appears character-identically in 3 files \u2014 cli/dispatcher/internal/dispatcher/attestation_release.go, cli/dispatcher/internal/dispatcher/dispatcher_download.go, cli/dispatcher/internal/dispatcher/package_registry.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/attestation_release.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b30365a960dba4e132f6414cd98f090db54fc384a6f6999e15dcc9966a3bcb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.StatusCode \u003C http.StatusOK || response.StatusCode \u003E= http.StatusMultipleChoices\u0060 appears character-identically in 2 files \u2014 cli/release-automation/internal/automation/dispatcher_pin_freshness.go, cli/release-automation/internal/automation/dispatcher_pin_stamp.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/release-automation/internal/automation/dispatcher_pin_freshness.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fdd86a4a4ffe5ece733c30d42eb2e753cf8a1619e84d75bb5ae481802c2331"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state == pausePointWaitStateTimeout \u0026\u0026 !hasNewHitBaseline\u0060 appears character-identically in 2 files \u2014 cli/project-runner/internal/projectrunner/pause_point_enable.go, cli/project-runner/internal/projectrunner/pause_point_wait.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_enable.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141a26e0ea37d54975c43a6efe2350a4b4fc47e2c81d0f2d65b8baccfb6974f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strings.HasPrefix(trimmed, \u0022v\u0022) || strings.HasPrefix(trimmed, \u0022V\u0022)\u0060 appears character-identically in 2 files \u2014 cli/common/version/compare.go, cli/dispatcher/internal/dispatcher/dispatcher_pin.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/version/compare.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"963987fd488ca37fdea5339bffd5d75d30aa081d63b66cec97377d10eec90f50"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolveProjectEndpointAddress\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/clicore/server_not_responding.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6d6cd2e5fad21f5695f08d7f32c64724b9b3f2bab0e4e8aa3eb6db53ff6d22"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060LoadDisabledTools\u0060 turns a non-nil \u0060err\u0060 into \u0060return []string{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/clicore/tool_settings.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15e5da6c98a9680a27e7f6ac5b8985441860ed78766f66897aa4b8720cb568d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060enumerateDirectProjectPackageResults\u0060 turns a non-nil \u0060err\u0060 into \u0060return []PackageSearchResult{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"18149bab5622601159eaeb4dd3600cbcc52eaaa38a8166097dcd9d04898223de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060enumeratePackageCacheResults\u0060 turns a non-nil \u0060err\u0060 into \u0060return []PackageSearchResult{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a942343c1f5b7b6b3d357ce5e3eb4475172eadf8c9c6f3cb143347e6008c39f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060enumerateUnityCliLoopPackageCacheFallbackResults\u0060 turns a non-nil \u0060err\u0060 into \u0060return []PackageSearchResult{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e048057ba3d523aadfc232d22e2f307fbb27c30e834de46ee87900b5f5222d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolvePackageRootCandidate\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b438b7c373f8dc732dfa0d097c9bf62e9cba0cff5b3548ae3650d0395dfd13c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readManifestDependencies\u0060 turns a non-nil \u0060err\u0060 into \u0060return map[string]string{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/packages.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a43fbf210b3f524e49d4f8225ba049f97edafabd6c833c34565369559831dfa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060scanInternalSkillToolNames\u0060 turns a non-nil \u0060err\u0060 into \u0060return []string{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/skillscan/sources.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2289f702c05dd15dbad7f848c34100750a50f411937bf600dbff672b327cb3da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060LoadDefault\u0060 turns a non-nil \u0060err\u0060 into \u0060return ToolCatalog{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/tools/catalog.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"09985a73ff004c289c7773a6dfe1cc30deaea9b23813623d2bb2d5577127e903"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060parseLsappinfoPID\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/lsappinfo_output.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2fba5d87cd9441ac1cc075e4ba970ec7429d9f0af7567759a21206bafe571d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readFrontmostProcessIDMac\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/focus_darwin.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c063f21e1169d424c51cc7fd2b156b1d5fa115878da1d8510cdce60ecc87d29a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060bundlePathForPIDMac\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/focus_darwin.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"35764621cb82dca34ca6aceec7e26ed90e942609564a46c9b0c66193e99bde7d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060countProcessesWithBundlePathMac\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/common/unityprocess/focus_darwin.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2df5f136a7ca6a2c75457a23a2ad52703d2a2ef9a0731162b3bbd03601c200"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readAssemblyDefinitionGUID\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/source_set.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cfb3012791d211eb123bcd51d30aa6b7ef8e71dfe2cd54291116c01ee7b975"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060nonSourceKeyBeforeCompile\u0060 turns a non-nil \u0060err\u0060 into \u0060return nonSourceIdentity{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/compilecheck/result_cache.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b34c85211d91c80314439cb6e95303deb457dfaf78dbbb29f0b3a16e277524"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060detectManagedDispatcherInstall\u0060 turns a non-nil \u0060err\u0060 into \u0060return sharedupdate.ManagedInstall{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_freshness.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"73124efe43a24f91989b7d229d0ac4a9353cd70a0e2348763e85e96aaf5bcd88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060dispatcherInstalledVersionOrEmpty\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_update_version.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"34178f4f8f968172cebcdc62774484324b95258e6dac04b5568345c5bf5e67ac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060detectV2DispatcherFileDependencyProject\u0060 turns a non-nil \u0060err\u0060 into \u0060return dispatcherV2Project{}, nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_v2_detect.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b2b75c463c94e5e8c7f6238862d12d508b70508c03a1bf910fd3efe079ff6e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060detectV2DispatcherPackageAtPath\u0060 turns a non-nil \u0060err\u0060 into \u0060return dispatcherV2Project{}, nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_v2_detect.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e719ead7eb3a0a586df79ca93607fc35edab481bfb3266a248178a3ea4c0cdf2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readDispatcherVersionHold\u0060 turns a non-nil \u0060err\u0060 into \u0060return false, \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_version_hold.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd5f1b801d20c6930354bf2a195a00067188b266c154f3ea132f1b05eb0043"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060snapshotDispatcherVersionHold\u0060 turns a non-nil \u0060err\u0060 into \u0060return dispatcherVersionHoldSnapshot{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_version_hold.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d7f4f48597fd2d0f40f4452cdfb79cce8443a50008a103108988f5862f51ee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060dispatcherVersionContextSentence\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022No Unity project detected here; run inside a Unity project to see which CLI generation serves it.\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/dispatcher_version_human.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"308a870fe2da097cc8fa87c61f255ec9bb15f65a259f86067bb118aa7c8fee2d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060unityExecutableCandidates\u0060 turns a non-nil \u0060err\u0060 into \u0060return []string{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/dispatcher/launch.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebb158cfe2a4c289f0e4dbb103682700e663a3b8e6ac17ace0d049daec03e82"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060parseResetHeader\u0060 turns a non-nil \u0060err\u0060 into \u0060return time.Time{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/githubapi/ratelimit.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd07f1a1c40c75b6e42750e7cbc52763e8929670364100e7ca8e579c1b54387b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060parseRetryAfterHeader\u0060 turns a non-nil \u0060err\u0060 into \u0060return time.Time{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/githubapi/ratelimit.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea0b614a9fefa49052b9c2695b298f664705d70e51ea37096164e6fd3774195"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolveFromGhCLI\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/dispatcher/internal/githubapi/token.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"096f60e169cb1c12c2f71d39dd7c0f00f22aa16e984d1891a219295363a2681a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060compileResultLogSummary\u0060 turns a non-nil \u0060err\u0060 into \u0060return compileResultSummary{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/compile_wait_log.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe1d051c1956158bf981fd1cd2e17a97b6c96dce0ddf22d3d589d1eaf53cb44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060waitUntilDialogCloses\u0060 turns a non-nil \u0060err\u0060 into \u0060return nil, true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/dialog_command.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bcfa10e0137417d21ab796f5ffef51a85165d03812fc82168d994f0c9ba91d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060hotReloadWarningCount\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/hot_reload_compile_fallback.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2b873864e98e12d245c443506e50b27d54a1480660cb3438ea645f50ff327d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060pausePointUnarmedAtWaitStartSuffix\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_wait_start.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab85945ff22ce8bec3bb2a32a5c8c8c50b3527809a57a75361381750447bf88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060extractCompileWarning\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/run_tests_implicit_compile.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bacb061a5458b3102f180f1f1f8510a3c9544ba9ffe874fbfdae490dc572d6"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060strings.Contains(output, \u0022AllExpectationsPassed\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060strings.Contains(output, \u0022AllExpectationsPassed\u0022)\u0060 also satisfies \u0060strings.Contains(output, \u0022Expectations\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/project-runner/internal/projectrunner/pause_point_status_expect_test.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95027751a2b17d400f232d516bae8c4b8891b356a37da7ace673999ed5f4390"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.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-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.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-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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-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":29,"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."]}]}