{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"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":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"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":"Parser.ParseKey (cyclomatic 51): Parser.ParseKey has cyclomatic complexity 51 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/ansi/parser.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53782572eeda27e6ed346718bd22acf5dac8817533127cf429e1260ed305913"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer.runeDisplayWidth (cyclomatic 41): renderer.runeDisplayWidth has cyclomatic complexity 41 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/renderer/inline.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"622c1def4698aa6f617f4416c484515c4d18d5765e7aeecfc08831c30ae25de1"}},{"ruleId":"D1","level":"warning","message":{"text":"EmacsKeybindings.Handle (cyclomatic 37): EmacsKeybindings.Handle has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/input/internal/textarea/infrastructure/keybindings/emacs.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafe3b36cde352eb751f1f13708dd031d8fead5141ba485fb05c748453d77f76"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Run (cyclomatic 24): Program.Run has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/program.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"611081c1ae98ca239e2fee4aafd9b778adf3c38b4c7b35b68f9b2bebe92d5697"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Start (cyclomatic 24): Program.Start has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 285). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/program.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d909e45acb00517086da03f3d2717df05008ee8f8f04d37bf30fc2aa82b824"}},{"ruleId":"D1","level":"warning","message":{"text":"service.isEmoji (cyclomatic 23): service.isEmoji has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/internal/domain/service/unicode_service.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc792f4e1261e64335f554036a8cb4d4f8de732a7e4c712984d1cb8de31fcaa6"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageCodec.DetectFormat (cyclomatic 20): ImageCodec.DetectFormat has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/domain/service/image_codec.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f935b6922562381ba3913eb9e48c26e304ad0c1cb5a6625c5d6d84c677fe74d2"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderCommand.Execute (cyclomatic 20): RenderCommand.Execute has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/application/command/render.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4123c5031308646ea46268ad0c07383e3a429fe7d53b5b09460954193eafd785"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexboxLayoutService.calculateMainAxisPositions (cyclomatic 19): FlexboxLayoutService.calculateMainAxisPositions 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":"layout/internal/domain/service/flexbox_layout_service.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0351e60137d66b8fb795398284c3fd5bbf7ec61ea083680f0c62a2ca915c95e"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.View (cyclomatic 17): Table.View has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/table/table.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60b7020211bc1b41e52513b14932df5d701fca61fa38eebc006300e33a09368"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderService.Render (cyclomatic 17): RenderService.Render has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/internal/domain/service/render_service.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a1770887daa9e4423080015fe41908fb595b350c47f1822d00c22e56570b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Reader.Read (cyclomatic 17): Reader.Read has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/input/reader.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9207ea7ada1fa9f5018892c617c094a571df24abec2e2495dffeea544e1ee00"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer.truncateLine (cyclomatic 17): renderer.truncateLine has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/renderer/inline.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4162357fb70711d288857515e51ee2a1195067aefa129d8967252bdd2f072c"}},{"ruleId":"D1","level":"warning","message":{"text":"Style.Validate (cyclomatic 16): Style.Validate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/model/style.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"377db4560da14d45b630a63f610cbd5209299539a6e268df46d5bd465754aff9"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Start (cognitive 45): Program.Start has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 3 (9 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 23). Most of this is not in the body itself: 2 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 285). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/program.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"71187df3e058a97f00aeaf735e2bc8bd80bd7d67f082c4a56814c0fad1e3306a"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Run (cognitive 44): Program.Run has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 3 (9 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 23). Of this number, 40 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/program.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f540912a179129eb01bdaaaf0ae31e550cf0877ff0d49a76b6cf14b6ca3893"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer.truncateLine (cognitive 44): renderer.truncateLine has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (29 pts), loops 3 (9 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/renderer/inline.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"157958b0df69ab33f4eec9be78dd0d44203906f96fb95103af6119886e43c55f"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.View (cognitive 39): Table.View has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/table/table.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d321e5e441113700301105c4f4735f01e5580b55c7dfd821dec4bf1d63c53a9"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexboxLayoutService.calculateMainAxisPositions (cognitive 38): FlexboxLayoutService.calculateMainAxisPositions has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 5 (10 pts), match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/internal/domain/service/flexbox_layout_service.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf030b1afae957c5511a177745dcbd00c3bf610f818684b95cea0e7d870677ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.ParseKey (cognitive 35): Parser.ParseKey has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 5 (14 pts), boolean chains 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/ansi/parser.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fed0ad438a8d0e41676e7260ce74c38f5684e92f7c41a17b9a6e8fa3e28710"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer.stripANSI (cognitive 32): renderer.stripANSI has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/renderer/inline.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0376d26fc59d11d2dd16ceb70829550f3d6bb3a98a0c1815ed909758440cff90"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderCommand.Execute (cognitive 27): RenderCommand.Execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/application/command/render.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"66204edd11d2cd7af33df7e53bf2b9fc6119919015d848364f030c580c433f91"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.Read (cognitive 27): Reader.Read has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/input/reader.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b164c34272f8a8fb86003bb59af47a3ebb3ff5e01b2c48d8b04e346b002d15"}},{"ruleId":"D2","level":"warning","message":{"text":"Size.String (cognitive 26): Size.String has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/internal/domain/value/size.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f61638f3d6c803a1f2149d7fab4d2c4adbf2b9c51444823ba14e0ed194f51b5"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderService.Render (cognitive 24): RenderService.Render has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/internal/domain/service/render_service.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cb0b8645b94e8b15daa12a1403271566810b7c511b7580d8858324d0aa93a4"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer.runeDisplayWidth (cognitive 23): renderer.runeDisplayWidth has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 20, if/else 2, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/renderer/inline.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da554629a8bb46d8377145691b07e43aabf5dfbb4aeb71e902fa032102655f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.execWithTTYControl (cognitive 21): Program.execWithTTYControl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/tty_control_linux.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4927d62a0bc765165c129aa16ea4b70c43d1aebda7d625694b3f01fa450137"}},{"ruleId":"D2","level":"warning","message":{"text":"Flex.Render (cognitive 19): Flex.Render has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 3 (9 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/layout.go"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"120814edf9eaac1dede3a7c08dba937cbaa3916bbab79d31ef9c095839a12926"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCodec.DetectFormat (cognitive 18): ImageCodec.DetectFormat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/domain/service/image_codec.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"785954cf028e490d059d8c528e9db1ac7ab35c450b2bb194b0f1aa0b35b0ec78"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationService.MoveUp (cognitive 18): NavigationService.MoveUp has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 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. This shape REPEATS in the file: one other method here (NavigationService.MoveDown) 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":"components/input/internal/textarea/domain/service/navigation.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa104631454d186ecbd397329215a802d95e2e0a1ecd98c760cc80040f8afe1d"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationService.MoveDown (cognitive 18): NavigationService.MoveDown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 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. This shape REPEATS in the file: one other method here (NavigationService.MoveUp) 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":"components/input/internal/textarea/domain/service/navigation.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca1874fff9241edc19b3b55ed61db13b6a236ac2e493849ad70899d43b8a3b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer.applyOperations (cognitive 18): Renderer.applyOperations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render/internal/application/renderer.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc69a6892dded8f1ce25ffb7e3671998dc7d44a026f3eb98f37a4533d2ad0368"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRenderer.Render (cognitive 18): InlineRenderer.Render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/renderer/inline.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba853630cb024824760ee91dd486a4b3cf1d74bbfa34995474fc70c8710afa56"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer.renderFullScreen (cognitive 17): Renderer.renderFullScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render/internal/application/renderer.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"16542e7c495bbdee0e212eb6c00a38baa18e866f005152254be4fe734d23e8fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Input.renderContent (cognitive 16): Input.renderContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/input/input.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f039d9b89f44675dd5757ffd1ac912c6d83e9871b38eae06fb57e2e3ac9ac07"}},{"ruleId":"D2","level":"warning","message":{"text":"EmacsKeybindings.Handle (cognitive 16): EmacsKeybindings.Handle has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 3, boolean chains 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/input/internal/textarea/infrastructure/keybindings/emacs.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"79547179a960ec646c31a599fd78bb947f6b95c46c90652579c5aa495d9ea3bc"}},{"ruleId":"D2","level":"warning","message":{"text":"service.isEmoji (cognitive 16): service.isEmoji has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/internal/domain/service/unicode_service.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b393bc149a52fd9356d974178cdf1af216d426c4deaeac2bf1e21bc2366e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Size.Constrain (cognitive 16): Size.Constrain has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/internal/domain/value/size.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c32078ca7b5ca6cd113c76f3838806d068480c4c845ada0acbc2f4ad50fa14"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTextAligner.AlignVertical (cognitive 16): DefaultTextAligner.AlignVertical has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 3 (4 pts), match/switch 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/service/text_aligner.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fc31713d5b4ab1f14a7b539595c883cf31474a34d407f853d035555a0f63a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Style: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/model/style.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b5c6045e0888d13ba45964410d804cf3531eec6a950ae64d88056958291646"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextArea: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/input/internal/textarea/domain/model/textarea.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"91499d7c10d382bc96335e6bc78169d448da9a1366fa13b898334f0f61c89112"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MockTerminal: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testing/mock_terminal.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b3d9c2453e3d22a07091532fa20aac676e694fde774d4a8e97179caadbe2e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextInput: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/input/internal/input/domain/model/input.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4af07adc2e57b98035862fd8326b1685cd626173bee575415b4daf2ab00cc5a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: List: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/list/internal/domain/model/list.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d83172e3a831286ac10c751f434fa0186d072ebe65d9d01a010028e988c3f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Console: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. Most of these members implement terminal.internalTerminal (30 of 31 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"terminal/internal/infrastructure/windows/console.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"41186fb42a79b434e5fd4171d7f4575decb4798f5278d132e13a93d216c76fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 26 shared lines): style/internal/domain/model/theme_presets.go:11-52 | style/internal/domain/model/theme_presets.go:58-99 | style/internal/domain/model/theme_presets.go:105-146 | style/internal/domain/model/theme_presets.go:152-193 \u2014 These 4 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"style/internal/domain/model/theme_presets.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"705682c25861cab313edbf5d75a937304e22ce6fe87a51ae96afd40f58512225"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): tea/internal/application/program/program.go:144-252 | tea/internal/application/program/program.go:271-378 \u2014 These two members are variants of one another: 71 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/program.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dea4041a625782d2b09177df4c941fd4beadbd556dba60745c2b6b803260a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): components/input/internal/textarea/domain/service/navigation.go:16-57 | components/input/internal/textarea/domain/service/navigation.go:60-102 | components/input/internal/textarea/domain/service/navigation.go:105-154 | components/input/internal/textarea/domain/service/navigation.go:157-206 | components/input/internal/textarea/domain/service/navigation.go:308-338 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/input/internal/textarea/domain/service/navigation.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6792fd8b33b90f4e4560b9d539e1205fcaec3478319c321c3844a097bedbb8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tea/internal/domain/model/cmd.go:44-82 | tea/internal/domain/model/cmd.go:104-135 | tea/tea.go:454-492 | tea/tea.go:514-545 \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":"tea/internal/domain/model/cmd.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"626e6031c72a1e108e036c80086a9cab7f2619485ae3506a92cd5ed63834c251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (87 lines \u00D7 2): tea/internal/application/program/tty_control_darwin.go:65-151 | tea/internal/application/program/tty_control_linux.go:65-151 \u2014 before extracting anything, compare \u0060tea/internal/application/program/tty_control_darwin.go\u0060 and \u0060tea/internal/application/program/tty_control_linux.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"tea/internal/application/program/tty_control_darwin.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e00ee250f680ec923d525fd331dfb31d437f42bf11ab2d184caa73ce05f599f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201386 lines \u00D7 2): terminal/new.go:24-35 | terminal/terminal.go:273-358 \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":"terminal/new.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da0810020487c03467740e4dca45963a69ccbdc8ed45e3239ca5c5f374c6664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): style/internal/domain/service/spacing_calculator.go:59-100 | style/internal/domain/service/spacing_calculator.go:108-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/service/spacing_calculator.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"69260e4d8d52fc07956ff552edc0dae97fb525ee76026d5b0ab8496cad75bee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): tea/internal/domain/model/cmd.go:47-82 | tea/tea.go:457-492 \u2014 before extracting anything, compare \u0060tea/internal/domain/model/cmd.go\u0060 and \u0060tea/tea.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tea/internal/domain/model/cmd.go:47\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. Check import visibility before settling on that home: \u0060tea/internal/domain/model/cmd.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":"tea/internal/domain/model/cmd.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"792f543741ce4a37ad836eb8b91865d8b16efc36b85e7d3a37deaa51cb66a25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): tea/internal/application/program/program.go:214-248 | tea/internal/application/program/program.go:339-372 \u2014 both copies are in the same file, so extract the block 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. 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":"tea/internal/application/program/program.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d9ef81c3a0671ce783cad1abd100707df3d6dd9dd27d4cb4203e4340c72785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): mouse/internal/infrastructure/parser/sgr_parser.go:134-164 | mouse/internal/infrastructure/parser/urxvt_parser.go:113-143 | mouse/internal/infrastructure/parser/x10_parser.go:97-127 \u2014 before extracting anything, compare \u0060mouse/internal/infrastructure/parser/sgr_parser.go\u0060 and \u0060mouse/internal/infrastructure/parser/urxvt_parser.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/infrastructure/parser/sgr_parser.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc167e265e36e22e7a9843d6f3e96e9236a5586ee30d259efd18804028d80064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 3): mouse/internal/infrastructure/parser/sgr_parser.go:78-106 | mouse/internal/infrastructure/parser/urxvt_parser.go:70-97 | mouse/internal/infrastructure/parser/x10_parser.go:53-80 \u2014 before extracting anything, compare \u0060mouse/internal/infrastructure/parser/sgr_parser.go\u0060 and \u0060mouse/internal/infrastructure/parser/urxvt_parser.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/infrastructure/parser/sgr_parser.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd601b1effe58954b21c88b51a5cc0a454ff4b52579bca636a99a4e3af835f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): tea/internal/domain/model/cmd.go:107-135 | tea/tea.go:517-545 \u2014 before extracting anything, compare \u0060tea/internal/domain/model/cmd.go\u0060 and \u0060tea/tea.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tea/internal/domain/model/cmd.go:107\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. Check import visibility before settling on that home: \u0060tea/internal/domain/model/cmd.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":"tea/internal/domain/model/cmd.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"622fc9e1f057df3bcd331746caa49d290c28e4ab5056ccd4a1f458fd46488396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): mouse/internal/infrastructure/parser/sgr_parser.go:38-64 | mouse/internal/infrastructure/parser/urxvt_parser.go:32-58 \u2014 before extracting anything, compare \u0060mouse/internal/infrastructure/parser/sgr_parser.go\u0060 and \u0060mouse/internal/infrastructure/parser/urxvt_parser.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mouse/internal/infrastructure/parser/sgr_parser.go:38\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":"mouse/internal/infrastructure/parser/sgr_parser.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"828fcea55c550cdc44f6b8fddf6a0d145fbca8fb72354a1d52658b6519ce5b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): tea/internal/infrastructure/input/cancelable_reader.go:175-198 | tea/internal/infrastructure/input/cancelable_reader.go:217-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tea/internal/infrastructure/input/cancelable_reader.go:175\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/input/cancelable_reader.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de6fa4f89a3929ccb16f1ef200ebff2448bda85ef6e41665905ed476b0ec89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/internal/domain/service/unicode_service.go:201-223 | core/internal/domain/service/unicode_service.go:238-260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/internal/domain/service/unicode_service.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0148180becf44cc1fd39cf9cae0d6c51a277e8f7f92bd0383572009c469dd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): components/input/internal/textarea/domain/service/navigation.go:38-57 | components/input/internal/textarea/domain/service/navigation.go:83-102 | components/input/internal/textarea/domain/service/navigation.go:135-154 | components/input/internal/textarea/domain/service/navigation.go:187-206 | components/input/internal/textarea/domain/service/navigation.go:319-338 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components/input/internal/textarea/domain/service/navigation.go:38\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, \u0060components/input/internal/textarea/domain/service/navigation.go:34\u0060 calls \u0060NewCursorPos\u0060 and \u0060components/input/internal/textarea/domain/service/navigation.go:315\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":"components/input/internal/textarea/domain/service/navigation.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9f58c58222864e1c1d7a7cf6a88946b4a1558a0f1cf011fc597e06f6b5524c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tea/internal/application/program/program.go:159-178 | tea/internal/application/program/program.go:286-305 \u2014 both copies are in the same file, so extract the block 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 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":"tea/internal/application/program/program.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdf4a6959e5ebdab2222c5b5780f41c4ee96fc19a574c6a1f28506fbae02c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): tea/internal/domain/model/cmd.go:46-64 | tea/internal/domain/model/cmd.go:106-124 | tea/tea.go:456-474 | tea/tea.go:516-534 \u2014 before extracting anything, compare \u0060tea/internal/domain/model/cmd.go\u0060 and \u0060tea/tea.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tea/internal/domain/model/cmd.go:46\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: \u0060tea/internal/domain/model/cmd.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":"tea/internal/domain/model/cmd.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"336bdc6c92d2eb53f9cf0ea1d58764e0ae1924058a9e16761e66d2cc0d58fd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): tea/internal/application/program/program.go:191-209 | tea/internal/application/program/program.go:319-335 \u2014 both copies are in the same file, so extract the block 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 \u0060tea/internal/application/program/program.go:191\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":"tea/internal/application/program/program.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a441035746a245db0e0e860fa5bcce9bca116ffa8ce0854d6c62ad902b007ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): components/multiselect/internal/domain/model/multiselect.go:251-268 | components/select/internal/domain/model/select.go:198-215 \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 \u0060components/multiselect/internal/domain/model/multiselect.go:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Check import visibility before settling on that home: \u0060components/multiselect/internal/domain/model/multiselect.go\u0060, \u0060components/select/internal/domain/model/select.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":"components/multiselect/internal/domain/model/multiselect.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1fa9c0d154aeb42d5147c250e554db5f4eb11e9d949f661f1b5a95df948352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): clipboard/clipboard.go:519-535 | clipboard/clipboard.go:559-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clipboard/clipboard.go:519\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":"clipboard/clipboard.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"113db9a759ffc5528366a49e59036939535480510f019f76e869b9be80438e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): components/multiselect/multiselect.go:264-280 | components/select/select.go:184-200 \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 \u0060components/multiselect/multiselect.go:264\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":"components/multiselect/multiselect.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95b2b2d243eccc2aa10d69589425d1d0418deba9d7d76537e5ef4208044145f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): clipboard/internal/infrastructure/native/clipboard_darwin.go:25-39 | clipboard/internal/infrastructure/native/clipboard_linux.go:71-85 \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 \u0060clipboard/internal/infrastructure/native/clipboard_darwin.go:25\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":"clipboard/internal/infrastructure/native/clipboard_darwin.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"daec3bec607cb03ec277798719f6e244a1958370aad1fa3de5c49611787c2e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): mouse/internal/infrastructure/parser/urxvt_parser.go:52-65 | mouse/internal/infrastructure/parser/x10_parser.go:34-48 \u2014 before extracting anything, compare \u0060mouse/internal/infrastructure/parser/urxvt_parser.go\u0060 and \u0060mouse/internal/infrastructure/parser/x10_parser.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mouse/internal/infrastructure/parser/urxvt_parser.go:52\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":"mouse/internal/infrastructure/parser/urxvt_parser.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bcf5f354aab96bf04c32711195565bcc4b5d9b5be06d6b60ca6095a11ef179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): style/internal/domain/model/theme_presets.go:32-46 | style/internal/domain/model/theme_presets.go:79-93 \u2014 both copies are in the same file, so extract the block 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 \u0060style/internal/domain/model/theme_presets.go:32\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/model/theme_presets.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7701056b637968fb0f4d4d40f57194b583fa0dc02b0f56c6c2ec9015b2ebe79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): style/internal/domain/model/theme_presets.go:36-49 | style/internal/domain/model/theme_presets.go:83-96 | style/internal/domain/model/theme_presets.go:130-143 | style/internal/domain/model/theme_presets.go:177-190 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/model/theme_presets.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c854cf4e2d515dcb0c3a0cb5dd5e15d3f1b843d8e47eef982b9aff7c1d672ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): components/multiselect/internal/domain/model/multiselect.go:189-202 | components/select/internal/domain/model/select.go:145-158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Check import visibility before settling on that home: \u0060components/multiselect/internal/domain/model/multiselect.go\u0060, \u0060components/select/internal/domain/model/select.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":"components/multiselect/internal/domain/model/multiselect.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df531685934abe3ad0e4d5cbdc63db1e655dd5059af081856783c8477748e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): components/form/internal/domain/model/form.go:78-90 | components/form/internal/domain/model/form.go:104-116 \u2014 both copies are in the same file, so extract the block 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 \u0060components/form/internal/domain/model/form.go:78\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":"components/form/internal/domain/model/form.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c1ad7a3b2d238361864b1539abdfda9165a0805148d1e0decdd79d56701c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): render/internal/application/renderer.go:40-52 | render/internal/application/renderer.go:60-71 \u2014 both copies are in the same file, so extract the block 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 \u0060render/internal/application/renderer.go:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render/internal/application/renderer.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"80004da64bed5e5d18666a0cb3cffa1bcc46f8b5d5b4a89a5806fc168d6364bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): components/multiselect/internal/domain/model/multiselect.go:14-23 | components/select/internal/domain/model/select.go:14-23 \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 \u0060components/multiselect/internal/domain/model/multiselect.go:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Check import visibility before settling on that home: \u0060components/multiselect/internal/domain/model/multiselect.go\u0060, \u0060components/select/internal/domain/model/select.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":"components/multiselect/internal/domain/model/multiselect.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d70d6974128be021f81cab78fe97429c39daae07dbda202213319575de60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): terminal/new.go:13-22 | terminal/terminal.go:221-261 \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":"terminal/new.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"911aaa6f6ee55b2333fbc28191718909247724974c21b7b1e206b065b223df86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): components/multiselect/multiselect.go:219-227 | components/select/select.go:154-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components/multiselect/multiselect.go:219\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":"components/multiselect/multiselect.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f290eedd6be88222649c4da343fc45ffa116ff6fe6ce227db396dcabb2cfdaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): terminal/internal/infrastructure/windows/syscalls_windows.go:129-137 | terminal/internal/infrastructure/windows/syscalls_windows.go:150-158 \u2014 both copies are in the same file, so extract the block 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 \u0060terminal/internal/infrastructure/windows/syscalls_windows.go:129\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":"terminal/internal/infrastructure/windows/syscalls_windows.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f28dad4fd4f517ef099f3ec16121cdd53b06229d1af023db45eb8fe285e238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): style/internal/domain/model/theme_presets.go:23-30 | style/internal/domain/model/theme_presets.go:70-77 \u2014 both copies are in the same file, so extract the block 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 \u0060style/internal/domain/model/theme_presets.go:23\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/model/theme_presets.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ccf2b052225daebd11efd1c6eb9e7e46a74e43b9f7ee7c1d98d8cc5f7a30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): style/internal/domain/model/theme_presets.go:22-28 | style/internal/domain/model/theme_presets.go:69-75 | style/internal/domain/model/theme_presets.go:116-122 | style/internal/domain/model/theme_presets.go:163-169 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060style/internal/domain/model/theme_presets.go:22\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/internal/domain/model/theme_presets.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"201ef6a9fc3512de678a5527bb6690ecadb66ba54fb15eb6e2bbf1f0e6d6c8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): style/internal/domain/model/theme_presets.go:12-16 | style/internal/domain/model/theme_presets.go:59-63 | style/internal/domain/model/theme_presets.go:106-110 | style/internal/domain/model/theme_presets.go:153-157 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060style/internal/domain/model/theme_presets.go:12\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":"style/internal/domain/model/theme_presets.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8540925e35eccabc34deb72ff5eb2652d9ed47624cea98d864e3e689a42939b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): clipboard/internal/domain/service/clipboard_history.go:88-93 | clipboard/internal/domain/service/clipboard_history.go:111-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/domain/service/clipboard_history.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcea6174e1d1735e814d9c1a6172bb4c1615a773a9e6830f0a4ddf69e0a4143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): components/multiselect/internal/domain/value/option.go:6-61 | components/select/internal/domain/value/option.go:6-61 \u2014 before extracting anything, compare \u0060components/multiselect/internal/domain/value/option.go\u0060 and \u0060components/select/internal/domain/value/option.go\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Check import visibility before settling on that home: \u0060components/multiselect/internal/domain/value/option.go\u0060, \u0060components/select/internal/domain/value/option.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":"components/multiselect/internal/domain/value/option.go"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ac58cd81ca93d2defc0cb343619d978bb4b6e38387ed94d651e3c4c9458deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): components/list/internal/domain/service/filter.go:40-48 | components/select/internal/domain/model/defaults.go:11-19 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Check import visibility before settling on that home: \u0060components/list/internal/domain/service/filter.go\u0060, \u0060components/select/internal/domain/model/defaults.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":"components/list/internal/domain/service/filter.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f250659973ef51c4b3770317f277fa4601801cd15527b52e7e963ba5e632dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): components/multiselect/internal/domain/model/multiselect.go:120-127 | components/select/internal/domain/model/select.go:105-112 \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: \u0060components/multiselect/internal/domain/model/multiselect.go\u0060, \u0060components/select/internal/domain/model/select.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":"components/multiselect/internal/domain/model/multiselect.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac819d7097fe8830758d1389a914db3c6338fc7c50ce227d5ad3662b3db4e3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): components/multiselect/internal/infrastructure/keyboard.go:57-71 | components/select/internal/infrastructure/keyboard.go:51-65 \u2014 before extracting anything, compare \u0060components/multiselect/internal/infrastructure/keyboard.go\u0060 and \u0060components/select/internal/infrastructure/keyboard.go\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Check import visibility before settling on that home: \u0060components/multiselect/internal/infrastructure/keyboard.go\u0060, \u0060components/select/internal/infrastructure/keyboard.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":"components/multiselect/internal/infrastructure/keyboard.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6205e658c4a93e5b3d15e38123e7055d83c1557f12652fc092c96cae224af52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): components/multiselect/multiselect.go:313-327 | components/select/select.go:225-239 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060components/multiselect/multiselect.go:307\u0060 calls \u0060renderHelp\u0060 and \u0060components/select/select.go:219\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":"components/multiselect/multiselect.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"831c7603a8ec2ec9bea2529a7576b8d68d18f1a6c556eb8961960aabd45252e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): components/multiselect/multiselect.go:339-349 | components/select/select.go:251-261 \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":"components/multiselect/multiselect.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbbd2d1483768cfc8c19e0e657a686a42d8b2f97731ea19c4abba52c3bed60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): components/multiselect/multiselect.go:359-365 | components/select/select.go:264-270 \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":"components/multiselect/multiselect.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1226c75dc46c2804d88c493fc5593907f02c8dcbd1a3a12e026e735bb8b0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): components/multiselect/multiselect.go:381-387 | components/select/select.go:287-293 \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":"components/multiselect/multiselect.go"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd7b186acd0a259ae415498c4e5d0ae76726d681cbf1a1f0c8704f73ed04542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): layout/internal/domain/value/spacing.go:197-202 | style/internal/domain/value/margin.go:90-95 | style/internal/domain/value/padding.go:87-92 \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: \u0060layout/internal/domain/value/spacing.go\u0060, \u0060style/internal/domain/value/margin.go\u0060, \u0060style/internal/domain/value/padding.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":"layout/internal/domain/value/spacing.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c0f74b3abbe1a71987d6f7d2f88b0eeaf27ef557c77201f25fce428d188d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tea/internal/application/program/tty_control_darwin.go:36-43 | tea/internal/application/program/tty_control_linux.go:36-43 \u2014 before extracting anything, compare \u0060tea/internal/application/program/tty_control_darwin.go\u0060 and \u0060tea/internal/application/program/tty_control_linux.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/tty_control_darwin.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d1f3635bf890e4fc517f7c05d89773e1f24279d33ff32ba928a2d0778b1495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tea/internal/application/program/tty_control_darwin.go:46-52 | tea/internal/application/program/tty_control_linux.go:46-52 \u2014 before extracting anything, compare \u0060tea/internal/application/program/tty_control_darwin.go\u0060 and \u0060tea/internal/application/program/tty_control_linux.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/application/program/tty_control_darwin.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae2fb0637804e3eb066dc9f0e3ca0f12709c7d57ff193a33e1e59ba6bf349a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): tea/internal/domain/model/msg.go:169-200 | tea/tea.go:251-288 \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: \u0060tea/internal/domain/model/msg.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":"tea/internal/domain/model/msg.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eff6d7595593d43c23749162def2e31eb84504ada3c93f5c134037945f9b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): layout/internal/domain/model/flexbox.go:228-236 | layout/internal/domain/model/node.go:178-186 \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":"layout/internal/domain/model/flexbox.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfad9112ff6832060b129be21f59e25f60ccbfcdd6de5fd9634f23b7cbf1dcfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): style/internal/domain/value/margin.go:30-38 | style/internal/domain/value/padding.go:27-35 \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":"style/internal/domain/value/margin.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ebe1d8abba274dcb84442ed24ec57ffbae9f37282ea255715eb6c61386e1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): style/internal/domain/value/margin.go:42-51 | style/internal/domain/value/padding.go:39-48 \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":"style/internal/domain/value/margin.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"756d624d4ee52367634bc5d9a3f4d1fe918a5122df6a034aadd374827caaafcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): tea/internal/application/program/program.go:923-939 | tea/internal/application/program/tty_control_windows.go:89-108 \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 \u0060tea/internal/application/program/program.go:923\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":"tea/internal/application/program/program.go"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ffa68f15ec629704e5f2dd8e6547367bff6365d0ccc0e2a4d620040dc9eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): components/modal/examples/basic/main.go:30-59 | components/modal/examples/confirmation/main.go:32-75 | components/modal/examples/custom_buttons/main.go:35-89 | components/modal/examples/help_screen/main.go:31-60 \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":"components/modal/examples/basic/main.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e1306be99eb581883ba77eaff95e9ba806228a61ea2276dd162aafaf7dc5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): components/modal/examples/basic/main.go:41-59 | components/modal/examples/confirmation/main.go:57-75 | components/modal/examples/custom_buttons/main.go:71-89 | components/modal/examples/help_screen/main.go:42-60 \u2014 \u0060components/modal/examples/basic/main.go\u0060 and \u0060components/modal/examples/confirmation/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components/modal/examples/basic/main.go:41\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":"components/modal/examples/basic/main.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5161e2eee262a3c0d05864c4fd7a7c4bb43c0ea4174b9c5c8d7195b75ead4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): components/input/examples/styled/main.go:35-49 | components/input/examples/validated/main.go:46-62 \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 \u0060components/input/examples/styled/main.go:35\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":"components/input/examples/styled/main.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef257b2e5fc45bc9d3d4d95a9bf214a96970472082291f934249cb75ca664ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): clipboard/examples/richtext-clipboard/main.go:201-214 | clipboard/examples/richtext-clipboard/main.go:258-271 \u2014 both copies are in the same file, so extract the block 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 \u0060clipboard/examples/richtext-clipboard/main.go:201\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/examples/richtext-clipboard/main.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0088712eda7254a9d663827cd8bd2d5a20e2125582206305998f1a6ea70d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): components/modal/examples/basic/main.go:77-87 | components/modal/examples/confirmation/main.go:105-115 | components/modal/examples/help_screen/main.go:101-111 \u2014 \u0060components/modal/examples/basic/main.go\u0060 and \u0060components/modal/examples/confirmation/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components/modal/examples/basic/main.go:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/modal/examples/basic/main.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10df4053b0c5221312f5401ceb9d84de299d6cdefdbb7cdb942e4cbb17a9f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): components/progress/examples/multi_progress/main.go:45-54 | components/progress/examples/spinner_simple/main.go:32-42 \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 \u0060components/progress/examples/multi_progress/main.go:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/progress/examples/multi_progress/main.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0516ab9237d6b7dba0793d39f03864125e9fd8a1f80c741b52f52391141da04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): components/modal/examples/basic/main.go:31-39 | components/modal/examples/confirmation/main.go:33-41 \u2014 \u0060components/modal/examples/basic/main.go\u0060 and \u0060components/modal/examples/confirmation/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components/modal/examples/basic/main.go:31\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":"components/modal/examples/basic/main.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5774794ad8cf84a036e44b359efc068a22b7fc552afdab29dd4c8edc84e9ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): components/form/examples/basic/main.go:133-139 | components/progress/examples/multi_progress/main.go:113-119 | components/progress/examples/spinner_simple/main.go:60-66 | components/select/examples/basic/main.go:77-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/form/examples/basic/main.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f973f18ec0b63b08f51636d9c950b068234f1d360ee03a90c870a239f9a071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): clipboard/examples/basic/main.go:14-28 | clipboard/examples/formats/main.go:17-30 \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":"clipboard/examples/basic/main.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff175b7dd0b613f6e43abe5a39a1c49f8513dadc4a72b3d98ed2fd4b00ec1b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): layout/examples/shell_layouts/complex/main.go:59-70 | layout/examples/shell_layouts/vertical/main.go:59-70 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060layout/examples/shell_layouts/complex/main.go:76\u0060 calls \u0060Border\u0060, \u0060NewBox\u0060 and \u0060layout/examples/shell_layouts/vertical/main.go:74\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":"layout/examples/shell_layouts/complex/main.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"628f7a8ade53f08a90684dcd374700a50513c3f347918c2594a014d5cd2c43e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): components/progress/examples/bar_styled/main.go:23-32 | components/progress/examples/bar_styled/main.go:39-50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"components/progress/examples/bar_styled/main.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292a56e895c95eaa3a0896b7d05655d3efdb1f3036cd19e0c4faf949756dd36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): components/confirm/examples/basic/main.go:25-35 | components/confirm/examples/dangerous/main.go:25-35 \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 \u0060components/confirm/examples/basic/main.go:25\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":"components/confirm/examples/basic/main.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2791ea623ecef9e6a4569f3af47bb17767b77c125473fdc352c5f70e890c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): clipboard/examples/formats/main.go:38-48 | clipboard/examples/formats/main.go:76-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/examples/formats/main.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"770b659b16094f4115d0381b5a2b2271490861321164e6b41b77b08eab2133cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): style/examples/complete/complete.go:18-23 | style/examples/complete/complete.go:67-72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"style/examples/complete/complete.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67f6c9c1b088864546034ec36bcd2f728881d5823361feae2a968c660b2ddf9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/phoenix-tui/phoenix/core: github.com/phoenix-tui/phoenix/core: abstractness 0.04, instability 0.00, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e583348f1d421a23684e4f03c49c22ee7f13ce8c9902bbd78745c2a9001f350c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/phoenix-tui/phoenix/terminal: github.com/phoenix-tui/phoenix/terminal: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e70967afa9cc70fd61b18ce05611c148015f9c96116c4ed3d0a4bc695d21864"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/phoenix-tui/phoenix/tea: github.com/phoenix-tui/phoenix/tea: abstractness 0.05, instability 0.25, distance 0.70 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"700a5cb75b9a019e26f7157f793984d4c2691c59ed181a348044f1be01546308"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Style (LCOM4 11): Style\u0027s methods fall into 11 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 11 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":"style/internal/domain/model/style.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f34df05bb5885bf97e54476ae71f9d76f8819075ce7640d63b50dcb96b2d4d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TextInput (LCOM4 5): TextInput\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":"components/input/internal/input/domain/model/input.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"45da5f0ebfe79d55b03185dae64113c2b9e4f3412cbc67013cbee2cabe930926"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Bar (LCOM4 5): Bar\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":"components/progress/internal/domain/model/bar.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf2a5a3fcfb4243c853ef5c445daeb635d478f2a7e867a003e2abe6c9d4e096"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Day 3): Use phoenix/core.UnicodeService.Width(line) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layout/internal/domain/model/box.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36bd08aea2d062a49be4a110f468abc6beadd7da5a7fbbd2d7cad840dc305d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find matching option and select it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/select/select.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18b4584f51a03da4679ede59b8468287725cc8051dec846d8060058bdfe359f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 11 project(s) overshoot their size bounds, lowering Project Cohesion to 8.2/10. The most over is \u0060components\u0060 (12133 LoC, 188 module-visible types across 75 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c2bb6e48ba198d464ab91a1bff4548c621984de3f57f09feeb3a586b65963ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4797f0a6a6e98626cf20f438e38c01e973fc46ecb8cb9c2dde049ccd8ffa35b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee86c82485bb739cc3624328c46172d9340ef6311943b5aa1c2026b8da786983"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad802125a4a401fcc72dd926f520e28347e5b710636c8418e0301f554098ab3f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"531ce46b6ef7c7151c87aa9ba633bcc39bff3c1e8b750643f6a2a720c37575f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"259fe18d928b2f254a51fcb8cd6aaac8f4090a638cfdc5742b1659786ae9b901"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71b5d17bd983b293c516cff7c6459ea237ecb87932b627bcea15ed86fff56a7b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f36b655dbba9a101431b86dd395849ada64174da5db107d696918c219d31489"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"850e2f398603e7bfbb9eb6d7859459bd48906a25f7c66ede2d56062f7cf87d55"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2e974efb2830f5960c602085240d7a948b4edb001abb701d2879c067b778c63"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","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":"3866c7ac6d0fcf8a6c85adb13e28cd2ec5e56122f8d1ea86743f99bf2a00db42"},"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":"45097eee7b04bc5d72dee1c1db3533e6bc432cd171f5527e5d9c2a3a02c0e0a0"},"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":"8cee6c9d11232d14ef7086ea70492365a0b2815cf62e5de13e83d7e1967134d2"},"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":"14d15515384c664b51e556b0e9de2e42f7fd5546216c2f5d2ce0829207588f47"},"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":"52d6ba8446ef4fa513bcd3937eb05299e28a9d22d81a2e5627e89ecfad376c54"},"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":"852862a5e19d74c5c78f4f8848369cfce80b66a8a87c6acbbb9b7be7ffbe6bf4"},"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":"468b991fa190fde6f5b4f48333f455c39e56fe4a0cadd9c73dd8d78bf82cc578"},"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":"d8a8a2f6e0938ef4f5fd9de3812f9f0a656dfdaa4b28d20dbdeb1322e8ce9873"},"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":"e83580f864e12eb879531b7a222168411c9da23a58dc05045b1cfa6e5b07e554"},"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":"98d44baab5b3098677828eb5eb0bd0850db8caa2cafb2ef67739971443f4a77d"},"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":"f9b066e6d55709dbafb99264ecb337274329d03f2fbc9cc9b2fe5e515bc1c29d"},"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":"27bef6600e900114b94975a5dcf69eea150da5fe87a4897b13c1ee52050a767c"},"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":"626b8b635e0aa09f0c5643fbe9778ef8aa432de860582026820747a08b0d8d74"},"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":"4e84f5d4ea9a38e3126c263893bbaee1195d3164b08392f29048664fea57cd1e"},"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":"76097e70bb8620948c7961787c3fca2230eba0428e1f9785c0af2e3354e8d3b8"},"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":"628ca7f45e8679a69cecee13d6c5cb1a4a361a93e1fec473766a3fd2e879b02d"},"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":"d8bdd0ca07ba50370ff9a2f62ea94e39f3e43d55747fc81b7468fb0cb17e7064"},"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":"4c718a79994611ec146f4db9d7d954158ad8f8fff25b05a53605ee2fff662a5d"},"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":"419f3b19433028af6ed40fd24c7eda4b9c699b0758e589bc7d4b2225dfb13072"},"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":"c29687da9a83fa04a07b4eb94a40579fdcf127230ce38af3b4e35d15a5fe0f98"},"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":"3c5fb4e05b1b8ffcaf656905b909a19c3fb2c1da086044af2a00a0e273e9cf65"},"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":"a278020dbeb8362c176972d83b82146510f6c8a235f88053588515ab1beeeecf"},"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":"c387a34504460e0e5dda1934f0320b99a896f6aea0a6a01b8ebbb906aae5b594"},"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":"86c52c5933c87966d91076473c51decb7003a6a41dc1638a3ab4f9f0d57190fd"},"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":"2f03ef18427e7424a91bab657a0074093864114dbd411192e607bd1302a24b08"},"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":"b105e3092e1d85295623d35289c10334a6f9cf575969413a2de242208edd838b"},"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":"68934b83dd331f66536c792eed5767fee5fa7a8ec1ea313b7adba0d3aa93a991"},"properties":{"dependency":{"package":"stdlib","version":"1.25.1","advisory":"GO-2025-4006","aliases":["BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"clipboard/examples/clipboard-history/main.go","line":11}}}},{"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":"0daafd9b3810a56495b7c3bc1a38ad2d549b1a60b959abe09375106c837fe71b"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.40.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22e6be704cce19fc38b795afb833664b16d86786515aee790589543dba3dd0c8"},"properties":{"dependency":{"package":"stdlib","version":"1.25.99","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]","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","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"mouse/internal/infrastructure/platform/terminal_mode.go","line":7}}}},{"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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventClick: \u0060EventClick\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"339a0d4e5a93b4cd6372165e59a5b76a55f53cb5955e3dc7bd39d1411a860070"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventDoubleClick: \u0060EventDoubleClick\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fdbe231056c1e6ae34d1ac1050eb33c1fc00433ff0eb289c69c6f5594e29ee"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventDrag: \u0060EventDrag\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bba617f1c226e3ed5e66af405c9197341841264dc5460726f61cdbddbf159d1"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventHoverEnter: \u0060EventHoverEnter\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e294c95fddbd81c7b5b98ccb2f87e6c80b954c1d4d049c983f9fe2a14452055"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventHoverLeave: \u0060EventHoverLeave\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0daa7b4de6f1e4057e91714c3c659407a4f705a21da31dc215824d54323cf74"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventHoverMove: \u0060EventHoverMove\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822b754d0d210187d0919fb47b4d472a7007b5a3a4928316ce7b45f66de2e98"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventMotion: \u0060EventMotion\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a3fbdbc366979b4a692fea0342694557e39d012cce41c32785caab4b076282"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventPress: \u0060EventPress\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2da65f868403e0dcbe0f98c06cdbad3a4d82d675d232055e2f8cdb96b0980f"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventRelease: \u0060EventRelease\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f00c1cf66e2263bac3735c11d223ed869cc32dfefc05ea567456cbb0137acc6"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventScroll: \u0060EventScroll\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0744fc314c0d9c122fa72acfcc09134a2bd0f6386bb19b9c7ded25be1bc73fec"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventTripleClick: \u0060EventTripleClick\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mouse/internal/domain/model/mouse_event.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"760cae3fbba73f0815c3b99db7dc2e8b25e869168d2065231211f370a2fc496c"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: CONTRIBUTING.md links to \u0060WORKFLOW.md\u0060, but \u0060WORKFLOW.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CONTRIBUTING.md"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe09df08deb1303dbbfb3a87897a46c166913935825a84c8d72a962d801d8cb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: components/README.md links to \u0060./input/textarea/README.md\u0060, but \u0060components/input/textarea/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/README.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8140c2646c3bf0a093d1264b59430b2fc6dc794b13a0a2c486a80c55cd3ba7bd"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: components/README.md links to \u0060./input/textarea/CURSOR_CONTROL_API.md\u0060, but \u0060components/input/textarea/CURSOR_CONTROL_API.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/README.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46907867beeeb4a85ccbda806093aba1a322e2fca04b9cd113f36c7dda7668c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: components/README.md links to \u0060./table/api/\u0060, but \u0060components/table/api\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/README.md"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f6bbe1517a76836fc209dce3443702ac81bd952596a303049b9127a069a285"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/migration-from-charm.md\u0060, but \u0060docs/user/guides/migration-from-charm.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f2fb0d1d7cbb328a22096c843052fee3cca15819460dd98dfddfc3e34ffe8a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../../api/\u0060, but \u0060docs/api\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d09d062757c9737e2313a07c1182c0f19c98e54d836502612dbe27e8ed9510b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../../components/\u0060, but \u0060docs/components\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50414f0bf1eee0b445c8badaf7339d949dd217f41b3aa1c4fc2a4c32eb49596"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/\u0060, but \u0060docs/user/guides\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c34e3f1b17c0905cfd68f16a77e90a02858a75336d1cd1b2098416eb0fe921c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/performance.md\u0060, but \u0060docs/user/guides/performance.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0da1f79ac884fd00c80082886cf3cf4cc872b92d339463171b66ebd50b5d2f2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/testing.md\u0060, but \u0060docs/user/guides/testing.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b9ccff2f9940f1a628e43a19a65b332dc90b6d44607dfd5b89a72f3ae378f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/deployment.md\u0060, but \u0060docs/user/guides/deployment.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"964f422c902080ad2196dabc5958625e4fe861bd3c0715967fc2acd16268e58d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/custom-components.md\u0060, but \u0060docs/user/guides/custom-components.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2681de493b6b2ca2a50570afe6a3966db8a54ae3561f97fed3b3e548a92fbf6"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/styling.md\u0060, but \u0060docs/user/guides/styling.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5081432612c19c4ee8b5afd6fcfff768b4f9d99bb1f8d417f8afa1fee378b81"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/user/tutorials/README.md links to \u0060../guides/comparison.md\u0060, but \u0060docs/user/guides/comparison.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/user/tutorials/README.md"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cb542dd395d7650f2b3dc02c2acfd668a042f67fb13e4e9f2604d43117f2d9"}},{"ruleId":"P1","level":"warning","message":{"text":"CI formatting step cannot fail: \u0060echo \u0022Run \u0027gofmt -w .\u0027 to fix formatting issues.\u0022\u0060 invokes gofmt in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner\u0027s throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one \u2014 it enforces nothing, and no other step in this file reads the result. \u0060-l\u0060 is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/test.yml"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d757e53d034b82b200cdb083abac9aeceb7480dbdd5784e7452d4b3dca7a37e"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.horizontal == other.horizontal \u0026\u0026 a.vertical == other.vertical\u0060 appears character-identically in 2 files \u2014 layout/internal/domain/value/alignment.go, style/internal/domain/value/alignment.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":"layout/internal/domain/value/alignment.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f3f0cae182715bd7084a69ff33698780a60af184ee2e1d4e39e0b8fa23df0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.r == other.r \u0026\u0026 c.g == other.g \u0026\u0026 c.b == other.b\u0060 appears character-identically in 2 files \u2014 render/internal/domain/value/color.go, style/internal/domain/value/color.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":"render/internal/domain/value/color.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c7bdab1b7972bc8feeffaf2bb0785bc4d9a49f715b750cda4db13df96511a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(description) \u003E 0 \u0026\u0026 description[0] != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 components/multiselect/multiselect.go, components/select/select.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":"components/multiselect/multiselect.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6560821d3d4c789aa0655d33893c67c9d077bca0786cca8b3800fac5d61aca5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newCol \u003E 0 \u0026\u0026 !isWordBoundary(line[newCol-1])\u0060 appears character-identically in 2 files \u2014 components/input/internal/textarea/domain/service/editing.go, components/input/internal/textarea/domain/service/navigation.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":"components/input/internal/textarea/domain/service/editing.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"def97bd1820d9e8a65324f6dc3c14decf0065976cd36f0f179193db53c55c727"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newCol \u003E 0 \u0026\u0026 isWordBoundary(line[newCol])\u0060 appears character-identically in 2 files \u2014 components/input/internal/textarea/domain/service/editing.go, components/input/internal/textarea/domain/service/navigation.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":"components/input/internal/textarea/domain/service/editing.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9871d56c179d98f16ba1a87046706ca455b65aaa0f801aa95e4e4c02669d0ea6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.Row == other.Row \u0026\u0026 p.Col == other.Col\u0060 appears character-identically in 2 files \u2014 components/input/internal/textarea/domain/model/cursor_position.go, core/internal/domain/value/position.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":"components/input/internal/textarea/domain/model/cursor_position.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bba64d99d52e45af38423752899da6c76f66a17471f79e683402a34137d1f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tea/internal/infrastructure/input/cancelable_reader.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"899685913559d235001f9c84479a2fe5eb0dc7cf732c897ce6f2056edc7e42ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/clipboard.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54b045d4bfeda7cbbb50bd4d7328499f93160ce6fe31eb9781183e3fd19a902"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/clipboard.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b937eee57caa2b3ff4ff4bf078fbf3c2f314b6a8c620e316a53647ec3f11a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/infrastructure/platform/detector.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"318baed5ead856cf76a6e4f105e595fdc732dbb1a7b32d6d5afe512918902dc0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/infrastructure/osc52/osc52_provider.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9744984f3707ff3e7707db846eef7fef042f6d86cbde3fb8e844ff1704daff76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/infrastructure/native/clipboard_darwin.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac062c62b8dfdb3c6e9750ffe74a5997bb19e73f82f1a1d6cb7e4fd3f322953a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clipboard/internal/infrastructure/native/clipboard_darwin.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba807de6019220523ca761359940c3f0cf83da8851d2c3216ea712e1a4ce406"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetProviderName\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022none\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":"clipboard/clipboard.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc8e5e220d3caa9a6959b74958b049001b1c27bac326c0c1e3d1b4c4242f348"}}],"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-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-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"NULL Pointer Dereference","shortDescription":{"text":"NULL Pointer Dereference"},"helpUri":"https://cwe.mitre.org/data/definitions/476.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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"}]}],"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":41,"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."]}]}